pub struct SyscallAnomalyConfig {
pub enabled: bool,
pub strict_mode: bool,
pub alert_on_unknown_syscall: bool,
pub max_denied_events_per_minute: u32,
pub max_total_events_per_minute: u32,
pub max_alerts_per_minute: u32,
pub alert_cooldown_secs: u64,
pub log_path: String,
pub baseline_syscalls: Vec<String>,
}Fields§
§enabled: bool§strict_mode: bool§alert_on_unknown_syscall: bool§max_denied_events_per_minute: u32§max_total_events_per_minute: u32§max_alerts_per_minute: u32§alert_cooldown_secs: u64§log_path: String§baseline_syscalls: Vec<String>Trait Implementations§
Source§impl Clone for SyscallAnomalyConfig
impl Clone for SyscallAnomalyConfig
Source§fn clone(&self) -> SyscallAnomalyConfig
fn clone(&self) -> SyscallAnomalyConfig
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 SyscallAnomalyConfig
impl Debug for SyscallAnomalyConfig
Source§impl Default for SyscallAnomalyConfig
impl Default for SyscallAnomalyConfig
Source§impl<'de> Deserialize<'de> for SyscallAnomalyConfigwhere
SyscallAnomalyConfig: Default,
impl<'de> Deserialize<'de> for SyscallAnomalyConfigwhere
SyscallAnomalyConfig: Default,
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 SyscallAnomalyConfig
impl RefUnwindSafe for SyscallAnomalyConfig
impl Send for SyscallAnomalyConfig
impl Sync for SyscallAnomalyConfig
impl Unpin for SyscallAnomalyConfig
impl UnsafeUnpin for SyscallAnomalyConfig
impl UnwindSafe for SyscallAnomalyConfig
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