audit
Module: config::audit
Section titled “Module: config::audit”Contents
Section titled “Contents”Structs
AuditConfig- Validated audit emitter configuration.
Enums
AuditConfigError- Error validating an [AuditConfig].
firma_sidecar::config::audit::AuditConfig
Section titled “firma_sidecar::config::audit::AuditConfig”Struct
Validated audit emitter configuration.
| Sink | Required fields |
|---|---|
stdout | none |
file | file_path |
grpc | grpc_url |
wal | grpc_url, wal_path |
Trait Implementations:
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- TryFrom
fn try_from(schema: SchemaAuditConfig) -> Result<Self, <Self as >::Error>
- Clone
fn clone(self: &Self) -> AuditConfig
- Default
fn default() -> Self
firma_sidecar::config::audit::AuditConfigError
Section titled “firma_sidecar::config::audit::AuditConfigError”Enum
Error validating an [AuditConfig].
Variants:
FileSinkRequiresPath-filesink was selected without afile_path.EmptyFilePath-file_pathwas empty.GrpcUrlRequired-grpc/walsink was selected without agrpc_url.EmptyGrpcUrl-grpc_urlwas empty.WalPathRequired-walsink was selected without awal_path.EmptyWalPath-wal_pathwas empty.ZeroWalMaxBytes-wal_max_sizewas zero.SigningKeyMutuallyExclusive- Both signing-key sources were set.EmptySigningKeyPath-signing_key_pathwas empty.EmptySigningKeyEnv-signing_key_envwas empty.
Traits: Error, Eq
Trait Implementations:
- Clone
fn clone(self: &Self) -> AuditConfigError
- PartialEq
fn eq(self: &Self, other: &AuditConfigError) -> bool
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Display
fn fmt(self: &Self, __formatter: & mut ::core::fmt::Formatter) -> ::core::fmt::Result