28 DLP rules (Drive/Gmail/Chat)
Data protection rules scan Drive files, Gmail messages and Chat messages for content that matches a detector — card numbers, national IDs, credentials, or a custom regex — and audit, warn or block when that content is shared or sent. A rule is scoped by OU or group, by app, by trigger condition and by detector, and its alerts land in the alert center at the severity you choose. The usual sequence is audit-only to size the false positives, then warn, then block.
Documentation: About DLP
Caveats
- A rule that only logs is a detection, not a prevention — it becomes a preventive control when the action moves from Audit to Block, and most tenants never make that move.
- Scan-on-share triggers on the sharing event, not on content at rest — anything already shared before the rule existed is never caught, so pair it with the public-share cleanup (№11).
- Detectors are regex over extracted text — content inside an image, a password-protected archive or a client-side-encrypted file is invisible by construction, which is exactly the CSE trade-off in №71.
- DLP requires Enterprise Standard+, Frontline Standard+, an Education edition or Enterprise Essentials Plus — on Business tiers this screen is absent. Note Gmail DLP is not included in Enterprise Essentials Plus, so the Drive and Gmail gates differ slightly.
Setup steps
- open ↗
https://admin.google.com/ac/dp · captured 2026-07-15
-
- open ↗
https://admin.google.com/ac/dp/createrule · captured 2026-07-15
Security › Access and data control › Data protection › Add rule > New rule- Scope
all users- Apps
Drive + Gmail + Chat- Conditions
content matches detector- Trigger
file shared externally / message sent externally
-
Security › Access and data control › Data protection › Add rule > New ruleAction = Audit only (week 1) → Warn → Block (Drive: Block external sharing; Gmail: Block message, outgoing messages only); Alerting severity = High, send to the alert center
Ongoing maintenance
- automatable: AI agent Monthly: review DLP alert volume and false positives; tune detectors and thresholds.
- requires a human Per new data type the org handles: extend detectors and re-run the canary test.
How to verify
-
Create a canary document containing a synthetic detector hit (test credit-card number), share it externally from a test account, and confirm the rule blocks/warns and raises the alert.
v0.1.2 Prevent edition Ent Std+ policy #15 · #33 ↗