Google Drive Integration
Enforce document compliance and access control on Google Drive.
Overview
The Google Drive integration connects Aguardic to your Google Workspace via OAuth. Aguardic monitors file activity in your Drive, evaluating document content, metadata, and sharing settings against your policies. Violations trigger enforcement actions like quarantining files or adding comments.
Setup
Connect via OAuth
Configure monitored paths
After connecting, configure which folders Aguardic should monitor. You can watch specific folders or your entire Drive.
Monitored paths let you scope governance to specific folders, such as a shared "Legal Documents" or "Customer Data" folder, rather than scanning every file in your Drive.
Bind policies
Configure enforcement
Choose how Aguardic enforces policy results on Google Drive:
How It Works
File activity detected
Push notification
Fetch file data
Policy evaluation
Enforce policies
Aguardic automatically creates the "Aguardic Quarantine" folder in your Drive when the first BLOCK enforcement is triggered.
What Gets Evaluated
Example Policies
Sensitive Data in Documents
Detect PII or confidential data in document content:
- Field:
content - Operator:
MATCHES - Value:
(\b\d{3}-\d{2}-\d{4}\b|CONFIDENTIAL|patient.record) - Severity: CRITICAL
Public Sharing Detection
Flag files that are shared publicly via link:
- Field:
sharing - Operator:
EQUALS - Value:
anyone_with_link - Severity: HIGH
File Naming Convention
Enforce consistent file naming in governed folders:
- Field:
filename - Operator:
MATCHES - Value:
^[A-Z]{2,4}-\d{4}-.*\.(pdf|docx|xlsx)$(e.g.,HR-2024-benefits.pdf) - Severity: LOW
Next Steps
- Dropbox Integration — Similar setup for Dropbox
- OneDrive Integration — Similar setup for OneDrive
- Your First Policy — Deep dive into policy creation