Create a GitLab access token for a Pipeline Scan
You can create a GitLab access token and set it as an environment variable to enable a Pipeline Scan to generate GitLab issues from discovered flaws.
You must complete this task before you can use the --gl_issue_generation
parameter.
To complete this task:
- Select Edit Profile > Access Tokens > Create personal access token.
- Ensure that the token has a scope of
api
. See the GitLab documentation. - Select Settings > CI/CD > Variables and store the token you created as an environment variable named
PRIVATE_TOKEN
.