Skip to main content

Module dbaudit

Module dbaudit 

Source

Structs§

DbAuditConfig
Configuration for the database audit backend.
DbAuditStats
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.