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.  

Prerequisites

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.
    clipboard_eeb6c438fbcfa72b4999cc3da2b4fe768.png
  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.
      clipboard_ea669180d05efbdd28f740ddea6daee12.png
  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.
    clipboard_eb7cf8f5c7555fa4785a4d6d6c8932b91.png
  3. Click McAfee Enterprise MVISION Cloud For Github to view the permissions and Organization access.
    clipboard_e0d10f9957da220f71863c0e75cc0360c.png

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?