Configure GitHub Instance for SaaS Security Posture Management

Configure GitHub Instance for SaaS Security Posture Management

Note

To integrate GitHub with SaaS Security Posture Management (SSPM), customer should have a GitHub enterprise cloud license.

Any non-enterprise licensed GitHub instances that are already integrated with SaaS Security Posture Management will stop receiving repository updates. Customers should upgrade their license and then re-grant the GitHub instance.

The installation instruction describes how to integrate your GitHub account with Netskope. To configure GitHub for SaaS Security Posture Management, you need to authorize Netskope as a web application client to access your GitHub account. To configure GitHub for SaaS Security Posture Management, there are two parts to this procedure:

  • Install the Classic CASB API for GitHub app in the GitHub organization account
  • Configure GitHub instance in the Netskope UI

Important

If you have already configured GitHub for API Data Protection, you need not install the GitHub app yet again. You can edit the existing GitHub instance under Settings > Configure App Access > Classic > SaaS and enable the Security Posture checkbox and re-grant the app instance.

Install Classic CASB API for GitHub App in GitHub

To install the Classic CASB API for GitHub app in the GitHub organization:

– Ensure that you are logged in to your GitHub organization account before accessing the github URLs.
– If you are not sure of the management plane location of your tenant, contact your sales representative or Netskope support.
  1. Log in to www.github.com using your GitHub organization account.
  2. Based on the location of your Netskope tenant, install the Classic CASB API for GitHub app from the following URLs:
  3. Click Install.
  4. Select the organization name > All repositories and click Install.

    Note

    Keep the installation options unchanged.

Once installed, you should see a successful message. Proceed to configure the GitHub instance in Netskope UI.

Note

Once you install the app, Netskope seeks consent for a set of permissions from your GitHub account. To know more about the permissions, see Permissions Required for GitHub.

Configure GitHub Instance in the Netskope UI

To authorize Netskope to access your GitHub instance:

  1. Log in to the Netskope tenant UI and go to Settings > Configure App Access > Classic > SaaS.
  2. Select the GitHub icon, and then click Setup Instance.
  3. The Setup Instance window opens. Enter the following details:
    • Instance Name: Enter the name of the GitHub organization.

      Note

      The instance name must be same as the GitHub organization name. It is case-sensitive.

      Instance Type: Select the Security Posture checkbox. Select this option to allow Netskope to continuously scan through your SaaS app to identify and remediate risky SaaS app misconfigurations and align security posture with best practices and compliance standards.

      Also, you have the option to run the policy at intervals (15 minutes, 30 minutes, 45 minutes, and 60 minutes).

      Admin Username: Enter the GitHub username of the administrator.

      Note

      The username must be same as the GitHub username of the administrator that you used to install the Classic CASB API for GitHub app. It is case-sensitive.

      Admin Email: Enter the email address associated with the GitHub username.
  4. Click Save, then click Grant Access for the app instance you just created. You will be prompted to log in with your admin username and password, and then click Grant Access. When the configuration results page opens, click Close.

Refresh your browser, and you should see a green check icon next to the instance name.

Next, you should configure a security posture policy. To do so, see SaaS Security Posture Management Policy Wizard.

Share this Doc

Configure GitHub Instance for SaaS Security Posture Management

Or copy link

In this topic ...