Set up the GitLab connector
The Veracode Risk Manager (VRM) connector for GitLab lets VRM deliver the most impactful best next actions by ingesting security findings from GitLab's Static Application Security Testing (SAST) and Container Scanning features. It also performs origin analysis of code repositories for Container Scanning, so you can quickly triage issues in your code.
Complete the following tasks to set up your VRM connector for GitLab.
Create a personal access token
You must create a GitLab personal access token that has the read_api
scope to grant VRM access to your groups, projects, container registry, and package registry.
To complete this task:
- In GitLab, select your profile avatar.
- Select Preferences.
- Select Access Tokens from the left sidebar.
- Select Add new token.
- Enter a token name and select an expiration date.
- Select read_api.
- Select Create personal access token.
- Copy the token and save it to a secure location.
Create a VRM connector
- In VRM, from the left navigation menu, select the Settings icon
.
- Select Add Connector.
- Select the GitHub tile.
- Enter a name for the connector.
- Paste the access token you generated in GitLab.
- Select Add Connector.