Struct google_containeranalysis1_beta1::api::Detail[][src]

pub struct Detail {
    pub cpe_uri: Option<String>,
    pub description: Option<String>,
    pub fixed_location: Option<VulnerabilityLocation>,
    pub is_obsolete: Option<bool>,
    pub max_affected_version: Option<Version>,
    pub min_affected_version: Option<Version>,
    pub package: Option<String>,
    pub package_type: Option<String>,
    pub severity_name: Option<String>,
    pub source: Option<String>,
    pub source_update_time: Option<String>,
    pub vendor: Option<String>,
}
Expand description

Identifies all appearances of this vulnerability in the package for a specific distro/location. For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2

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

Fields

cpe_uri: Option<String>

Required. The CPE URI in cpe format in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.

description: Option<String>

A vendor-specific description of this note.

fixed_location: Option<VulnerabilityLocation>

The fix for this specific package version.

is_obsolete: Option<bool>

Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.

max_affected_version: Option<Version>

The max version of the package in which the vulnerability exists.

min_affected_version: Option<Version>

The min version of the package in which the vulnerability exists.

package: Option<String>

Required. The name of the package where the vulnerability was found.

package_type: Option<String>

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

severity_name: Option<String>

The severity (eg: distro assigned severity) for this vulnerability.

source: Option<String>

The source from which the information in this Detail was obtained.

source_update_time: Option<String>

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.

vendor: Option<String>

The name of the vendor of the product.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.