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. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version.
This type is not used in any activity, and only used as part of another schema.
Fields§
§attack_complexity: Option<String>
no description provided
attack_vector: Option<String>
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
authentication: Option<String>
no description provided
availability_impact: Option<String>
no description provided
base_score: Option<f32>
The base score is a function of the base metric scores.
confidentiality_impact: Option<String>
no description provided
exploitability_score: Option<f32>
no description provided
impact_score: Option<f32>
no description provided
integrity_impact: Option<String>
no description provided
privileges_required: Option<String>
no description provided
scope: Option<String>
no description provided
user_interaction: Option<String>
no description provided
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>,
Deserialize this value from the given Serde deserializer. Read more
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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