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

  1. Login to GitLab with a user that has permission to create an application

    1. This should be a service account.

  2. Navigate to the group for which you wish to add the application

  3. On the left menu, select Select Settings -> Applications

  4. Click "Add new application"

  5. Enter Name "Threatrix"

  6. Enter the Redirect URIfrom the Threatrix dashboard

  7. 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)

  8. 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