pub struct PostureSeen {
pub classes: BTreeSet<String>,
pub finding: Option<String>,
pub responses: Option<BTreeSet<String>>,
pub acks: Vec<String>,
pub refused_acks: Vec<String>,
pub lifted: bool,
pub chain_broken: bool,
}Expand description
What the failure posture did. The fake harness models only planariad’s
side (it stops with status 78, routed to Integrity); the responses are
systemd’s and only the VM harness observes them (responses: None).
Fields§
§classes: BTreeSet<String>Failure classes reached during the run (absent, crashed, integrity).
finding: Option<String>The integrity finding planariad reported.
responses: Option<BTreeSet<String>>Responses observed while failed: alarm, notify_admins, disable_agents, restrict_remote, restrict_login, halt_to_recovery, alarm_dismissable.
acks: Vec<String>Acknowledgements journaled (user:1001) and refused (user:1000).
refused_acks: Vec<String>§lifted: boolThe restrictions were lifted once ready again.
chain_broken: boolThe journal’s open at the end failed its chain check (I18 detected).
Trait Implementations§
Source§impl Clone for PostureSeen
impl Clone for PostureSeen
Source§fn clone(&self) -> PostureSeen
fn clone(&self) -> PostureSeen
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PostureSeen
impl Debug for PostureSeen
Source§impl Default for PostureSeen
impl Default for PostureSeen
Source§fn default() -> PostureSeen
fn default() -> PostureSeen
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostureSeen
impl<'de> Deserialize<'de> for PostureSeen
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PostureSeen
impl RefUnwindSafe for PostureSeen
impl Send for PostureSeen
impl Sync for PostureSeen
impl Unpin for PostureSeen
impl UnsafeUnpin for PostureSeen
impl UnwindSafe for PostureSeen
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more