pub struct DetectionBody {
pub matched_selections: Vec<String>,
pub matched_fields: Vec<FieldMatch>,
pub event: Option<Value>,
}Expand description
Detection-specific result fields.
Fields§
§matched_selections: Vec<String>Which named detections (selections) matched.
matched_fields: Vec<FieldMatch>Specific field matches that triggered the detection.
event: Option<Value>The full event that triggered the match, included when the rule
sets rsigma.include_event: "true".
Trait Implementations§
Source§impl Clone for DetectionBody
impl Clone for DetectionBody
Source§fn clone(&self) -> DetectionBody
fn clone(&self) -> DetectionBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DetectionBody
impl Debug for DetectionBody
Auto Trait Implementations§
impl Freeze for DetectionBody
impl RefUnwindSafe for DetectionBody
impl Send for DetectionBody
impl Sync for DetectionBody
impl Unpin for DetectionBody
impl UnsafeUnpin for DetectionBody
impl UnwindSafe for DetectionBody
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