pub enum CorrelationAction {
Alert,
Reset,
}Expand description
What to do with window state after a correlation fires.
This is an engine-level default that can be overridden per-correlation
via the rsigma.action custom attribute set in processing pipelines.
Variants§
Alert
Keep window state as-is after firing (current / default behavior). Subsequent events that still satisfy the condition will re-fire.
Reset
Clear the window state for the firing group key after emitting the alert. The threshold must be met again from scratch before the next alert.
Trait Implementations§
Source§impl Clone for CorrelationAction
impl Clone for CorrelationAction
Source§fn clone(&self) -> CorrelationAction
fn clone(&self) -> CorrelationAction
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 CorrelationAction
impl Debug for CorrelationAction
Source§impl Default for CorrelationAction
impl Default for CorrelationAction
Source§fn default() -> CorrelationAction
fn default() -> CorrelationAction
Returns the “default value” for a type. Read more
Source§impl FromStr for CorrelationAction
impl FromStr for CorrelationAction
Source§impl PartialEq for CorrelationAction
impl PartialEq for CorrelationAction
Source§impl Serialize for CorrelationAction
impl Serialize for CorrelationAction
impl Copy for CorrelationAction
impl Eq for CorrelationAction
impl StructuralPartialEq for CorrelationAction
Auto Trait Implementations§
impl Freeze for CorrelationAction
impl RefUnwindSafe for CorrelationAction
impl Send for CorrelationAction
impl Sync for CorrelationAction
impl Unpin for CorrelationAction
impl UnsafeUnpin for CorrelationAction
impl UnwindSafe for CorrelationAction
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.