GitHub org integration
Complete the following steps to integrate Identity Security Posture Management (ISPM) with your GitHub orgs:
Before you begin
-
Do the steps in this topic only if the orgs selected for integration aren't part of an enterprise.
-
Ensure that you use an account that has the Organization owner role for all orgs that you want to integrate with ISPM. This is necessary for ISPM to monitor and detect issues for your orgs.
Check your GitHub org
Confirm that the GitHub orgs you want to integrate aren't a part of an enterprise:
-
Navigate to the org's GitHub page.
-
Click your profile icon to open the menu.
-
Click Your organizations, and then click to select an org.
-
If the enterprise name doesn't appear after the org's name, this org is not a part of an enterprise.
-
If the org belongs to an enterprise, the enterprise name appears after the org's name.
This method of identifying enterprise associations only applies to orgs you are a member of. It doesn't show enterprise memberships for orgs you don't have access to.
-
-
If the orgs you'd like to integrate with aren't part of an enterprise, follow the steps listed in this topic. If the orgs you'd like to integrate with are a part of an enterprise, follow the steps listed in the GitHub enterprise integration topic instead.
-
Repeat steps 1 - 4 for each org you want to integrate with ISPM.
Install Spera Security
You must be an Organization owner for the org to complete this task.
-
Go to the Spera Security app page.
-
Click Install or Configure.
-
Select the org where you want to install the app.
-
Select All repositories and click Install & Authorize. You're prompted to approve multiple read-only permissions.
You're also prompted to approve one read & write permission to the org's members. ISPM uses the read & write permission to read the SSO access to GitHub information, which isn't readable with the read-only permissions.
-
Repeat steps 1 - 4 for each org you want to integrate with ISPM.
Create a personal access token
-
Sign in to GitHub as a user with Organization owner role for the orgs you want to integrate with ISPM.
-
Go to your GitHub dashboard and click your profile icon to open the menu.
-
Go to
. -
Click Generate new token and select Generate new token (classic).
-
Enter a Note for your new personal access token (classic), for example, Identity Security Posture Management Integration.
-
Set the Expiration value to a year from today:
-
Open the Expiration menu and select Custom.
-
Enter or select the expiration date.
-
-
In the Select Scopes section, select the following permissions:
-
Click Generate token.
-
Copy your token and store it securely.
If the account loses access to the selected orgs, the integration stops working.
Share the parameters with ISPM
-
In the Identity Security Posture Management console, go to .
- Select GitHub and click Connect.
-
Ensure that the Enterprise Account setting is toggled OFF.
- Share the org IDs for all selected orgs. You can find the org ID by going to the org that you connected to ISPM and copying the ID from the URL. For example: https://github.com/my-org, where my-org is the org ID.
- Enter the personal access token that you created earlier.
- Click Submit.