← Files Vibe CodingARCHIVED FILE
skills/vibe-security/references/audit-logging-compliance-audit.md
1.26 KB · Oct 3, 2026 · 06:36 UTC
# Audit Logging Compliance Audit ## Operation Inspect the named boundary and report supported findings. Do not edit product code. Include concrete evidence, impact, the owning source, one remediation direction and a meaningful validation route. Severity follows actual impact, not a category example. ## Goal and scope Audit one security, compliance, financial, admin, or data-governance audit-log boundary. Focus on event completeness, integrity, privacy, retention, queryability, and operational usefulness. ## Domain invariants - Material actions produce audit events with actor, subject, action, resource, tenant/scope, timestamp, outcome, reason, correlation/request ID, and safe metadata. - Audit events are emitted at the authoritative owner layer and are not skipped by alternate API, worker, webhook, admin, or bulk paths. - Logs avoid sensitive payload leakage and support retention/export/deletion requirements defined by the product/repo. - Audit records are durable enough for the stated use case and have tests or operational gates. ## Audit method Trace the selected action across API/UI/jobs/webhooks/admin paths, policy decisions, persistence, event emission, log sinks, retention, query surfaces, and tests. Separate application audit logs from generic debug logs.
SHA-256: d75815c5e2665a996b8821ba0498899d80839ca4fd5a50f97fe1f94e3d07653c