Netskope Help

Configure GitHub Instance for Security Posture

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

  • Install the Introspection 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 > API-enabled Protection > SaaS and enable the Security Posture checkbox and re-grant the app instance.

Install Introspection for GitHub App in GitHub

To install the Introspection for GitHub app in the GitHub organization:

  1. Log in to www.github.com using your GitHub organization account.

  2. Based on the location of your Netskope tenant, install the Introspection for GitHub app from the following URLs:

    Note

    Ensure that you are logged in to your GitHub organization account before accessing the following URLs.

    Note

    If you are not sure of the management plane location of your tenant, contact your sales representative or Netskope support.

  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: https://<tenant hostname>.goskope.com and go to Settings > API-enabled Protection > 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 Introspection 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 Security Posture Policy Wizard.