Struct google_api_proto::google::cloud::securitycenter::v1::AttackExposure
source · pub struct AttackExposure {
pub score: f64,
pub latest_calculation_time: Option<Timestamp>,
pub attack_exposure_result: String,
pub state: i32,
pub exposed_high_value_resources_count: i32,
pub exposed_medium_value_resources_count: i32,
pub exposed_low_value_resources_count: i32,
}
Expand description
An attack exposure contains the results of an attack path simulation run.
Fields§
§score: f64
A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.
latest_calculation_time: Option<Timestamp>
The most recent time the attack exposure was updated on this finding.
attack_exposure_result: String
The resource name of the attack path simulation result that contains the
details regarding this attack exposure score.
Example: organizations/123/simulations/456/attackExposureResults/789
state: i32
What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.
exposed_high_value_resources_count: i32
The number of high value resources that are exposed as a result of this finding.
exposed_medium_value_resources_count: i32
The number of medium value resources that are exposed as a result of this finding.
exposed_low_value_resources_count: i32
The number of high value resources that are exposed as a result of this finding.
Implementations§
Trait Implementations§
source§impl Clone for AttackExposure
impl Clone for AttackExposure
source§fn clone(&self) -> AttackExposure
fn clone(&self) -> AttackExposure
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AttackExposure
impl Debug for AttackExposure
source§impl Default for AttackExposure
impl Default for AttackExposure
source§impl Message for AttackExposure
impl Message for AttackExposure
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 AttackExposure
impl PartialEq for AttackExposure
source§fn eq(&self, other: &AttackExposure) -> bool
fn eq(&self, other: &AttackExposure) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttackExposure
Auto Trait Implementations§
impl Freeze for AttackExposure
impl RefUnwindSafe for AttackExposure
impl Send for AttackExposure
impl Sync for AttackExposure
impl Unpin for AttackExposure
impl UnwindSafe for AttackExposure
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