Skip to content

audit

Structs

  • AuditRow - Normalized audit event displayed by the TUI.

Enums


firma_tui::control::state::audit::AuditDecision

Section titled “firma_tui::control::state::audit::AuditDecision”

Enum

Audit decision rendered by Policy Control.

Variants:

  • Allow - The sidecar allowed the request.
  • Deny - The sidecar denied the request.

Methods:

  • fn label(self: Self) -> &'static str - Short lowercase label rendered in the audit table.

Traits: Copy, Eq

Trait Implementations:

  • PartialEq
    • fn eq(self: &Self, other: &AuditDecision) -> bool
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Clone
    • fn clone(self: &Self) -> AuditDecision

firma_tui::control::state::audit::AuditFilter

Section titled “firma_tui::control::state::audit::AuditFilter”

Enum

Decision filter applied to the audit pane.

Variants:

  • All - Show every buffered audit row.
  • Allow - Show only allow decisions.
  • Deny - Show only deny decisions.

Methods:

  • fn label(self: Self) -> &'static str - Short lowercase label rendered in the filter bar.

Traits: Copy, Eq

Trait Implementations:

  • Clone
    • fn clone(self: &Self) -> AuditFilter
  • PartialEq
    • fn eq(self: &Self, other: &AuditFilter) -> bool
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result

firma_tui::control::state::audit::AuditRow

Section titled “firma_tui::control::state::audit::AuditRow”

Struct

Normalized audit event displayed by the TUI.

Fields:

  • time: String - Timestamp label already formatted for terminal display.
  • decision: AuditDecision - Allow or deny decision.
  • action_class: String - Normalized action class from the sidecar audit event.
  • resource: String - Resource label from the sidecar audit event.
  • policy: String - Policy detail or deny reason associated with the decision.

Traits: Eq

Trait Implementations:

  • PartialEq
    • fn eq(self: &Self, other: &AuditRow) -> bool
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Clone
    • fn clone(self: &Self) -> AuditRow

firma_tui::control::state::audit::AuditViewportMode

Section titled “firma_tui::control::state::audit::AuditViewportMode”

Enum

How the audit viewport should track incoming rows.

Variants:

  • FollowTail - Keep selection pinned to the newest visible event.
  • Manual - Keep the operator-selected row stable while inspecting older events.

Traits: Copy, Eq

Trait Implementations:

  • PartialEq
    • fn eq(self: &Self, other: &AuditViewportMode) -> bool
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Clone
    • fn clone(self: &Self) -> AuditViewportMode