pattern·team·audit_log
Audit log
Who did what when. Immutable record of every mutating operation.
Schema: audit_log(tenant_id, actor_id, action, target_type, target_id, before, after, ip, ua, created_at). Write-through in middleware so no handler can forget. Retention 1y for compliance, 7y for billing.
Beziehungen
securitycomplianceteam