Skip to main content

Module stats

Module stats 

Source
Expand description

In-memory audit statistics tracker.

Maintains lightweight per-session counters for denied requests and anomaly detections. Updated on each audit entry write. Queryable by session ID for session close summaries.

Structsยง

AggregateAuditStats
Aggregated audit statistics across all tracked sessions.
AuditStats
Thread-safe audit stats tracker, shared between the audit write path and the session close query path.
SessionAuditStats
Queryable audit statistics returned to callers.