Skip to main content

Google Drive

google

Version: 1.1
Updated: Mar 5, 2025

Google Drive is Google's cloud-based storage and file-sharing service, enabling users to store, sync, and collaborate on files from any device.

Actions

  • Create Permission (Containment) - Creates a permission for a file or shared drive.
  • Delete Permission (Containment) - Deletes a permission.
  • Get File (Enrichment) - Gets a file's metadata or content by ID.
  • List Files (Enrichment) - Lists the user's files.
  • List Permissions (Enrichment) - Lists a file's or shared drive's permissions.

Google Drive configuration

To create service account credentials in Google Workspace and generate the JSON file needed to configure the Google Drive integration, follow these steps:

  1. Log in to the Google Cloud portal.
  2. Select a Google Cloud project (or create a new one).
  3. Go to the API&Services > Credentials page.
  4. Click CREATE CREDENTIALS and select Service Account.
    google-drive
  5. Enter a Service account name to display in the Google Cloud console. The Google Cloud console generates a service account ID based on this name.
  6. Optional: Enter a description of the service account.
  7. Skip two optional grant permissions steps and click Done to complete the service account creation.
    google-drive
  8. Click on the generated service account to open the details.
    google-drive
  9. Under the KEYS tab, Click ADD KEY and choose Create new key.
    google-drive
  10. Click on CREATE (make sure JSON is selected).
    google-drive
  11. The JSON file is downloaded. Make sure you save it in a safe place
  12. Enable the Admin SDK API for the project at https://console.cloud.google.com/flows/enableapi?apiid=admin.googleapis.com.
  13. Go to https://admin.google.com/ac/owl/domainwidedelegation to open the Domain-Wide delegation settings in the Google Admin portal
  14. Click on Add new.
    google-drive
  15. In the Client ID field, provide the client ID from the JSON file.
    google-drive
    google-drive
  16. In the OAuth scopes (comma-delimited) field, provide the following scopes: 'https://www.googleapis.com/auth/drive'
  17. Click Authorize.
    google-drive

Configure Google Drive in Automation Service and Cloud SOAR

Before you can use the integration, you must configure it so that the vendor can communicate with Sumo Logic. For general guidance, see Configure Authentication for Integrations.

  1. Access App Central and install the integration.
  2. Select the installed integration in the Integrations page.
    Classic UI. In the main Sumo Logic menu, select Automation and then select Integrations in the left nav bar.
    New UI. In the main Sumo Logic menu, select Automation > Integrations. You can also click the Go To... menu at the top of the screen and select Integrations.
  3. Select the integration.
  4. Hover over the resource name and click the Edit button that appears.
    Edit a resource
  5. In the Add Resource dialog, enter the authentication needed by the resource. When done, click TEST to test the configuration, and click SAVE to save the configuration.
  • Label. The desired name for the resource.
  • User Service Account JSON. Provide the content of the JSON file generated in the previous steps. Open the file and copy-paste the whole content in the field.
  • Admin User Email. The e-mail address of an admin user.

For information about Google Drive, see Google Drive API documentation.

Change Log

  • October 13, 2023 (v1.0) - First upload
  • March 05, 2025 (v1.1) - Updated List Permissions and Delete Permission actions.
Status
Legal
Privacy Statement
Terms of Use

Copyright © 2025 by Sumo Logic, Inc.