GitLab for Snyk Essentials
The Integrations page shows all active integrations, including data from your existing Snyk Organizations that is automatically synced and provides access to the Integration Hub.
GitLab setup guide
Pulled entities
Users
Repositories
Integrate using Snyk Essentials
Profile name (
mandatory
): Input your integration profile name.Access Token (
mandatory
):API Token (
mandatory
): Create your GitLab PAT from your GitLab organization. Follow the instructions in Generate a Personal access token from your GitLab settings section. Authorize your personal access token if you have configured SAML SSO.Host URL (
mandatory
): The IP/URL of the GitLab server. The default URL ishttps://gitlab.com
Broker Token (
mandatory
): Create and add your Broker token if you use Snyk Broker.Generate your Broker token by following the instructions from the Obtain your Broker token for Snyk Broker page.
Copy and paste the Broker token on the integration setup menu from the Integration Hub.
Pull personal repositories (
optional
): Enable the option If you only want to pull the repositories you own.Add Backstage Catalog (
optional
): If you want to add your Backstage catalog, follow the instructions from the Backstage file for SCM Integrations page.
Generate a Personal access token from your GitLab settings
Navigate to your GitLab profile.
Select Edit Profile.
On the left sidebar, select Access Token.
Select Add New Token.
Enter a name and expiry date for the token.
Ensure to enable this permission:
read_api
- Grants read access to the API, including all groups and projects, the container registry, and the package registry.read_repository
- Grants read-only access to repositories on private projects using Git-over-HTTP or the Repository Files API.
Click the Create personal access token button.
Copy and store the displayed key.
API version
You can use the GitLab REST API v4 repository to access information about the API.
Last updated
Was this helpful?