pub struct SecurityPosture {
pub seccomp_mode: String,
pub landlock_abi: Option<String>,
pub dropped_caps: Option<Vec<String>>,
pub gvisor: bool,
pub rootless: bool,
}Expand description
Security posture captured at container start for incident analysis.
Fields§
§seccomp_mode: StringSeccomp mode: “enforce”, “trace”, “profile:<path>”, or “none”
landlock_abi: Option<String>Landlock ABI version negotiated (e.g. “V5”, “none”)
dropped_caps: Option<Vec<String>>Capabilities that were dropped
gvisor: boolWhether gVisor was used
rootless: boolWhether rootless mode was used
Trait Implementations§
Source§impl Clone for SecurityPosture
impl Clone for SecurityPosture
Source§fn clone(&self) -> SecurityPosture
fn clone(&self) -> SecurityPosture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SecurityPosture
impl Debug for SecurityPosture
Auto Trait Implementations§
impl Freeze for SecurityPosture
impl RefUnwindSafe for SecurityPosture
impl Send for SecurityPosture
impl Sync for SecurityPosture
impl Unpin for SecurityPosture
impl UnsafeUnpin for SecurityPosture
impl UnwindSafe for SecurityPosture
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