Integrate with GitHub Server

Overview

Integrating Bridgecrew with Github Server 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 Github.com, see here.

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.

Built-in Firewall
If you've set custom rules to use Github Enterprise's built-in firewall (see more here), you must whitelist the IP addresses below.

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 GitHub Server .
  1. Enter your GitHub Server domain, for example, github.my_company.com, then select Register. A new tab opens for registering a new OAUTH app on GitHub Server.
  1. Copy Application Name, Homepage URL and Authorization Callback URL from the Register OAUTH app step.

Part 2 - In GitHub Server

  1. Paste the copied values for Application Name, Homepage URL and Authorization Callback URL from the Register OAUTH app step and select Register Application.
    The details of the new OAUTH app appear and Bridgecrew opens in a new tab.

Parameter

Details

Application Name

For example, Bridgecrew

Homepage URL

https://www.bridgecrew.cloud

Authorization Callback URL

https://www.bridgecrew.cloud/api/v1/integrations/githubEnterprise

  1. . Copy the Client ID and Client Secret values.

Part 3 - In Bridgecrew

Paste copied values for Client ID and Client Secret (from GitHub Server, as shown above) and select Authorize.
Within the same tab, you are redirected back to GitHub Server.

Part 4 - In GitHub Server

Select Authorize Bridgecrew
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 GitHub Server scan, the scanned repository will appear in the Integrations grid; for further details, see here.

Did this page help you?