GitLab Credentials
In order to integrate with GitLab to for Phoenix SCA scanning you’ll need a Personal Access Token. The follow steps guide you through the token creation process.
- To create a Personal Access Token, make sure that you are logged in with the user that you want to create the token with (e.g. “john-doe” in the screenshot below). Once you have confirmed this, click “Edit profile”.

- Select “Access tokens” in the left-hand menu, then “Add new token” on the right-hand side.

- Fill in the details presented to create a new token. The two key points to keep in mind are:
- Make sure that you enter a fairly long, custom-defined Expiration date. You can set no expiration by clicking learn more and following the instructions.
- In the Scopes section, select “read_api”.

Make sure that you copy the token in the last step since this is the last time that it will be visible.

Create a Phoenix SCA for GitLab Integration
- On the sidebar menu, navigate to the Scanners tab in the Integrations section.


- In the first step, enter a name for this scanner integration and populate the following details to complete the configuration:
- Server URL: Enter the URL for GitLab’s REST API; typically “https://gitlab.com”.
- Access Token: Enter the Personal Access Token obtained using the instructions at the start of this article.

- Click on the ‘Next’ button
- Select whether to fetch vulnerabilities from all repositories accessible to the Access Token, or to choose which ones to include or exclude.

- Then click on “Create scanner” to complete the process.
Unless there are issues with the credentials, the new scanner will appear in your list of integrations (under Integrations > Scanners) and the platform will start to collect asset and vulnerability details from the selected repositories (available through the integration credentials).
All the scanner’s assets and vulnerabilities will be automatically added to your account’s Default Application, and will be available to start assigning them to user-created Applications as required.