Set the CircleCI environment variable
You can set an environment variable for each repository you want to scan.
To complete this task:
-
Select the repository where you want to scan your CircleCI environment.
-
Go to Project Settings > Environment Variables.
-
Click Add Variable.
-
For Name, enter
SRCCLR_API_TOKEN
. -
For Value, enter your agent token value.
-
Verify the Display value in build log is set to OFF to ensure your token is hidden.
-
Click Add Variable.