Struct googapis::grafeas::v1::vulnerability_note::Detail [−][src]
pub struct Detail {Show 14 fields
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>,
pub source: String,
pub vendor: String,
}
Expand description
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.
source: String
The source from which the information in this Detail was obtained.
vendor: String
The name of the vendor of the product.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Detail
impl UnwindSafe for Detail
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more