Skip to content

bayleafwalker/auditctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auditctl

Repo-local audit ledger for the agent-ops substrate.

auditctl records human, agent, git, sprintctl, and actionq events into a local sqlite index and a durable daily NDJSON shard:

<AUDITCTL_ARTIFACTS_ROOT>/_artifacts/<repo_id>/audit/events-YYYY-MM-DD.ndjson

The sqlite database is the fast local query index. The NDJSON shards are the portable recovery and cockpit-read artifact.

Install

uv tool install /projects/dev/auditctl --python python3

Configure a Repo

export AUDITCTL_DB="$PWD/.auditctl/auditctl.db"
export AUDITCTL_ARTIFACTS_ROOT="/projects/dev"

Commands

auditctl add --type decision --actor bayleaf --summary "Chose sqlite plus NDJSON"
auditctl list --limit 10
auditctl render --format ndjson
auditctl rebuild --from-ndjson /projects/dev/_artifacts/homelab-analytics/audit

auditctl add requires AUDITCTL_ARTIFACTS_ROOT. Read commands do not.

Git Hooks

Example hook scripts live in hooks/. Repos may copy or symlink them. V1 does not manage hook installation globally.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors