Structured audit storage for governance attestations, overrides, security events, and API access logs. Backed by PostgreSQL with automatic schema migrations.Documentation Index
Fetch the complete documentation index at: https://docs.manthan.systems/llms.txt
Use this file to discover all available pages before exploring further.
Install
Key exports
| Export | Description |
|---|---|
AuditDb | Main client class for all audit operations |
runMigrations | Run schema migrations against a PostgreSQL database |
AuditDecision | Type - a stored governance decision |
AuditOverride | Type - a stored human override |
AuditVerification | Type - a stored verification result |
AuditSecurityEvent | Type - a stored security event |
Setup
Storing a decision
Querying decisions
Storing an override
Database schema
The audit database maintains five tables:| Table | Contents |
|---|---|
audit_decisions | Every governance decision with attestation fields |
audit_overrides | Human overrides with approver identity and signature |
audit_verifications | Verification results for stored attestations |
audit_security_events | Security events and anomaly detections |
audit_api_access | API access log for all governance requests |
See also
- Production Checklist - audit persistence requirements
- Server Package - governance server with built-in audit-db integration