Skip to main content

Module enterprise

Module enterprise 

Source
Expand description

Enterprise features: audit logging, cost tracking, RBAC.

File-based implementation. Can be upgraded to PostgreSQL later.

Structs§

AuditEntry
CostEntry

Enums§

Role

Functions§

audit_log
Log an audit event (append-only, crash-safe).
log_cost
Log a cost entry (append-only, crash-safe).
read_audit_log
Read recent audit entries.
total_cost
Get total cost across all missions.