audit-log-auditor

Verify audit logging implementation across schema, RLS, writer functions, and action coverage.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/BruceTyndall/socelle-global --skill audit-log-auditor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-log-auditor
Source: https://github.com/BruceTyndall/socelle-global/tree/main/.agents/skills/audit-log-auditor
Command: npx skills add https://github.com/BruceTyndall/socelle-global --skill audit-log-auditor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

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.

Frequently Asked Questions about audit-log-auditor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify audit log implementation in a web application?

To verify audit log implementation, you need to check the audit_logs table schema, Row Level Security policies, audit event writer functions, and ensure critical action types are tracked. This validates schema configuration and event coverage.

How do I check if my database audit logging covers required security compliance actions?

Check audit logging coverage by scanning source files for required action types like ai.request, admin.action, and entitlement.change. Verifying these patterns ensures your audit trail meets security and compliance monitoring standards.

What is needed to validate an admin audit log viewer with CSV export?

Validating an admin audit log viewer requires checking React components for functional search and CSV export capabilities. This ensures the administrative interface can properly query and export audit trail data.

Can I use this to verify Row Level Security policies on my audit_logs table?

Yes, you can verify Row Level Security policies by checking for specific patterns in migration files. This confirms the audit_logs table is properly configured with RLS to prevent gaps in security.

When should I run an audit log verification check?

You should run an audit log verification check after updating the audit logging mechanism or adding new tracked actions. This guarantees the integrity and completeness of the audit trail after modifications.