Phase 1, Task 4: Audit Logging Framework #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Plan Reference
docs/superpowers/plans/2026-03-29-phase-1-foundation-auth.md→ Task 4Scope
audit_logtable (append-only, JSONB metadata, indexed by tenant/actor/action)AuditActionenum (auth, tenant, app, secrets, config, team actions)AuditEntityJPA entity with@PrePersisttimestampAuditRepository(no delete/update methods exposed)AuditServicewithlog()methodSOC 2 Note
This is the foundation for SOC 2 audit trail. The table is designed as append-only — no UPDATE/DELETE grants in production.
Steps
Depends On
Related Epics