pub enum SecurityAction {
IsolateHost {
host_ip: String,
reason: String,
},
BlockConnection {
source_ip: String,
dest_ip: String,
reason: String,
},
TerminateProcess {
process_id: u32,
reason: String,
},
RevokePrivileges {
user: String,
privilege: String,
reason: String,
},
Alert {
severity: String,
message: String,
details: Value,
},
}Expand description
Security actions that can be proposed by the reasoner
Variants§
Trait Implementations§
Source§impl Clone for SecurityAction
impl Clone for SecurityAction
Source§impl Debug for SecurityAction
impl Debug for SecurityAction
Source§impl<'de> Deserialize<'de> for SecurityAction
impl<'de> Deserialize<'de> for SecurityAction
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 SecurityAction
impl RefUnwindSafe for SecurityAction
impl Send for SecurityAction
impl Sync for SecurityAction
impl Unpin for SecurityAction
impl UnsafeUnpin for SecurityAction
impl UnwindSafe for SecurityAction
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