Skip to main content
McAfee Enterprise MVISION Cloud

Configure CASB Connect for Github

McAfee Enterprise's MVISION Cloud for Github allows Security Operations Center (SOC) Admins to monitor user activity in Github, enforce DLP policies, and review threats detected by MVISION Cloud UEBA (User and Entity Behavior Analytics) and machine learning algorithms. This topic provides information on how to configure MVISION Cloud for Github.  

For information on activity monitoring, data loss prevention, and threat protection support on MVISION Cloud for Github, see About MVISION Cloud for Github.  


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.

Enable Github API in MVISION Cloud

  1. Log in to MVISION Cloud with your tenant and go to Settings > Service Management.
  2. Click Add Service Instance, select GitHub.
  3. Enter a name for the instance and click Done.
  4. Select the Github instance you created.
  5. Go to the Setup tab and under API, click Enable.
  6. On the Enable API page, click Provide API Credentials.
  7. Enter your Github credentials in the email and password. Click Submit.
  8. You are redirected to Authorize McAfee Enterprise MVISION Cloud 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.
  9. Click Authorize instance.

Once these permissions are authorized, MVISION Cloud receives Github events.

Validate McAfee Enterprise MVISION Cloud Authorization in Github

  1. Log in to the Github console.
  2. Under Authorized OAuth Apps, you can view the Github enabled for McAfee Enterprise MVISION Cloud application.
  3. Click McAfee Enterprise MVISION Cloud For Github to view the permissions and Organization access.

Add GitHub Organizations

To add GitHub organizations for monitoring, perform the following:  

  1. Disable API access for GitHub in MVISION Cloud. 
  2. Go to GitHub user Settings > Applications > Authorized OAuth application and revoke the MVISION Cloud application.  
  3. Enable API access and grant permissions for additional organizations.  
  • Was this article helpful?