pub struct CorrelationRule {
pub schema: String,
pub name: String,
pub severity: RuleSeverity,
pub description: String,
pub window: Duration,
pub conditions: Vec<RuleCondition>,
pub output: RuleOutput,
}Expand description
A correlation rule loaded from YAML.
Fields§
§schema: StringSchema identifier — must be clawdstrike.hunt.correlation.v1.
name: StringHuman-readable rule name.
severity: RuleSeveritySeverity level.
description: StringRule description.
window: DurationGlobal sliding window for event correlation.
conditions: Vec<RuleCondition>Conditions that must fire in sequence for the rule to trigger.
output: RuleOutputOutput configuration.
Trait Implementations§
Source§impl Clone for CorrelationRule
impl Clone for CorrelationRule
Source§fn clone(&self) -> CorrelationRule
fn clone(&self) -> CorrelationRule
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 CorrelationRule
impl Debug for CorrelationRule
Source§impl<'de> Deserialize<'de> for CorrelationRule
impl<'de> Deserialize<'de> for CorrelationRule
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 CorrelationRule
impl RefUnwindSafe for CorrelationRule
impl Send for CorrelationRule
impl Sync for CorrelationRule
impl Unpin for CorrelationRule
impl UnsafeUnpin for CorrelationRule
impl UnwindSafe for CorrelationRule
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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