Struct google_api_proto::google::cloud::osconfig::v1alpha::vulnerability_report::Vulnerability
source · pub struct Vulnerability {
pub details: Option<Details>,
pub installed_inventory_item_ids: Vec<String>,
pub available_inventory_item_ids: Vec<String>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub items: Vec<Item>,
}
Expand description
A vulnerability affecting the VM instance.
Fields§
§details: Option<Details>
Contains metadata as per the upstream feed of the operating system and NVD.
installed_inventory_item_ids: Vec<String>
Corresponds to the INSTALLED_PACKAGE
inventory item on the VM.
This field displays the inventory items affected by this vulnerability.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. For some distros,
this field may be empty.
available_inventory_item_ids: Vec<String>
Corresponds to the AVAILABLE_PACKAGE
inventory item on the VM.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. If there is no
available fix, the field is empty. The inventory_item
value specifies
the latest SoftwarePackage
available to the VM that fixes the
vulnerability.
create_time: Option<Timestamp>
The timestamp for when the vulnerability was first detected.
update_time: Option<Timestamp>
The timestamp for when the vulnerability was last modified.
items: Vec<Item>
List of items affected by the vulnerability.
Trait Implementations§
source§impl Clone for Vulnerability
impl Clone for Vulnerability
source§fn clone(&self) -> Vulnerability
fn clone(&self) -> Vulnerability
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Vulnerability
impl Debug for Vulnerability
source§impl Default for Vulnerability
impl Default for Vulnerability
source§impl Message for Vulnerability
impl Message for Vulnerability
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Vulnerability
impl PartialEq for Vulnerability
source§fn eq(&self, other: &Vulnerability) -> bool
fn eq(&self, other: &Vulnerability) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Vulnerability
Auto Trait Implementations§
impl Freeze for Vulnerability
impl RefUnwindSafe for Vulnerability
impl Send for Vulnerability
impl Sync for Vulnerability
impl Unpin for Vulnerability
impl UnwindSafe for Vulnerability
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request