Better Audit
What is Better Audit?
Better Audit is a library, not a service. It auto-captures every database mutation via your ORM, lets you enrich specific actions with human-readable labels and compliance tags, and stores everything in your own database. Framework-agnostic, database-agnostic, plugin-driven, and type-safe end-to-end.
Works with any database your ORM adapter supports — Postgres, MySQL, SQLite, and more.
Planned features
- Automatic change tracking — capture INSERT, UPDATE, DELETE events via your ORM
- Structured events — typed event payloads with actor, action, resource, and diff
- Human-readable labels — enrich mutations with descriptive names and compliance tags
- Queryable history — filter audit logs by actor, resource, or time range
- Your own database — audit logs stored alongside your app data, not in a third-party service
- Plugin-driven — extend with custom enrichers, exporters, and retention policies
GitHub Follow development and get notified of releases.