Struct google_api_proto::google::cloud::securitycenter::v2::SecurityPosture
source · pub struct SecurityPosture {
pub name: String,
pub revision_id: String,
pub posture_deployment_resource: String,
pub posture_deployment: String,
pub changed_policy: String,
pub policy_set: String,
pub policy: String,
pub policy_drift_details: Vec<PolicyDriftDetails>,
}
Expand description
Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud.
Fields§
§name: String
Name of the posture, for example, CIS-Posture
.
revision_id: String
The version of the posture, for example, c7cfa2a8
.
posture_deployment_resource: String
The project, folder, or organization on which the posture is deployed,
for example, projects/{project_number}
.
posture_deployment: String
The name of the posture deployment, for example,
organizations/{org_id}/posturedeployments/{posture_deployment_id}
.
changed_policy: String
The name of the updated policy, for example,
projects/{project_id}/policies/{constraint_name}
.
policy_set: String
The name of the updated policy set, for example, cis-policyset
.
policy: String
The ID of the updated policy, for example, compute-policy-1
.
policy_drift_details: Vec<PolicyDriftDetails>
The details about a change in an updated policy that violates the deployed posture.
Trait Implementations§
source§impl Clone for SecurityPosture
impl Clone for SecurityPosture
source§fn clone(&self) -> SecurityPosture
fn clone(&self) -> SecurityPosture
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SecurityPosture
impl Debug for SecurityPosture
source§impl Default for SecurityPosture
impl Default for SecurityPosture
source§impl Message for SecurityPosture
impl Message for SecurityPosture
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 SecurityPosture
impl PartialEq for SecurityPosture
source§fn eq(&self, other: &SecurityPosture) -> bool
fn eq(&self, other: &SecurityPosture) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecurityPosture
Auto Trait Implementations§
impl Freeze for SecurityPosture
impl RefUnwindSafe for SecurityPosture
impl Send for SecurityPosture
impl Sync for SecurityPosture
impl Unpin for SecurityPosture
impl UnwindSafe for SecurityPosture
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