Home / Help centre / Integrations & API
Integrations & API
Where do I store the Cyberlop URL and API token in my CI's settings?
For the pipeline tab, open Settings → CI/CD → Variables in your repository and add CYBERLOP_URL and CYBERLOP_API_TOKEN as masked variables. The generated job reads both by name. Masking keeps the token out of the job log.
Steps
- Open your repository in your code host and go to Settings.
- Choose CI/CD, then Variables.
- Create a variable with the key
CYBERLOP_URL. The value is the base URL of your Cyberlop app. - Next, create a variable with the key
CYBERLOP_API_TOKENand paste your personal API token as the value, exactly as the admin gave it to you. - Mark both as masked variables, then save.
Good to know
The comment at the foot of the generated pipeline tells you the same thing: set both as masked CI/CD variables in Settings → CI/CD → Variables. This applies to the second tab on the Integrations page, the one for a CI/CD pipeline.
The profile ID is different. It sits in the YAML as PROFILE_ID, because an ID is not a secret and your team may want to see what the job scans.
| Variable | Value | Masked |
|---|---|---|
CYBERLOP_URL | Base URL of your Cyberlop app | Yes |
CYBERLOP_API_TOKEN | Your personal API token | Yes |
Masking hides a value from the job log, but it does not protect a token that you paste into the YAML file itself. Keep it in the variable. If you think a token has leaked, ask an admin to regenerate it, then update the variable. See what to do about a lost API token.
Workflow users on the first tab store the same two values as repository secrets. That page is which secrets to add to your repository.
Related questions
- Which secrets do I need to add to my repository for CI scans?
- How do I get a personal API token?
- I lost my API token. Can I see it again?
- How do I copy the ready-made CI workflow for my code host?
- My CI job can't trigger a scan. What should I check?
How to add security scanning to your CI/CD pipeline
Step-by-step, with annotated screenshots.
Updated · Back to the help centre
Wiring it into your pipeline?
Share what you are building and we will help you set up the right token, profile and job.