Create a GitLab Access Token for a Pipeline Scan

Pipeline Scan

Publication
Pipeline Scan
Edition date
2023-01-23
Last publication
2023-01-23T19:15:23.437089

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:

  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.