Skip to content

audit

Structs

Enums

  • AuditSink - Audit event output sink selector.

Struct

Audit emitter configuration.

Controls where enforcement events are written and how they are signed.

SinkRequired fields
stdoutnone
filefile_path
grpcgrpc_url
walgrpc_url, wal_path

Trait Implementations:

  • Clone
    • fn clone(self: &Self) -> AuditConfig
  • Deserialize
    • fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Default
    • fn default() -> Self

Enum

Audit event output sink selector.

Variants:

  • Stdout - Structured JSON lines written to stdout (default for containers).
  • File - Append-only file sink.
  • Grpc - Streaming gRPC sink to a downstream audit service.
  • Wal - Write-ahead log: buffers events locally when gRPC is

Traits: Eq, Copy

Trait Implementations:

  • Display
    • fn fmt(self: &Self, f: & mut fmt::Formatter) -> fmt::Result
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Default
    • fn default() -> AuditSink
  • PartialEq
    • fn eq(self: &Self, other: &AuditSink) -> bool
  • Deserialize
    • fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>
  • Clone
    • fn clone(self: &Self) -> AuditSink