pub enum SecurityLayer {
JailerIsolation,
CgroupLimits,
SeccompFilter,
NetworkIsolation,
VsockAuth,
EncryptionAtRest,
EncryptionInTransit,
AuditLogging,
SecretManagement,
ConfigImmutability,
GuestHardening,
SupplyChainIntegrity,
}Expand description
A security layer that can be evaluated for posture scoring.
Variants§
JailerIsolation
CgroupLimits
SeccompFilter
NetworkIsolation
VsockAuth
EncryptionAtRest
EncryptionInTransit
AuditLogging
SecretManagement
ConfigImmutability
GuestHardening
SupplyChainIntegrity
Implementations§
Source§impl SecurityLayer
impl SecurityLayer
Sourcepub fn all() -> &'static [SecurityLayer]
pub fn all() -> &'static [SecurityLayer]
All security layers in evaluation order.
Trait Implementations§
Source§impl Clone for SecurityLayer
impl Clone for SecurityLayer
Source§fn clone(&self) -> SecurityLayer
fn clone(&self) -> SecurityLayer
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 SecurityLayer
impl Debug for SecurityLayer
Source§impl<'de> Deserialize<'de> for SecurityLayer
impl<'de> Deserialize<'de> for SecurityLayer
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
Source§impl Hash for SecurityLayer
impl Hash for SecurityLayer
Source§impl PartialEq for SecurityLayer
impl PartialEq for SecurityLayer
Source§impl Serialize for SecurityLayer
impl Serialize for SecurityLayer
impl Eq for SecurityLayer
impl StructuralPartialEq for SecurityLayer
Auto Trait Implementations§
impl Freeze for SecurityLayer
impl RefUnwindSafe for SecurityLayer
impl Send for SecurityLayer
impl Sync for SecurityLayer
impl Unpin for SecurityLayer
impl UnsafeUnpin for SecurityLayer
impl UnwindSafe for SecurityLayer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.