SecurityPosture class

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.

Constructors

SecurityPosture({String? changedPolicy, String? name, String? policy, List<PolicyDriftDetails>? policyDriftDetails, String? policySet, String? postureDeployment, String? postureDeploymentResource, String? revisionId})
SecurityPosture.fromJson(Map json_)

Properties

changedPolicy String?
The name of the updated policy, for example, projects/{project_id}/policies/{constraint_name}.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
Name of the posture, for example, CIS-Posture.
getter/setter pair
policy String?
The ID of the updated policy, for example, compute-policy-1.
getter/setter pair
policyDriftDetails List<PolicyDriftDetails>?
The details about a change in an updated policy that violates the deployed posture.
getter/setter pair
policySet String?
The name of the updated policyset, for example, cis-policyset.
getter/setter pair
postureDeployment String?
The name of the posture deployment, for example, organizations/{org_id}/posturedeployments/{posture_deployment_id}.
getter/setter pair
postureDeploymentResource String?
The project, folder, or organization on which the posture is deployed, for example, projects/{project_number}.
getter/setter pair
revisionId String?
The version of the posture, for example, c7cfa2a8.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited