Structs§
- DbAudit
Config - Configuration for the database audit backend.
- DbAudit
Stats - Statistics about the audit database.
- DbRow
- Database row representation.
- SqlStatements
- SQL statements for common operations.
Enums§
- DbBackend
- Database audit backend type.
Constants§
- POSTGRES_
SCHEMA - SQLITE_
SCHEMA - SQL schema for audit tables.
Functions§
- entry_
to_ row - Convert an AuditEntry to database row values.
- event_
type_ str - Extract event type string from an AuditEvent.
- generate_
import_ sql - Generate a migration script to import existing JSONL data.
- parse_
jsonl_ for_ import - Migration helper — import JSONL audit log into database.
- session_
created_ entry - Convert a Session to an AuditEntry for session_created events.