pub struct Attack {
pub tactic: Option<AttackTactic>,
pub technique: Option<AttackTechnique>,
pub version: Option<String>,
}Expand description
OCSF Attack object for MITRE ATT&CK mapping.
Fields§
§tactic: Option<AttackTactic>MITRE ATT&CK tactic (e.g., “Credential Access”).
technique: Option<AttackTechnique>MITRE ATT&CK technique.
version: Option<String>Framework version.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Attack
impl<'de> Deserialize<'de> for Attack
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
impl Eq for Attack
impl StructuralPartialEq for Attack
Auto Trait Implementations§
impl Freeze for Attack
impl RefUnwindSafe for Attack
impl Send for Attack
impl Sync for Attack
impl Unpin for Attack
impl UnsafeUnpin for Attack
impl UnwindSafe for Attack
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