← All articles

ARTICLE · DATA LEAK ACTIVE TESTING

Google Workspace DLP: checking what is actually blocked

  • Configuration
  • 6 min read
  • Updated
Map of Europe and Asia dotted with red points, an image of scattered data sharingActive does not mean blocking

Workspace DLP, briefly

  • A rule with active status in the console is not evidence: scope, detectors, thresholds and audit mode make it fail silently.
  • An unmanaged browser, a personal sync client and third-party email sit outside Workspace DLP and need other controls.
  • To verify, trigger each rule with synthetic data, format by format, and read the outcome in the rule log.

Google Workspace DLP does not always scan a Drive file the moment it is uploaded. Share it straight away and the external link can go out before any rule has read the content. That is one of five ways a rule marked active in the admin console stops nothing, and none of them raises an alert.

The rules live in the admin console and block, warn on or log the sharing of sensitive content in Drive, Gmail and managed Chrome. Only triggering them on purpose, with synthetic data, tells you what they stop.

What Google Workspace DLP covers, and what it does not

Coverage depends on your edition. At the time of writing, Drive and Gmail DLP come with the Enterprise editions and some Education ones, and Chrome rules need Chrome Enterprise Premium. Google moves features between editions, so check the rule editor itself: if Google Chat is not offered as an app, you do not have it.

Surface What the rule can do Common blind spot
Drive (file sharing) Block or warn on external sharing, log Deferred scanning after upload, uninspected formats, encrypted or archived files
Gmail (outbound messages) Block, quarantine, warn the sender Password-protected attachments, content inside an image, links to third-party storage
Managed Chrome (Chrome Enterprise) Control upload, copy and paste, printing on defined sites Unmanaged browser, personal profile, another browser installed
Chat and other services Varies by edition Partial or absent coverage depending on the licence

Diagram · the boundary of the control

The boundary of Google Workspace DLPInside the console, the rules apply to Drive, Gmail and managed Chrome, and must be proven by testing. Outside the console, an unmanaged browser, personal synchronisation or third-party email escape those rules and fall under other controls.In the consoleOutside the consoleDriveGmailManaged ChromeUnmanaged browserPersonal syncThird-party emailTo be proven by testOther controls

When an “active” rule blocks nothing

  • Scope. A rule aimed at one organisational unit or group misses accounts that have moved, new starters put in the wrong unit, and service accounts.
  • Detectors. A National Insurance number is two letters, six digits and a final letter from A to D. Test your detector, built-in or custom regex, against QQ123456C, QQ 12 34 56 C, lower case and a number split across two lines; the one that does not fire is your gap.
  • Thresholds. A rule that needs several matches lets through a document with fewer.
  • The action. Audit or warning mode is often left on after the pilot. The user clicks “continue” and the file goes.
  • Scanning delay. Drive does not always scan on upload, so a share made straight away can beat the rule.

Our article on DLP false negatives covers these and a few more.

Testing Workspace DLP rules in Drive, Gmail and Chrome

For each rule, build synthetic content that should trigger it, try the forbidden action from a representative test account, and compare what you expected with what happened. The decoys must look like real data (same format, same document structure) without ever being real. The general method is described in our guide to synthetic data in production.

Drive: external sharing

  1. Create a document containing synthetic numbers in the expected format (IBANs, National Insurance numbers, classified internal references).
  2. Upload it with a standard user account, in the organisational unit targeted by the rule.
  3. Attempt a share to an external address, then the creation of a public link.
  4. Repeat with variants: PDF, spreadsheet, compressed archive, scanned image, renamed document.
  5. Note for each variant: blocked, warned, logged, or nothing. “Logged” means an entry in Rule log events, under Reporting, then Audit and investigation, in the admin console.

Gmail: outbound email

Send messages carrying the decoy in the body, as an attachment, then inside a nested attachment, to an external test mailbox you control. Check what lands on the recipient side: a message supposedly blocked that arrives anyway is the most important finding of the day. The specifics of this channel are covered in our article on email DLP.

Chrome: upload and copy and paste

Chrome rules reach the browser through Chrome Enterprise Connectors and only apply where Chrome is managed: a work profile signed in to Workspace, or a browser enrolled at machine level. From the work profile, try to upload the synthetic file to an unauthorised storage service, then paste its content into a web form. Repeat from a personal profile, then from another browser. The results show where management stops.

A rule that looked fine for months

Take a typical case. A Drive rule blocks external sharing of documents containing National Insurance numbers, and the console has shown it as active for months. A synthetic spreadsheet is blocked. The same content as a scanned PDF goes through without an alert, because the rule does not read text in images. And an account in an organisational unit created after the rollout is covered by no rule at all.

Illustrative example, made-up figures: 12 external shares attempted with the decoy, 4 went through, all 4 opened from the external test account. The rule log shows 8 blocks and nothing for the 4 that left: two scanned PDFs, a zip archive and the file owned by the account in the new unit. Matching each attempt to a log entry gives you the fix list.

Two fixes, very different in effort. Widening the rule’s scope takes minutes. For scans, check whether your edition offers OCR for images in the Drive rule and whether it is ticked; if not, it becomes an architecture decision. Retest with a real scanned PDF either way.

Next step

Testing the Google Drive path from your own network

The console rules are yours to test with the method above; uploads to Google Drive are one of the 8 channels Enforcis tests. A 30-minute guided demo on pre-built results across those 8 channels, nothing to install and no access to your environment. A quick POC, usually free, runs one standard scenario with synthetic data from a machine on your network, past the Workspace console and through your real egress controls. If you choose, a paid pilot on a limited part of your production follows, with a report whose findings we work through with you.

Workspace DLP checklist before you sign a rule off

  • Every rule has a written test scenario, with an expected result.
  • Tests cover all organisational units, including the most recent ones.
  • Format variants are tested, not just the standard one.
  • Rules in audit or warning mode are inventoried and justified.
  • Each test shows up in Rule log events and reaches the SIEM, typically through the Reports API.
  • Paths outside Workspace (unmanaged browser, personal synchronisation) are tested separately.
  • Tests are replayed after every change of rule, licence or organisation.

That last one slips first. Triggers to watch: a new or merged organisational unit, an edition or licence change, a detector added or edited, a rule taken out of audit mode. For the wider approach, see our page on data exfiltration testing.

Frequently asked questions

Is Google Workspace DLP included in every edition?

No. DLP features and their coverage (Drive, Gmail, Chrome, Chat) depend on your edition and licences. Check the current Google documentation, then the rule editor itself: an app that is not offered there is not covered.

Can you test with real data to be sure?

There is no need, and it adds risk. Synthetic data in the right format triggers the same detectors, without exposing a single piece of real data if the control fails.

Is warning mode enough?

It makes users think twice and stops nobody who is in a hurry or acting in bad faith. Keep it for cases where blocking would get in the way of legitimate work, and write down why.

How often should you retest?

After every change of rule, organisational unit or licence, and on a fixed schedule in between, so regressions surface before an incident.

Past the admin console, out through your egress

We push decoys out through your real exit paths, Google Drive uploads included, one scenario at a time, and show you what got through. We then agree with you which gap to close first, in the console rules or at the egress.