Skip to main content

Check out Interactive Visual Stories to gain hands-on experience with the SSE product features. Click here.

Skyhigh Security

Create a New GitHub App

Limited Availability: GitHub integration is a Limited Availability feature. To enable API access for your GitHub instance, contact Skyhigh Support.

To integrate Skyhigh CASB with GitHub App, create a new GitHub App in the GitHub portal and install the app in your GitHub accounts. 

Create a New GitHub App

Perform the steps below to create a new GitHub App:

  1. Go to https://github.com.
  2. Log in to your GitHub account.
  3. Click your profile picture, and then select Settings.

    Click Settings.png
     
  4. From the left pane, select Developer settings.

    Select_devsettings.png
     
  5. Click New GitHub App.

    Click newGithubApp.png
     
  6. On the Register new GitHub App page, perform the following actions corresponding to the fields mentioned in the table below:
 ► Click to view the image

 Register new GitHub App_With Numbers.png 

Fields Actions
1. GitHub App name Enter the GitHub App name.
2. Homepage URL This is a placeholder that describes your app. You can enter your organization's URL (for example, https://integrate.skyhigh.com/my-github-app). GitHub doesn't use this URL.
 3. Callback URL

Enter the below URLs according to your environment:

4. Expire user authorization tokens Uncheck the checkbox.
5. Active  Uncheck the checkbox.
6. Permissions
  • Repository permissions. Select the following permissions:
    • Commit statuses. Read-only
    • Contents. Read-only
    • MetaData. Read-only (mandatory)
  • Organization permissions. Select the following permissions:
    • Members. Read-only
    • Projects. Read-only
    • Webhooks. Read and write

      Only Permissions.png

For more information on GitHub App permissions, visit the GitHub portal.

7. Where can this GitHub App be installed? Select Any account.
  1. Click Create GitHub App.
  2. Click Generate a new client secret.

NOTE: Copy the Client ID and the Client secret to use them while enabling API for GitHub in Skyhigh CASB.

Click Generate new client secret.png

Notedown_ClientId and Client Secret.png

Install the GitHub App

Follow the steps below to install the newly created GitHub App: 

  1. Select Install App from the left pane. 

    Click Install App.png
  2. Select an account from your organization's list of GitHub accounts, and click Install.

    SelectMcafee_Install.png
     
  3. In the dialog, select All repositories, and then click Install

NOTE: If you want to restrict your GitHub App to access specific repositories, then select Only select repositories.

 All repositories and install.png

Update the Repository Access

To update the repository access level for the installed GitHub App:

  1. Click GitHub Apps on the left pane.

    Click_GitHubApptoUpdateRepository.png
     
  2. Click Configure corresponding to your GitHub App.

    Last_Step_Configure.png
     
  3. Update the repository access and click Save.

    update repository page.png
  • Was this article helpful?