pub struct MitreAttackDetector { /* private fields */ }Expand description
MITRE ATT&CK detector
Implementations§
Source§impl MitreAttackDetector
impl MitreAttackDetector
Sourcepub fn detect(&self, message: &str) -> Vec<ThreatDetection>
pub fn detect(&self, message: &str) -> Vec<ThreatDetection>
Detect threats in log message
Sourcepub fn get_techniques(&self) -> Vec<&AttackTechnique>
pub fn get_techniques(&self) -> Vec<&AttackTechnique>
Get all supported techniques
Sourcepub fn get_techniques_by_tactic(
&self,
tactic: &AttackTactic,
) -> Vec<&AttackTechnique>
pub fn get_techniques_by_tactic( &self, tactic: &AttackTactic, ) -> Vec<&AttackTechnique>
Get techniques by tactic
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MitreAttackDetector
impl RefUnwindSafe for MitreAttackDetector
impl Send for MitreAttackDetector
impl Sync for MitreAttackDetector
impl Unpin for MitreAttackDetector
impl UnwindSafe for MitreAttackDetector
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