pub struct VexAssessment {
pub cve: Option<String>,
pub impacts: Option<Vec<String>>,
pub justification: Option<Justification>,
pub note_name: Option<String>,
pub related_uris: Option<Vec<RelatedUrl>>,
pub remediations: Option<Vec<Remediation>>,
pub state: Option<String>,
pub vulnerability_id: Option<String>,
}
Expand description
VexAssessment provides all publisher provided Vex information that is related to this vulnerability.
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.
note_name: Option<String>
The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: projects/[PROJECT_ID]/notes/[NOTE_ID]
.
Holds a list of references associated with this vulnerability item and assessment.
remediations: Option<Vec<Remediation>>
Specifies details on how to handle (and presumably, fix) a vulnerability.
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 VexAssessment
impl Clone for VexAssessment
Source§fn clone(&self) -> VexAssessment
fn clone(&self) -> VexAssessment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for VexAssessment
impl Debug for VexAssessment
Source§impl Default for VexAssessment
impl Default for VexAssessment
Source§fn default() -> VexAssessment
fn default() -> VexAssessment
Source§impl<'de> Deserialize<'de> for VexAssessment
impl<'de> Deserialize<'de> for VexAssessment
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 VexAssessment
impl Serialize for VexAssessment
impl Part for VexAssessment
Auto Trait Implementations§
impl Freeze for VexAssessment
impl RefUnwindSafe for VexAssessment
impl Send for VexAssessment
impl Sync for VexAssessment
impl Unpin for VexAssessment
impl UnwindSafe for VexAssessment
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