Google Cloud Security Command Center v1 API - Class SecurityPosture (3.21.0)

public sealed class SecurityPosture : IMessage<SecurityPosture>, IEquatable<SecurityPosture>, IDeepCloneable<SecurityPosture>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Security Command Center v1 API 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.

Inheritance

object > SecurityPosture

Namespace

Google.Cloud.SecurityCenter.V1

Assembly

Google.Cloud.SecurityCenter.V1.dll

Constructors

SecurityPosture()

public SecurityPosture()

SecurityPosture(SecurityPosture)

public SecurityPosture(SecurityPosture other)
Parameter
Name Description
other SecurityPosture

Properties

ChangedPolicy

public string ChangedPolicy { get; set; }

The name of the updated policy, for example, projects/{project_id}/policies/{constraint_name}.

Property Value
Type Description
string

Name

public string Name { get; set; }

Name of the posture, for example, CIS-Posture.

Property Value
Type Description
string

Policy

public string Policy { get; set; }

The ID of the updated policy, for example, compute-policy-1.

Property Value
Type Description
string

PolicyDriftDetails

public RepeatedField<SecurityPosture.Types.PolicyDriftDetails> PolicyDriftDetails { get; }

The details about a change in an updated policy that violates the deployed posture.

Property Value
Type Description
RepeatedFieldSecurityPostureTypesPolicyDriftDetails

PolicySet

public string PolicySet { get; set; }

The name of the updated policyset, for example, cis-policyset.

Property Value
Type Description
string

PostureDeployment

public string PostureDeployment { get; set; }

The name of the posture deployment, for example, organizations/{org_id}/posturedeployments/{posture_deployment_id}.

Property Value
Type Description
string

PostureDeploymentResource

public string PostureDeploymentResource { get; set; }

The project, folder, or organization on which the posture is deployed, for example, projects/{project_number}.

Property Value
Type Description
string

RevisionId

public string RevisionId { get; set; }

The version of the posture, for example, c7cfa2a8.

Property Value
Type Description
string