#[non_exhaustive]pub struct NativeEventTechnique {
pub event_id: u32,
pub logon_type: Option<u32>,
pub technique: &'static str,
pub tactic: &'static str,
pub description: &'static str,
}Expand description
A native event signature mapped to the ATT&CK technique it is consistent
with. logon_type == None matches any logon type (or events that have none).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.event_id: u32Windows event ID, e.g. 4624, 7045.
logon_type: Option<u32>Required logon type (e.g. 10 = RemoteInteractive/RDP), or None for any.
technique: &'static strATT&CK technique ID, e.g. "T1021.001".
tactic: &'static strATT&CK tactic in lowercase snake form, e.g. "initial_access".
description: &'static strShort forensic description of the signature.
Trait Implementations§
Source§impl Clone for NativeEventTechnique
impl Clone for NativeEventTechnique
Source§fn clone(&self) -> NativeEventTechnique
fn clone(&self) -> NativeEventTechnique
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 moreimpl Copy for NativeEventTechnique
Source§impl Debug for NativeEventTechnique
impl Debug for NativeEventTechnique
impl Eq for NativeEventTechnique
Source§impl PartialEq for NativeEventTechnique
impl PartialEq for NativeEventTechnique
impl StructuralPartialEq for NativeEventTechnique
Auto Trait Implementations§
impl Freeze for NativeEventTechnique
impl RefUnwindSafe for NativeEventTechnique
impl Send for NativeEventTechnique
impl Sync for NativeEventTechnique
impl Unpin for NativeEventTechnique
impl UnsafeUnpin for NativeEventTechnique
impl UnwindSafe for NativeEventTechnique
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