Skip to main content
McAfee Enterprise MVISION Cloud

Google Drive API Prerequisites

To integrate with Google Drive, make sure the following prerequisites are in place. 

  • Enterprise or Business G Suite license.
  • Super Admin account in your organization's G Suite. Super Admins have administrator permissions and access to the Admin console and corresponding actions in the Admin API. This is required to integrate Google Drive with MVISION Cloud via API.
  • Data Access permissions. Data Access permissions provide access to specific data. Go to Apps > G Suite > Settings for Drive and Docs in Admin Console. 
    • Offline. Select Allow users to enable offline Docs.
    • Drive. Select Allow users to download, install, and use Google Drive for Mac/PC.
    • Drive SDK. Permissions that allow the admin to update and configure API access. Learn more here.
    • Add-Ons. Select Allow user to install Google Docs add-ons from add-ons store.

clipboard_ede57b78d8808af830d95be9fc677c178.png

  • G Suite Audit access. Use the G Suite Admin Console to pre-configure your account for Audit access. Learn more here.

Authorize MVISION Cloud

To grant MVISION Cloud access to your Google Drive account, perform the following method. 

Authorize Manually

  1. In the G Suite admin console, go to Security > API Controls.
  2. Scroll down and go to Domain-Wide Delegation. Click MANAGE DOMAIN-WIDE DELEGATION.
    clipboard_e66ef27a42bed76c952c7ac1d360eaf18.png
  3. On the Add a new client ID screen, configure these:
    2021-04-10_07-17-06.jpg
  • Client ID. Add the following Client ID based on your environment:
  1. For the MVISION Cloud production environment at https://www.myshn.com:
217918566396-68pp4387k4c64fiqm15c4g525o91q1s1.apps.googleusercontent.com
  1. For the MVISION Cloud EU/Germany/Frankfurt environment at https://www.myshn.eu:
1070394232102-aq7i1v2p5pbj7bc5ereln0k80csk9a9e.apps.googleusercontent.com
  1. For the MVISION Cloud Canada environment at https://www.myshn.ca:
service-account-client-caprod@shn-offlinedlp-caprod.iam.gserviceaccount.com
  1. For the MVISION Cloud GovCloud / FEDRAMP environment:
Please contact {{corp}} Technical Support or your assigned deployment engineer
  • OAuth scopes (comma-delimited). Copy and paste the following 10 API scopes:
https://www.googleapis.com/auth/admin.directory.domain.readonly,
https://www.googleapis.com/auth/admin.directory.group,
https://www.googleapis.com/auth/admin.directory.group.readonly,
https://www.googleapis.com/auth/admin.directory.orgunit,
https://www.googleapis.com/auth/admin.directory.user,
https://www.googleapis.com/auth/admin.directory.user.security,
https://www.googleapis.com/auth/admin.reports.audit.readonly,
https://www.googleapis.com/auth/admin.reports.usage.readonly,
https://www.googleapis.com/auth/drive,
https://www.googleapis.com/auth/drive.file
  1. Click AUTHORISE.

Once MVISION Cloud is configured with Google Drive account, you can view the below screen:
clipboard_e2c3266b38ae52436bacb45212ea18960.png

 

  • Was this article helpful?