iac.htora.dev · security templates

Home/Refreshers/Notice data walking out the door: refresher

Notice data walking out the door

Alerts on the moves someone makes on the way out with data: sharing it outside, reading far more than usual, changing who can decrypt it, and quieting the logs.

Remember

  1. Someone with access acts: shares, reads, grants, or turns logging down.
  2. The audit log records it: admin actions always, object reads where turned on.
  3. A filter or rule matches: per action, or per person for bulk reads.
  4. An alert names what happened: and a saved query shows the rest.
PlatformUsesThe part that catches people
AWSCloudWatch metric filters on the audit trail, and Contributor Insights on object readsThe management trail does not record object reads, so bulk downloads are invisible without data events.
Google CloudAn organisation log sink, log-based metrics, and per-principal alerting on Data Access logsLog-based metrics only count entries in their own project.
AzureThe subscription's activity log in Log Analytics, with scheduled query alerts and per-caller bulk-read alerting on blob logsA storage key or a SAS made from it works for whoever has it, with no identity behind it, and nothing short of rotating the key revokes it.
Oracle CloudThe Audit service counted into metrics by caller, with alarms, and Object Storage read logs for bulk readsAudit event names are the API operations' own names, and the connectors match them exactly.

Run the quick start

Download providersterraform init
Previewterraform plan
Applyterraform apply

Watch out

  • Alerts start an inquiry.
  • Tune before you trust.
  • The data perimeter template refuses copies to outside accounts.
Check it worked

In a test account or project, share a test bucket outside and then undo it. The sharing alert reaches the security inbox within minutes.

Read the full pageDownload PDF

Registry 0.23.0. Built 2026-11-17.

Made by Habibullah Tora. Source on GitHub. Code under the MIT licence, writing under CC BY 4.0.