Class SecurityPosture
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.
Implements
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1beta2.Data
Assembly: Google.Apis.SecurityCommandCenter.v1beta2.dll
Syntax
public class SecurityPosture : IDirectResponseSchema
Properties
ChangedPolicy
The name of the updated policy, for example, projects/{project_id}/policies/{constraint_name}
.
Declaration
[JsonProperty("changedPolicy")]
public virtual string ChangedPolicy { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Name of the posture, for example, CIS-Posture
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Policy
The ID of the updated policy, for example, compute-policy-1
.
Declaration
[JsonProperty("policy")]
public virtual string Policy { get; set; }
Property Value
Type | Description |
---|---|
string |
PolicyDriftDetails
The details about a change in an updated policy that violates the deployed posture.
Declaration
[JsonProperty("policyDriftDetails")]
public virtual IList<PolicyDriftDetails> PolicyDriftDetails { get; set; }
Property Value
Type | Description |
---|---|
IList<PolicyDriftDetails> |
PolicySet
The name of the updated policyset, for example, cis-policyset
.
Declaration
[JsonProperty("policySet")]
public virtual string PolicySet { get; set; }
Property Value
Type | Description |
---|---|
string |
PostureDeployment
The name of the posture deployment, for example,
organizations/{org_id}/posturedeployments/{posture_deployment_id}
.
Declaration
[JsonProperty("postureDeployment")]
public virtual string PostureDeployment { get; set; }
Property Value
Type | Description |
---|---|
string |
PostureDeploymentResource
The project, folder, or organization on which the posture is deployed, for example,
projects/{project_number}
.
Declaration
[JsonProperty("postureDeploymentResource")]
public virtual string PostureDeploymentResource { get; set; }
Property Value
Type | Description |
---|---|
string |
RevisionId
The version of the posture, for example, c7cfa2a8
.
Declaration
[JsonProperty("revisionId")]
public virtual string RevisionId { get; set; }
Property Value
Type | Description |
---|---|
string |