What problem does it solve?
This Skill ensures that the audit logging system within the application is correctly implemented, queryable, and covers all necessary event classes, preventing gaps in security and operational monitoring.
Core Features & Use Cases
- Schema Verification: Checks for the existence and proper configuration of the
audit_logs table, including Row Level Security (RLS).
- Writer Path Validation: Confirms that audit events are being logged through defined functions and include necessary parameters like
action.
- Action Coverage Check: Verifies that critical action types (e.g.,
ai.request, admin.action, entitlement.change) are being tracked.
- Admin Viewer Test: Ensures the administrative interface for viewing audit logs is functional, including search and export capabilities.
- Use Case: After updating the audit logging mechanism or adding new tracked actions, run this skill to guarantee the integrity and completeness of the audit trail.
Quick Start
Run the audit-log-auditor skill to verify the implementation of audit logging.