Class SecurityPosture (1.31.0)

SecurityPosture(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

Name Description
name str
Name of the posture, for example, CIS-Posture.
revision_id str
The version of the posture, for example, c7cfa2a8.
posture_deployment_resource str
The project, folder, or organization on which the posture is deployed, for example, projects/{project_number}.
posture_deployment str
The name of the posture deployment, for example, organizations/{org_id}/posturedeployments/{posture_deployment_id}.
changed_policy str
The name of the updated policy, for example, projects/{project_id}/policies/{constraint_name}.
policy_set str
The name of the updated policyset, for example, cis-policyset.
policy str
The ID of the updated policy, for example, compute-policy-1.
policy_drift_details MutableSequence[google.cloud.securitycenter_v1.types.SecurityPosture.PolicyDriftDetails]
The details about a change in an updated policy that violates the deployed posture.

Classes

PolicyDriftDetails

PolicyDriftDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The policy field that violates the deployed posture and its expected and detected values.