Raxx · internal docs

internal · gated

DET-DATA-001 — audit log gap window

Rule ID: DET-DATA-001 Title: Gap > 5 minutes in audit-event write cadence during business hours Category: data Last validated: 2026-06-04 (initial catalog, dormant — needs post-launch baseline) State: dormant — placeholder threshold active (30 min) pre-launch; tighten to 5 min once 7d of real-customer cadence baseline exists

Telemetry source

Statistical method + baseline window

Threshold + expected FP rate

Alert route

Escalation owner

Test fixture / synthetic positive

See _fixtures/audit_log_gap_window_positive.json for a synthetic detection-run state showing 47-minute gap at 16:00 UTC on a weekday.

What to do when this fires

  1. Confirm operator was active in the gap window (Slack/git activity, recent deploy). Active operator + no audit rows = writer-side bug or DB-side issue.
  2. Check Heroku Postgres status, recent migrations, and writer-service Sentry events for the same window.
  3. If sre-agent confirms writer outage: dispatch sre-agent for remediation; tag fire as confirmed-operational after fix.
  4. If no operational cause: dispatch security-agent SEV1 — hash chain (DET-DATA-002) becomes the next check; if hash chain is intact across the gap, the gap is benign (no writes occurred); if hash chain is broken, the gap is adversarial.

What NOT to do