Google Drive Streaming Configuration
This guide provides steps on how to enable real-time data streaming for a Google drive connection and monitor streaming events within the Getvisibility platform.
Last updated
Was this helpful?
This guide provides steps on how to enable real-time data streaming for a Google drive connection and monitor streaming events within the Getvisibility platform.
Last updated
Was this helpful?
From the Data Sources page, select Google drive from the list of available data sources. In the Scan Configurations list, create a New Configuration.
Make sure the connection has a Name and Credentials set then click on Data streaming toggle and click Save & Close to finalize the changes
Clock icon: When data streaming is being activated, the "Requested" status will appear, indicating that the subscription is being processed. Once the subscription is activated, this status will change to "On".
After enabling Data Streaming, the system will automatically handle the subscription to Google Drive’s real-time events. There is no need to manually configure Webhooks.
After the subscription is activated, real-time events will start flowing into the platform, and can be monitored from the relevant parts of the platform.
Go to the Live Events section under Administration to view a detailed audit log of all streaming events.
Filter by source to get only Google Drive events
Overview
Extended streaming events provide deeper insights into file activities within Google Drive by leveraging the admin.reports.audit.readonly
permission. This allows the system to capture additional event types beyond standard data streaming, such as file permission changes. These events are crucial for comprehensive monitoring, alerting, and data lineage tracking within the platform.
Prerequisites
Before enabling extended streaming events, ensure that:
The required permission https://www.googleapis.com/auth/admin.reports.audit.readonly
is granted to your Google Drive connection.
You have followed the delegation process as outlined in the Getvisibility documentation: Delegate Domain-Wide Authority to Your Service Account.
Enabling Extended Streaming Events
If the necessary permission was not granted at the time of the initial streaming subscription, click on unsubscribe and then re-subscribe to streaming events from the Data Sources view.
Steps:
Go to the Data Sources section under Administration.
Locate the Google Drive connection.
If extended streaming is not enabled, uncheck "Data streaming" box from streaming events.
Ensure that the admin.reports.audit.readonly
permission is granted as per the prerequisites.
Click check "Data streaming" box from streaming events again to re-enable streaming with extended event tracking.
Verify the status of the subscription to ensure it is active.
Monitoring Extended Streaming Events
Once extended streaming is enabled, events will be available for monitoring in multiple sections of the platform:
Live Events Section
Go to Live Events under Administration to view real-time extended events.
Use the filter options to narrow down events to only Google Drive activities.
Extended events such as permission changes, sharing modifications, and file deletions will be listed.
Data Lineage Tracking
Extended events are integrated into Data Lineage, providing a clear visualization of file activity over time.
Users can track who performed actions on a file and when, enabling forensic investigation and compliance tracking.
Alerting and Monitoring
Alerts can be configured for specific event types such as sensitive file shared externally, file permissions changed, or file deletion.
These alerts help organizations proactively detect potential security risks or data leaks.