pub struct Assessment {
pub cve: Option<String>,
pub impacts: Option<Vec<String>>,
pub justification: Option<Justification>,
pub long_description: Option<String>,
pub related_uris: Option<Vec<RelatedUrl>>,
pub remediations: Option<Vec<Remediation>>,
pub short_description: Option<String>,
pub state: Option<String>,
pub vulnerability_id: Option<String>,
}
Expand description
Assessment provides all information that is related to a single vulnerability for this product.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cve: Option<String>
Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
impacts: Option<Vec<String>>
Contains information about the impact of this vulnerability, this will change with time.
justification: Option<Justification>
Justification provides the justification when the state of the assessment if NOT_AFFECTED.
long_description: Option<String>
A detailed description of this Vex.
Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
remediations: Option<Vec<Remediation>>
Specifies details on how to handle (and presumably, fix) a vulnerability.
short_description: Option<String>
A one sentence description of this Vex.
state: Option<String>
Provides the state of this Vulnerability assessment.
vulnerability_id: Option<String>
The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
Trait Implementations§
Source§impl Clone for Assessment
impl Clone for Assessment
Source§fn clone(&self) -> Assessment
fn clone(&self) -> Assessment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for Assessment
impl Debug for Assessment
Source§impl Default for Assessment
impl Default for Assessment
Source§fn default() -> Assessment
fn default() -> Assessment
Source§impl<'de> Deserialize<'de> for Assessment
impl<'de> Deserialize<'de> for Assessment
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>,
Source§impl Serialize for Assessment
impl Serialize for Assessment
impl Part for Assessment
Auto Trait Implementations§
impl Freeze for Assessment
impl RefUnwindSafe for Assessment
impl Send for Assessment
impl Sync for Assessment
impl Unpin for Assessment
impl UnwindSafe for Assessment
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