Skip to main content
All CollectionsIntegrations
Connect to Github Enterprise
Connect to Github Enterprise
Jane Baik avatar
Written by Jane Baik
Updated over a week ago

Connecting GitHub to Drata allows for automated tests and evidence collection to prove to auditors that your company follows its software development lifecycle procedures.

Prerequisites

  • Configure your network device to add the following IP address to port 443. The configuration is based on your internal network layout. Contact your IT teams to configure to add the following IP address depending on your region. The connection drawer displays the IP addresses you should connect to based on your region.

Enable GitHub Enterprise

  1. Select Connections on the side navigation menu.

  2. Select the Available connections tab, search for GitHub Enterprise, and select Connect.

  3. Follow the instructions on the connection drawer. The following sections go in depth about the instructions on the drawer.

Configure your network device to Drata’s public facing addresses

Configure your network device to add the following IP address to port 443. These IPs represent Drata's public-facing addresses based on your particular region. The connection drawer displays the IP addresses you should connect to based on your region.

  • North America: '54.190.125.76', '35.83.232.49', '35.164.233.77', '44.230.111.50', '3.132.55.182', '3.16.197.217', '3.18.141.25'

  • Europe: '18.196.253.2', '3.73.237.1', '3.64.113.104', '46.51.157.29', '52.50.71.20', '52.211.226.244'

Enter your hostname

After configuring your network device, enter the publicly accessible DNS hostname or IP address for your on-premises github. Ensure that the proper protocol is assigned to your hostname or IP.

Select Create GitHub Application button

After entering your hostname, select Create GitHub Application button to create a github application. Ensure that the application name is Drata. Once the connection is established, you can change the application name.

This application will be used to configure access to your on-premises users, projects, and repositories to Drata to automatically validate evidence. Once the application has been created, you will be redirected back to Drata.

If an error occurs after the application has been created, it is perfectly safe to delete the

the application and recreate it.

Select Install GitHub Application

Select Install GitHub Application button to install the Drata application within your on-premises Organization. You will be redirected to the GitHub organizational installation form. Verify that the GitHub application, Drata, is installed on the desired Organization and enable All repositories.

Verify successful connection

On the Connections page, search for Github Enterprise. If connected, an Active status is displayed on the Github Enterprise card. On that card, you can view more information about the connection or view the accounts attached to the connection.

Did this answer your question?