pub struct VulnerabilityNote {
pub cvss_score: Option<f32>,
pub cvss_v2: Option<CVSS>,
pub cvss_v3: Option<CVSSv3>,
pub cvss_version: Option<String>,
pub details: Option<Vec<Detail>>,
pub severity: Option<String>,
pub source_update_time: Option<DateTime<Utc>>,
pub windows_details: Option<Vec<WindowsDetail>>,
}Expand description
A security vulnerability that can be found in resources.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cvss_score: Option<f32>The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
cvss_v2: Option<CVSS>The full description of the v2 CVSS for this vulnerability.
cvss_v3: Option<CVSSv3>The full description of the CVSSv3 for this vulnerability.
cvss_version: Option<String>CVSS version used to populate cvss_score and severity.
details: Option<Vec<Detail>>Details of all known distros and packages affected by this vulnerability.
severity: Option<String>The note provider assigned severity of this vulnerability.
source_update_time: Option<DateTime<Utc>>The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
windows_details: Option<Vec<WindowsDetail>>Windows details get their own format because the information format and model don’t match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.
Trait Implementations§
Source§impl Clone for VulnerabilityNote
impl Clone for VulnerabilityNote
Source§fn clone(&self) -> VulnerabilityNote
fn clone(&self) -> VulnerabilityNote
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more