Skip to main content

Module audit

Module audit 

Source
Expand description

Structured audit logging for the REST API.

Provides a trait-based audit logging system that records security-relevant events (authentication, authorization, data access) in a structured JSON format suitable for SIEM ingestion.

Structs§

AuditConfig
Configuration for the audit logging subsystem.
AuditEvent
A single audit event capturing who did what, when, and whether it succeeded.
JsonAuditLogger
Logs audit events as JSON via the tracing crate.
NoopAuditLogger
A no-op logger that silently discards events.

Enums§

AuditOutcome
Outcome of an audited action.

Traits§

AuditLogger
Trait for audit event sinks.