pub struct Detection {
pub source: String,
pub rule: String,
pub confidence: String,
pub verdict: Option<String>,
}Expand description
A representative detection signal (e.g. a Sigma rule the action would trip).
Fields§
§source: StringWhere the detection comes from — Sigma, a vendor, an internal ruleset.
rule: StringThe rule’s name or title. Representative of published logic rather than a literal rule id, unless the finding was enriched from a real ruleset.
confidence: StringHow confident the knowledge base is that this detection covers the
action: high, medium, or low. An authored judgement, not a measured
one — verdict is the measured field.
verdict: Option<String>When enriched from a real ruleset, whether the rule would actually fire
on the matched command: fires, no-fire, or indeterminate (…).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Detection
impl<'de> Deserialize<'de> for Detection
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 Detection
impl RefUnwindSafe for Detection
impl Send for Detection
impl Sync for Detection
impl Unpin for Detection
impl UnsafeUnpin for Detection
impl UnwindSafe for Detection
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