pub struct CorrelationRule {Show 19 fields
pub title: String,
pub id: Option<String>,
pub name: Option<String>,
pub status: Option<Status>,
pub description: Option<String>,
pub author: Option<String>,
pub date: Option<String>,
pub modified: Option<String>,
pub references: Vec<String>,
pub tags: Vec<String>,
pub level: Option<Level>,
pub correlation_type: CorrelationType,
pub rules: Vec<String>,
pub group_by: Vec<String>,
pub timespan: Timespan,
pub condition: CorrelationCondition,
pub aliases: Vec<FieldAlias>,
pub generate: bool,
pub custom_attributes: HashMap<String, String>,
}Expand description
A Sigma correlation rule.
Reference: pySigma correlations.py SigmaCorrelationRule
Fields§
§title: String§id: Option<String>§name: Option<String>§status: Option<Status>§description: Option<String>§date: Option<String>§modified: Option<String>§references: Vec<String>§level: Option<Level>§correlation_type: CorrelationType§rules: Vec<String>§group_by: Vec<String>§timespan: Timespan§condition: CorrelationCondition§aliases: Vec<FieldAlias>§generate: bool§custom_attributes: HashMap<String, String>Custom key-value attributes (e.g. rsigma.correlation_event_mode).
Parsed from the top-level custom_attributes mapping in the YAML or set
programmatically. Mirrors SigmaRule.custom_attributes.
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 PartialEq for CorrelationRule
impl PartialEq for CorrelationRule
Source§impl Serialize for CorrelationRule
impl Serialize for CorrelationRule
impl StructuralPartialEq for CorrelationRule
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<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