Struct google_ondemandscanning1::api::VulnerabilityOccurrence[][src]

pub struct VulnerabilityOccurrence {
    pub cvss_score: Option<f32>,
    pub effective_severity: Option<String>,
    pub fix_available: Option<bool>,
    pub long_description: Option<String>,
    pub package_issue: Option<Vec<PackageIssue>>,
    pub related_urls: Option<Vec<RelatedUrl>>,
    pub severity: Option<String>,
    pub short_description: Option<String>,
    pub type_: Option<String>,
}

An occurrence of a severity vulnerability on a resource.

This type is not used in any activity, and only used as part of another schema.

Fields

cvss_score: Option<f32>

Output only. 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.

effective_severity: Option<String>

The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity.

fix_available: Option<bool>

Output only. Whether at least one of the affected packages has a fix available.

long_description: Option<String>

Output only. A detailed description of this vulnerability.

package_issue: Option<Vec<PackageIssue>>

Required. The set of affected locations and their fixes (if available) within the associated resource.

related_urls: Option<Vec<RelatedUrl>>

Output only. URLs related to this vulnerability.

severity: Option<String>

Output only. The note provider assigned severity of this vulnerability.

short_description: Option<String>

Output only. A one sentence description of this vulnerability.

type_: Option<String>

The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).

Trait Implementations

impl Clone for VulnerabilityOccurrence[src]

impl Debug for VulnerabilityOccurrence[src]

impl Default for VulnerabilityOccurrence[src]

impl<'de> Deserialize<'de> for VulnerabilityOccurrence[src]

impl Part for VulnerabilityOccurrence[src]

impl Serialize for VulnerabilityOccurrence[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.