run_audit
Module: run_audit
Section titled “Module: run_audit”Contents
Section titled “Contents”Structs
RunAuditMessage- One message on thefirma runaudit channel.
Enums
RunAuditEvent- An enforcement fact observed byfirma runoutside the Sidecar pipeline.
firma_core::run_audit::RunAuditEvent
Section titled “firma_core::run_audit::RunAuditEvent”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
firma_core::run_audit::RunAuditMessage
Section titled “firma_core::run_audit::RunAuditMessage”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 theagent_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