Skip to main content

Module audit

Module audit 

Source
Expand description

Audit logging for proxy requests.

Logs all proxy requests with structured fields via tracing. Sensitive data (authorization headers, tokens, request bodies) is never included in audit logs.

Enums§

ProxyMode
Proxy mode for audit logging.

Functions§

drain_audit_events
Drain all network audit events collected so far.
log_allowed
Log an allowed proxy request.
log_denied
Log a denied proxy request.
log_reverse_proxy
Log a reverse proxy request with service info.
new_audit_log
Create a shared in-memory audit log.

Type Aliases§

SharedAuditLog
Shared in-memory sink for network audit events.