pub struct CorrelationRule {Show 21 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 taxonomy: Option<String>,
pub tags: Vec<String>,
pub falsepositives: 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, Value>,
}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>§taxonomy: Option<String>§falsepositives: 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, Value>Custom attributes attached to the correlation rule.
Populated the same way as SigmaRule.custom_attributes: arbitrary
top-level YAML keys, the dedicated custom_attributes: block, and
pipeline SetCustomAttribute transformations (last-write-wins).
Engine-level rsigma.* extensions (e.g. rsigma.correlation_event_mode,
rsigma.suppress, rsigma.action) are read from here.
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