Configure GitHub for the Next Generation API Data Protection
To configure GitHub for the Next Generation API Data Protection, follow the instructions below.
Prerequisite
Before configuring GitHub for the Next Generation API Data Protection, review the prerequisites.
You require a GitHub Enterprise Cloud edition.
A GitHub account who is the owner of your GitHub organization.
Install the Netskope CASB API App in GitHub
To install the Netskope CASB API app in the GitHub organization, follow the steps below:
Log in to www.github.com using your GitHub organization account.
Install the Netskope CASB API app from the following URL: https://github.com/apps/netskope-casb-api.
Click Install.
Figure 12. Install the Netskope CASB API App in GitHubSelect the organization name > All repositories and click Install.
Figure 13. Select GitHub Organization WindowFigure 14. Select All Repositories WindowNote
Keep the installation options unchanged.
Once installed, you should see a successful message at the top of the page. Proceed to configure the GitHub instance in Netskope UI.
Configure GitHub Instance in Netskope UI
To authorize Netskope to access your GitHub instance, follow the steps below:
Log in to the Netskope tenant UI: https://<tenant hostname>.goskope.com and go to Settings > API-enabled Protection > SaaS > Next Gen.
Under Apps, select GitHub and click Setup GitHub Instance.
The Setup Instance window opens.
Enter the GitHub organization name.
Note
The organization name should be the same as the one you installed the Netskope CASB API app on. It is case-sensitive.
Click Grant Access. You will be prompted to log in with your admin username and password, and then click Sign In. When the configuration results page opens, click Close.
Refresh your browser, and you should see a green check icon next to the instance name.
In the current release, you can receive audit events and standard user behavior analytic alerts in Skope IT. To know more: Next Generation API Data Protection Skope IT Events.
Uninstall the Netskope CASB API App in GitHub
If you discontinue the integration between GitHub and Next Generation API Data Protection, first, you have to delete the GitHub instance from the Netskope tenant UI. Then, uninstall the Netskope CASB API app from GitHub.
Note
You can skip this procedure if you continue to use GitHub for the Next Generation API Data Protection.
You can uninstall the Netskope CASB API app. To uninstall the app, follow the steps below:
Log in to www.github.com using your GitHub administration username.
On the top-right, click Settings.
Figure 15. GitHub Settings WindowOn the left navigation, click Organizations.
Identify the organization where you have installed the GitHub app and click Settings.
On the left navigation, click GitHub Apps.
Identify the GitHub app and click Configure.
Scroll down to the Uninstall <app name> section and click Uninstall.
Figure 16. Netskope CASB API App Uninstall Window
Once you uninstall the app, Netskope stops receiving any notifications from GitHub.