Google Cloud Security Command Center v1 API - Class SecurityPosture (3.20.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
NameDescription
otherSecurityPosture

Properties

ChangedPolicy

public string ChangedPolicy { get; set; }

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

Property Value
TypeDescription
string

Name

public string Name { get; set; }

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

Property Value
TypeDescription
string

Policy

public string Policy { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
RepeatedFieldSecurityPostureTypesPolicyDriftDetails

PolicySet

public string PolicySet { get; set; }

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

Property Value
TypeDescription
string

PostureDeployment

public string PostureDeployment { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
string

RevisionId

public string RevisionId { get; set; }

The version of the posture, for example, c7cfa2a8.

Property Value
TypeDescription
string