Type Definition usiem::components::alert::SiemRuleMatchSync

source ·
pub type SiemRuleMatchSync = fn(rule: &SiemRule, log: &SiemLog) -> Option<(Option<SiemAlert>, Option<SiemTask>)>;
Expand description

Checks if the log matches this rule. It can return an alert and/or an action to be executed by the SOAR