pub struct CVSS {
pub attack_complexity: Option<String>,
pub attack_vector: Option<String>,
pub authentication: Option<String>,
pub availability_impact: Option<String>,
pub base_score: Option<f32>,
pub confidentiality_impact: Option<String>,
pub exploitability_score: Option<f32>,
pub impact_score: Option<f32>,
pub integrity_impact: Option<String>,
pub privileges_required: Option<String>,
pub scope: Option<String>,
pub user_interaction: Option<String>,
}
Expand description
Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
This type is not used in any activity, and only used as part of another schema.
Fields§
§attack_complexity: Option<String>
Defined in CVSS v3, CVSS v2
attack_vector: Option<String>
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Defined in CVSS v3, CVSS v2
authentication: Option<String>
Defined in CVSS v2
availability_impact: Option<String>
Defined in CVSS v3, CVSS v2
base_score: Option<f32>
The base score is a function of the base metric scores.
confidentiality_impact: Option<String>
Defined in CVSS v3, CVSS v2
exploitability_score: Option<f32>
no description provided
impact_score: Option<f32>
no description provided
integrity_impact: Option<String>
Defined in CVSS v3, CVSS v2
privileges_required: Option<String>
Defined in CVSS v3
scope: Option<String>
Defined in CVSS v3
user_interaction: Option<String>
Defined in CVSS v3
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CVSS
impl<'de> Deserialize<'de> for CVSS
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>,
impl Part for CVSS
Auto Trait Implementations§
impl Freeze for CVSS
impl RefUnwindSafe for CVSS
impl Send for CVSS
impl Sync for CVSS
impl Unpin for CVSS
impl UnwindSafe for CVSS
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more