Create a GitLab Access Token for a Pipeline Scan

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 configure a GitLab access token:

  1. Select Edit Profile > Access Tokens > Create personal access token.
  2. Ensure that the token has a scope of api. See the GitLab documentation.
  3. Select Settings > CI/CD > Variables and store the token you created as an environment variable named PRIVATE_TOKEN.