#[non_exhaustive]pub struct Mitigation {
pub countermeasures: Option<Vec<D3fend>>,
pub name: Option<String>,
pub src_url: Option<String>,
pub uid: Option<String>,
}Expand description
MITRE Mitigation
The MITRE Mitigation object describes the ATT&CK® or ATLAS™ Mitigation ID and/or name that is associated to an attack.
[] Category: | Name: mitigation
Constraints:
- at_least_one:
[name,uid]
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.countermeasures: Option<Vec<D3fend>>Countermeasures
The D3FEND countermeasures that are associated with the attack technique. For example: ATT&CK Technique T1003 is addressed by Mitigation M1027, and D3FEND Technique D3-OTP.
optional
name: Option<String>Name
The Mitigation name that is associated with the attack technique. For example: Password Policies, or Code Signing.
recommended
src_url: Option<String>Source URL
The versioned permalink of the Mitigation. For example: https://attack.mitre.org/versions/v14/mitigations/M1027.
optional
uid: Option<String>Unique ID
The Mitigation ID that is associated with the attack technique. For example: M1027, or AML.M0013.
recommended
Trait Implementations§
Source§impl Clone for Mitigation
impl Clone for Mitigation
Source§fn clone(&self) -> Mitigation
fn clone(&self) -> Mitigation
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 moreSource§impl Debug for Mitigation
impl Debug for Mitigation
Source§impl Default for Mitigation
impl Default for Mitigation
Source§fn default() -> Mitigation
fn default() -> Mitigation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Mitigationwhere
Mitigation: Default,
impl<'de> Deserialize<'de> for Mitigationwhere
Mitigation: Default,
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
Source§impl PartialEq for Mitigation
impl PartialEq for Mitigation
Source§impl Serialize for Mitigation
impl Serialize for Mitigation
impl StructuralPartialEq for Mitigation
Auto Trait Implementations§
impl Freeze for Mitigation
impl RefUnwindSafe for Mitigation
impl Send for Mitigation
impl Sync for Mitigation
impl Unpin for Mitigation
impl UnwindSafe for Mitigation
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