pub struct PatternMatch {
pub pattern_name: String,
pub matched_actions: Vec<usize>,
pub confidence: f64,
pub severity: SecuritySeverity,
pub time_span: Duration,
}Expand description
A matched attack pattern with supporting evidence.
Fields§
§pattern_name: StringName of the matched pattern.
matched_actions: Vec<usize>Indices into the session history of the actions that matched each step.
confidence: f64Confidence score for this match.
severity: SecuritySeveritySeverity of the matched pattern.
time_span: DurationTime span between the first and last matched action.
Trait Implementations§
Source§impl Clone for PatternMatch
impl Clone for PatternMatch
Source§fn clone(&self) -> PatternMatch
fn clone(&self) -> PatternMatch
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 moreAuto Trait Implementations§
impl Freeze for PatternMatch
impl RefUnwindSafe for PatternMatch
impl Send for PatternMatch
impl Sync for PatternMatch
impl Unpin for PatternMatch
impl UnsafeUnpin for PatternMatch
impl UnwindSafe for PatternMatch
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