Integrate with GitLab Self-Managed

Overview

Integrating Bridgecrew with GitLab Self-Managed makes it possible for Bridgecrew to scan your Infrastructure-as-code files (Terraform and CloudFormation) and monitor configuration issues in development.

📘

For details on integrating Bridgecrew with GitLab.com, see Integrate with GitLab.

Getting Ready

IP-based Network Access
If your organization requires IP-based access to its network, add all three IP addresses below to your ingress access configuration.

Bridgecrew performs load balancing across these addresses.
52.35.163.8
44.231.203.74
44.231.142.62

How to Integrate

Part 1 - In Bridgecrew

  1. From Integrations Catalogue, under Code Integrations, select GitLab Self-Managed .
  1. Enter your GitLab Self-Managed domain, for example, gitlab.my_company.com, then select Register. A new tab opens for registering a new OAUTH app in GitLab Self-Managed.
  1. Copy Application Name and Redirect URI from the Register OAUTH app step.

Part 2 - In GitLab Self-Managed

  1. Paste the copied values for Name and Redirect URI from the previous step in Bridgecrew.
  1. Check API.
  2. Select Save Application. An Application Summary page opens in GitLab Self-Managed.

📘

Note

The Confidential setting shown in the image above, is checked by default in GitLab Self-Managed, however, it is not required for Bridgecrew Cloud.

  1. Copy the Application ID and Secret values.

Part 3 - In Bridgecrew

  1. Paste the copied values in the Application ID and Secret fields, then select Authorize.

Part 4 - In GitLab Self-Managed.

Select Authorize.
You are then redirected back to Bridgecrew on the same tab.

Part 5 - In Bridgecrew

  1. Select the relevant repositories and select Next.
  1. When the message "New account successfully configured" appears, select Done.
    Note: after the next GitLab Self-Managed scan, the scanned repository will appear in the Integrations grid; for further details, see here.

Did this page help you?