feat(audit): record entity mutations + auth events (PMS-117) #70
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pms-117-audit-log"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements PMS-117. In-transaction audit_write (before/after via to_jsonb, secrets stripped) + AuditCtx extractor + audit_auth_event. Instrumented contacts/tickets/tenants/credential-vault/user-CRUD + auth login/logout/failed-login. Read API admin-only, tenant-scoped, append-only; 24-month retention documented. tests/audit.rs 4/4 green; no regressions. Billing/contracts audit hooks land in PMS-33/PMS-64.