Overview
To help protect you from data loss, you can use Incydr to monitor files moving to and from users' Google Drive.
When you add Google Drive as a data connection, you must authorize Incydr as a registered client API using your administrator account in Google Workspace (formerly G Suite). Once connected, we monitor your organization's Google Drive environment to capture when a user:
This article explains how to add Google Drive as a data connection.
Considerations
The following considerations apply to Google Drive. See also the considerations applicable to all cloud storage environments.
- Incydr can connect to your Google Drive environment only when supported by your Google product plan.
- To allow Incydr access to Google Drive, you must be a Google Workspace administrator with a Super Admin role. See Permissions required for the Google Drive connector for more information.
- Sharing permissions that files inherit from a parent folder are detected as new events for those files. In Forensic Search, the actor for these events identifies the user who applied those sharing permissions to the parent folder.
- File events do not immediately appear when sharing with Google domains that are not configured with Incydr.
- If the Drive SDK is disabled in Google Drive, Incydr does not monitor file activity on the user's Google Drive account.
- Incydr does inventory the content of suspended users' Google Drives.
- Files owned by suspended users are still accessible by any users those files have been shared with. Incydr monitors files owned by suspended users files for any activity generated by these shared users.
Before you begin
Before you authorize the Incydr connection to your Google Drive environment, follow the directions in Configure Google Drive for the Incydr data connection to properly set up your Google Drive environment to allow Incydr to collect data.
Authorize Incydr's connection to Google Drive
Step 1: Connect Incydr to Google Drive
- Sign in to the Incydr console.
- Add a cloud storage data connection:
- Select Administration > Integrations > Data Connections.
- Click Add data connection.
The Add data connection panel opens. - From Data connection, select Google Drive under Cloud storage.
Note the Client ID and OAuth scopes details that appear near the bottom of the panel. You enter this information into the Google Admin console later in this procedure. - Enter a display name. This display name must be unique.
- Authorize the Incydr app in Google:
- Go to your Google Admin console and log in using your Google Workspace administrator username and password.
- Go to Security > Access and data control > API controls.
- At the bottom of the page in the Domain wide delegation panel, click Manage domain wide delegation.
You may need to scroll to see the Domain wide delegation panel. Do not confuse the Manage domain wide delegation link in this panel with the Manage third-party app access link in the App access control panel. When you click Manage domain wide delegation, the Domain-wide delegation page displays. - On the Domain-wide delegation page, click Add new next to API clients.
- In the Add a new client ID dialog box:
- Copy the Client ID from the Incydr console and paste it in the Client ID field.
- Copy the OAuth scopes from the Incydr console and paste it in the in the OAuth scopes (comma-delimited) field.
- Click Authorize.
The Incydr cloud storage data connection is added to the API clients table.
Step 2: Add users
- Return to the Incydr console.
- In the Add data connection panel, select I've completed these steps under Complete these steps in Google Workspace and then click Continue.
The Add Users panel appears. - Select one of the following options:
- All: Monitors all Google Drive users in your environment, including any drives owned by suspended users.
-
Specific users: Monitors only the Google Drive users you designate.
- Click Upload .CSV file.
- Select a .csv file containing a list of only those Google Drive users you want to monitor.
-
Specific groups: Monitors only the users in Google Drive groups you designate.
- Click Upload .CSV file.
- Select a .csv file containing a list of Google Drive groups whose users you want to monitor.
Step 3: Verify the setup
- In the Add data connection dialog, click Continue.
The Verify panel appears. - Enter the Google Workspace username that you used earlier to log in to the Google Admin console.
- Click Authorize.
Google Drive is added as a data connection, and Incydr begins the initial inventory process.
Step 4: Configure preventative controls
Background
- Incydr preventative controls provide the option to block users from sharing files in Google Drive with external users.
- Because Google Drive sharing controls are managed via Google Groups, Incydr automatically creates a group called Incydr Prevention Controls (Managed by Code42) when you complete the authorization process above.
- When you add or remove a user from an Incydr watchlist with the Cloud sharing preventative control enabled, they are automatically added or removed from the Incydr Prevention Controls (Managed by Code42) Google Group, which updates their sharing settings within Google Drive accordingly.
- Incydr automatically creates the group and manages group membership. But you must follow the steps for either Option 1 or Option 2 below to manually update the group settings to ensure group members are blocked from sharing externally.
Configure via Sharing Options
- Sign in to your Google Admin console with your Google Workspace administrator credentials.
- Go to Apps > Google Workspace > Drive and Docs.
- Go to Sharing setting > Groups.
- Search for "Incydr."
- Select Incydr Prevention Controls (Managed by Code42).
- In the Sharing Options section, click the edit icon, then:
- Set Sharing outside of <company name> to Off
- Set Distributing content outside of <company name> to Only users in <company name>
-
Click Save.
This configures the group so that members cannot share files with users outside your company.
Next steps
Once you have added Google Drive as a data connection, learn more about:
- Common use cases for investigating incidents with Forensic Search
- How to use Forensic Search
- Adding trusted domains to easily identify when files are shared with users not on your list of approved domains.
- Viewing and managing a cloud storage file's sharing permissions
Troubleshooting
Issues in your Google Drive environment can cause errors with the Incydr connection. When such issues occur, the Google Drive connection in the Data Connections table is highlighted in red and an error message is displayed at the top of the screen. When this occurs, click the Google Drive connection in the Data Connections table. The detail panel opens and lists the specific error so that you can resolve it.
Refer to these articles to troubleshoot specific errors that can appear for the Google Drive connection in the Data Connections list:
Other issues
Refer to the following articles:
- Resolve email domain already exists error
- Troubleshoot missing file events for Google Drive
- Resolve slowed performance of Google Drive and Gmail data collection
- Usernames are missing from Google Drive "Shared with users" lists
- Reconfigure scoping for user and group monitoring
External resources
Google documentation
- Set file-sharing permissions for organizations
- Apply policies to different users
- OAuth 2.0 Scopes for Google APIs
Comments
0 comments
Please sign in to leave a comment.