GitLab
Prepare for SCM Integration Setup
Within Threat Center, navigate to Admin-> Settings->Integrations->SCM Integrations.
Take note of your Redirect URL as you'll need it in the next step.
Create Instance or Group GitLab OAuth Application
Login to GitLab with a user that has permission to create an application
Login to GitLab with a user that has permission to create an application
This should be a service account.
Navigate to the group for which you wish to add the application
On the left menu, select Select Settings -> Applications
Click "Add new application"
Enter Name "Threatrix"
Enter the
Redirect URIfrom the Threatrix dashboard
Select the following permissons:
api (Access the authenticated user's API)
read_user (Read the authenticated user's personal information)
read_repository (Allows read-only access to the repository)
write_repository (Allows read-write access to the repository)
Click "Save application"
Copy your application ID and Secret as you'll need them for the next step.
Complete SCM Integration
In Threat Center, SCM Integration, complete the following fields
Name: Use a unique name that employees will recognize, like your team, group or division. If necessary, add the SCM type if there are more than one in the same group.
Provider Type: Select GITLAB from the
Base URL: This is the URL of your SCM server
Token URL: The Token URL of your server
Authorization URL: The authorization URL of your server
Client ID / Application ID: This is the Application ID or Client ID provided to you when you created your application in your SCM
Client Secret / Secret: This is the secret provided to you when you created your application in your SCM.
Last updated