68 Detection engineering on exported logs
draft
Scheduled Sigma rules or BigQuery SQL run over the exported audit logs (33 Audit-log export to SIEM/BigQuery), one rule per hypothesis, version-controlled, each with a documented false-positive rate: an OAuth grant to a new client id, a domain-wide delegation change, a mass Drive download, an admin role grant, a forwarding rule added. These are the API-level attacks no console screen shows you, and the hits are routed into the same alert pipeline the heartbeat (№54) proves is alive.
Documentation: About reporting logs and BigQuery
Caveats
- Export latency (activity log events land in BigQuery within about 10 minutes) makes this a detection, not a prevention — budget for the window in which the attacker is unobserved.
- BigQuery export requires Enterprise Standard+, Education Standard+, Frontline Standard+ or Enterprise Essentials Plus — on lower editions the export itself, and with it this entire control, is unavailable.
Setup steps
- open ↗
https://admin.google.com/ac/reporting/bigqueryexport · captured 2026-07-15
Reporting › Data integrations › BigQuery Export- BigQuery export
On- dataset
the one your rules query
-
- One rule
one hypothesis, version-controlled, with a documented false-positive rate
-
- Scheduled query cadence
15min–1h depending on the rule
-
Ongoing maintenance
- automatable: script Per schedule: the detection queries run against the exported logs.
- automatable: AI agent Monthly: tune rules against false-positive/negative feedback and new TTPs.
How to verify
-
Replay a known-bad event pattern (e.g. a mass-download simulation from a test account) into the pipeline and confirm the detection fires end to end — the query alone proves nothing.
draft v0.0.3 Detect edition Ent/Edu/Frontline Std+, Ent Essentials Plus policy #33 · #18 ↗