Skip to content

run_audit

Structs

Enums

  • RunAuditEvent - An enforcement fact observed by firma run outside the Sidecar pipeline.

Enum

An enforcement fact observed by firma run outside the Sidecar pipeline.

Each variant is a bare observation; the Sidecar maps it to fixed audit semantics. New out-of-band producers add variants here rather than inventing new channels or asserting arbitrary audit fields.

Variants:

  • LoopbackBlocked{ dst_ip: String, dst_port: u16 } - A direct connection to a loopback address that is not a sanctioned Firma

Traits: Eq

Trait Implementations:

  • Deserialize
    • fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>
  • Clone
    • fn clone(self: &Self) -> RunAuditEvent
  • PartialEq
    • fn eq(self: &Self, other: &RunAuditEvent) -> bool
  • Serialize
    • fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result

Struct

One message on the firma run audit channel.

Carries the per-run identity once (so individual events stay pure) plus the observed [RunAuditEvent].

Fields:

  • session_id: String - Session that produced the event. Stamped onto the audit record so the
  • agent_id: String - Agent profile that produced the event.
  • event: RunAuditEvent - The observed enforcement fact.

Traits: Eq

Trait Implementations:

  • Deserialize
    • fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>
  • Clone
    • fn clone(self: &Self) -> RunAuditMessage
  • PartialEq
    • fn eq(self: &Self, other: &RunAuditMessage) -> bool
  • Serialize
    • fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result