kb-audit-query

Filter and summarize KB audit log events by date, type, and source.

41|6|Updated Jul 12, 2025
One-click install
npx skills add https://github.com/SteveGJones/ai-first-sdlc-practices --skill kb-audit-query
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kb-audit-query
Source: https://github.com/SteveGJones/ai-first-sdlc-practices/tree/main/plugins/sdlc-knowledge-base/skills/kb-audit-query
Command: npx skills add https://github.com/SteveGJones/ai-first-sdlc-practices --skill kb-audit-query

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The audit log toolkit helps teams quickly filter and summarize cross-library knowledge-base audit events, surfacing confidentiality incidents and policy violations without sifting through raw logs.

Core Features & Use Cases

  • Filter by date range, event type, and source handle to focus investigations.
  • Read-only access to index metadata and audit entries, enabling safe analysis.
  • Generate concise summaries and reports for audit reviews, incident response, and compliance.

Quick Start

Run kb-audit-query with optional flags to filter the project audit log and produce a concise report.

Frequently Asked Questions about kb-audit-query

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

FAQPage Schema
How do I filter audit logs by date range and event type?

You can filter audit logs by applying the --since, --until, and --event-type flags to restrict log events to specific timeframes and actions. This read-only process queries index metadata from library/audit.log to isolate relevant confidentiality incidents.

What is the best way to summarize knowledge-base audit logs for compliance reporting?

Summarizing knowledge-base audit logs for compliance reporting is done using the --summary flag. It processes filtered audit events to generate concise summaries of confidentiality incidents and policy violations without requiring manual review of raw logs.

Can I investigate confidentiality incidents in specific source handles?

Yes, you can investigate confidentiality incidents for specific source handles by applying the --source flag. This filters the knowledge-base audit log events to isolate activities associated with that particular source handle.

Does the kb-audit-query tool modify project files during log analysis?

No, kb-audit-query operates strictly in read-only mode. It reads only index metadata from library/audit.log to ensure safe log analysis during incident investigations and compliance reviews without modifying project files.

Why do I need to query index metadata for audit reviews?

Querying index metadata for audit reviews allows you to safely surface cross-library knowledge-base policy violations. It avoids parsing heavy raw logs directly, enabling efficient filtering and summarization of confidentiality incidents across project libraries.