pub struct SecurityPosture {
pub changed_policy: Option<String>,
pub name: Option<String>,
pub policy: Option<String>,
pub policy_drift_details: Option<Vec<PolicyDriftDetails>>,
pub policy_set: Option<String>,
pub posture_deployment: Option<String>,
pub posture_deployment_resource: Option<String>,
pub revision_id: Option<String>,
}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.
This type is not used in any activity, and only used as part of another schema.
Fields§
§changed_policy: Option<String>The name of the updated policy, for example, projects/{project_id}/policies/{constraint_name}.
name: Option<String>Name of the posture, for example, CIS-Posture.
policy: Option<String>The ID of the updated policy, for example, compute-policy-1.
policy_drift_details: Option<Vec<PolicyDriftDetails>>The details about a change in an updated policy that violates the deployed posture.
policy_set: Option<String>The name of the updated policyset, for example, cis-policyset.
posture_deployment: Option<String>The name of the posture deployment, for example, organizations/{org_id}/posturedeployments/{posture_deployment_id}.
posture_deployment_resource: Option<String>The project, folder, or organization on which the posture is deployed, for example, projects/{project_number}.
revision_id: Option<String>The version of the posture, for example, c7cfa2a8.
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 more