pub struct CorrelationConfig {
pub max_history_per_session: usize,
pub session_timeout: Duration,
pub patterns: Vec<AttackPattern>,
pub enable_temporal_analysis: bool,
pub rapid_action_threshold: Duration,
pub rapid_action_count: usize,
}Expand description
Configuration for the action correlator.
Fields§
§max_history_per_session: usizeMaximum number of actions to retain per session.
session_timeout: DurationSessions with no activity beyond this duration are eligible for cleanup.
patterns: Vec<AttackPattern>Attack patterns to match against.
enable_temporal_analysis: boolWhether temporal analysis (rapid action detection) is enabled.
rapid_action_threshold: DurationActions arriving faster than this interval are considered suspicious.
rapid_action_count: usizeThis many rapid actions in a row triggers an alert.
Trait Implementations§
Source§impl Clone for CorrelationConfig
impl Clone for CorrelationConfig
Source§fn clone(&self) -> CorrelationConfig
fn clone(&self) -> CorrelationConfig
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 CorrelationConfig
impl Debug for CorrelationConfig
Auto Trait Implementations§
impl Freeze for CorrelationConfig
impl RefUnwindSafe for CorrelationConfig
impl Send for CorrelationConfig
impl Sync for CorrelationConfig
impl Unpin for CorrelationConfig
impl UnsafeUnpin for CorrelationConfig
impl UnwindSafe for CorrelationConfig
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