Integrate Skyhigh CASB with OAuth App for GitHub
Limited Availability: GitHub integration is a Limited Availability feature. To enable API access for your GitHub instance, contact Skyhigh Support. |
Prerequisites
Before you enable API for Github, the following prerequisites are required:
- Enable the feature by reaching out to your Sales Representative to get the tenant ID administrator login credentials.
- Get the admin credentials for Github hosted on the cloud.
- Get a list of Github organizations to be monitored.
- Make sure that the admin has the owner role in the organizations to be monitored.
- If GitHub is enabled with IP address restriction, you must whitelist the Skyhigh IP addresses to receive GitHub events. To whitelist the Skyhigh IP addresses, contact Skyhigh Support.
Integrate Skyhigh CASB with GitHub
Follow the below steps to integrate Skyhigh CASB with GitHub:
- ► Create GitHub instance in Skyhigh CASB
-
- Log in to Skyhigh CASB.
- Go to Settings > Service Management.
- Click Add Service Instance.
- Select GitHub For Business, and enter a unique name for the instance.
- Click Done.
- ► Enable GitHub API access in Skyhigh CASB
-
- In Skyhigh CASB, go to Settings > Service Management.
- Select the newly created GitHub instance from the list of Services.
- Go to the Setup tab, and then click Enable.
- On the Provide API Credentials page, click Provide API Credentials.
- On the Provide API Credentials page, enter your Github credentials in the email and password fields, and then click Submit.
- ► Authorize the GitHub instance
-
- After entering your GitHub credentials, you are redirected to Authorize Skyhigh CASB For Github page. The following permissions are required for Github:
- Organization webhooks. Required Read and Write permission.
- Organization and teams. Required Read-Only permission.
- Repositories. MVISION Github requires Read permission only. But Github doesn't provide any granular level permission for Read-Only, so it is set to Read and Write. For more details, refer to Github documentation and see Scopes for OAuth Apps.
- Click Authorize instance.
Once these permissions are authorized, Skyhigh CASB receives Github events.
- After entering your GitHub credentials, you are redirected to Authorize Skyhigh CASB For Github page. The following permissions are required for Github:
- ► Validate Skyhigh CASB Authorization in Github
-
- Log in to the Github console.
- Under Authorized OAuth Apps, you can view the Github enabled for Skyhigh CASB application.
- Click Skyhigh CASB For Github to view the permissions and Organization access.
Add GitHub Organizations
To add GitHub organizations for monitoring, perform the following:
- Disable API access for GitHub in Skyhigh CASB.
- Go to GitHub user Settings > Applications > Authorized OAuth application and revoke the Skyhigh CASB application.
- Enable API access and grant permissions for additional organizations.