Struct gapi_grpc::grafeas::v1::vulnerability_note::Detail[][src]

pub struct Detail {
    pub severity_name: String,
    pub description: String,
    pub package_type: String,
    pub affected_cpe_uri: String,
    pub affected_package: String,
    pub affected_version_start: Option<Version>,
    pub affected_version_end: Option<Version>,
    pub fixed_cpe_uri: String,
    pub fixed_package: String,
    pub fixed_version: Option<Version>,
    pub is_obsolete: bool,
    pub source_update_time: Option<Timestamp>,
}

A detail for a distro and package affected by this vulnerability and its associated fix (if one is available).

Fields

severity_name: String

The distro assigned severity of this vulnerability.

description: String

A vendor-specific description of this vulnerability.

package_type: String

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

affected_cpe_uri: String

Required. The CPE URI this vulnerability affects.

affected_package: String

Required. The package this vulnerability affects.

affected_version_start: Option<Version>

The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.

affected_version_end: Option<Version>

The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.

fixed_cpe_uri: String

The distro recommended CPE URI to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_cpe_uri.

fixed_package: String

The distro recommended package to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_package.

fixed_version: Option<Version>

The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available.

is_obsolete: bool

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

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.

Trait Implementations

impl Clone for Detail[src]

impl Debug for Detail[src]

impl Default for Detail[src]

impl Message for Detail[src]

impl PartialEq<Detail> for Detail[src]

impl StructuralPartialEq for Detail[src]

Auto Trait Implementations

impl RefUnwindSafe for Detail

impl Send for Detail

impl Sync for Detail

impl Unpin for Detail

impl UnwindSafe for Detail

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]