Skip to content

audit

Structs

Enums


Struct

Validated audit emitter configuration.

SinkRequired fields
stdoutnone
filefile_path
grpcgrpc_url
walgrpc_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 - file sink was selected without a file_path.
  • EmptyFilePath - file_path was empty.
  • GrpcUrlRequired - grpc/wal sink was selected without a grpc_url.
  • EmptyGrpcUrl - grpc_url was empty.
  • WalPathRequired - wal sink was selected without a wal_path.
  • EmptyWalPath - wal_path was empty.
  • ZeroWalMaxBytes - wal_max_size was zero.
  • SigningKeyMutuallyExclusive - Both signing-key sources were set.
  • EmptySigningKeyPath - signing_key_path was empty.
  • EmptySigningKeyEnv - signing_key_env was 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