Integrate Cortex Cloud Application Security with your GitHub Enterprise (On-Prem) version control system (VCS) to enable security scans for exposed secrets, infrastructure-as-code (IaC) misconfigurations, vulnerabilities, package operational risks, and license compliance issues in your repositories. This integration allows you to analyze, prioritize, and resolve detected issues efficiently.
Architecture and connectivity
While never strictly required, deploying a Transporter over a Broker VM is recommended for isolated environments where the Cortex Cloud platform has no direct way to reach your internal enterprise resources. In these scenarios, the Transporter solves the connectivity problem by:
Living inside your network as an applet on the Broker VM
Initiating an outbound WebSocket connection to the cloud, meaning no inbound firewall rules or direct IP access are needed
Proxying requests from the cloud to internal resources, allowing Cortex Cloud to perform secure code scanning without exposing your internal network to the public cloud
For more information on Transporter, refer to Transporter over Broker VM.
If your GitHub Enterprise instance is already internet-accessible or managed via existing connectivity solutions (such as a VPN or network peering), the Transporter is not needed.
How to integrate GitHub Enterprise (On-Prem)
Prerequisite
Before you begin:
GitHub permissions: You must have Organization Owner permissions to install the Cortex application. Users with only repository-level admin permissions cannot complete the installation unless the organization explicitly allows non-owners to install GitHub Apps (in this instance the Cortex application)
Scope: The Cortex application requires the following authorization scopes:
Onboarding port: Port
443is required for all on-premise onboarding for outbound HTTPS communication to Cortex Cloud. If the Transporter is used, it specifically uses port443for its WSS tunnel
Onboarding steps
In the Cortex Cloud tenant.
Search for GitHub Enterprise (On-Prem), hover over it, and click Add, or Add Another Instance if an instance is already onboarded.
Enter your domain in the Configure Domain step of the wizard.
Note
The domain is the hostname associated with your GitHub Enterprise (On-Prem) instance.
Optional: Connect a Transporter: Select your Broker VM and associated Transporter applet from the provided menus.
Note
For more information about the Transporter, including setup instructions, refer to Transporter over Broker VM.
Click .
You are redirected to your GitHub Enterprise (On-Prem) instance to register Cortex AppSec as an OAuth application. Additionally, the Register OAUTH App step of the integration wizard is displayed.
Copy the Application Name, Homepage URL and Authorization Callback URL values from their respective fields.
On the Register a new OAuth application screen of the GitHub Enterprise (On-Prem) console:
Paste the values copied in step 1d above in their respective fields.
Click .
Once created, copy and save the the Client ID and Client Secret values for the new Cortex AppSec application.
Click to complete the setup.
On the Cortex Cloud console.
Select Next on the the Register OAUTH App step of the integration wizard.
The Set Client ID and Secret step of the wizard is displayed.
Paste the Client ID and Client Secret values copied in step 2c above, and click .
Under Selection Options of the Select Repositories step of the wizard, choose the repositories to be connected to the instance:
Permit all existing repositories
Permit all existing and future repositories
Choose from repository list and select repositories from the list
Click .
Click Close on the final step of the wizard.
Note
Ensure that you receive the Instance Successfully Created message on this step, indicating successful instance creation.
Verify integration:
On the Data Sources & Integrations page, search for GitHub Enterprise (On-Prem).
Hover over and select the resulting entry.
Locate your instance and verify that the status of your GitHub Enterprise (On-Prem) instance is Connected.
View repository assets and mitigate detected issues.
Subscribed events
The following list describes events that Cortex Cloud Application Security monitors on your GitHub Enterprise (On-Prem), covering actions and changes that trigger notifications and integrations.
Repository events: All events related to repositories
Organization events: Includes ['
organization','membership', 'team'] events
Manage data source integrations
Manage integrations to align with evolving requirements and ensure they remain current.
Navigate to → and use the Vendor filter to located the required integration.
Select your vendor from the list.
The integrated instances for the selected vendor are displayed.
Right-click on an instance and select an option:
: Redirects to the Select Repositories step of the integration wizard, where you can modify configurations for the selected instance. For more details, refer to the relevant integration guide
: When confirmed, deletes the instance, including data from previous scans
Copy entire row – Copies all column values for the selected row to the clipboard.