Struct gapi_grpc::grafeas::v1::VulnerabilityNote[][src]

pub struct VulnerabilityNote {
    pub cvss_score: f32,
    pub severity: i32,
    pub details: Vec<Detail>,
    pub cvss_v3: Option<CvsSv3>,
    pub windows_details: Vec<WindowsDetail>,
    pub source_update_time: Option<Timestamp>,
}

A security vulnerability that can be found in resources.

Fields

cvss_score: 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.

severity: i32

The note provider assigned severity of this vulnerability.

details: Vec<Detail>

Details of all known distros and packages affected by this vulnerability.

cvss_v3: Option<CvsSv3>

The full description of the CVSSv3 for this vulnerability.

windows_details: 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.

source_update_time: Option<Timestamp>

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.

Implementations

impl VulnerabilityNote[src]

pub fn severity(&self) -> Severity[src]

Returns the enum value of severity, or the default if the field is set to an invalid enum value.

pub fn set_severity(&mut self, value: Severity)[src]

Sets severity to the provided enum value.

Trait Implementations

impl Clone for VulnerabilityNote[src]

impl Debug for VulnerabilityNote[src]

impl Default for VulnerabilityNote[src]

impl Message for VulnerabilityNote[src]

impl PartialEq<VulnerabilityNote> for VulnerabilityNote[src]

impl StructuralPartialEq for VulnerabilityNote[src]

Auto Trait Implementations

impl RefUnwindSafe for VulnerabilityNote

impl Send for VulnerabilityNote

impl Sync for VulnerabilityNote

impl Unpin for VulnerabilityNote

impl UnwindSafe for VulnerabilityNote

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]