Security Command Center v2 API - Class SecurityPosture.Types.PolicyDriftDetails (1.0.0)

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

Reference documentation and code samples for the Security Command Center v2 API class SecurityPosture.Types.PolicyDriftDetails.

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

Inheritance

object > SecurityPosture.Types.PolicyDriftDetails

Namespace

Google.Cloud.SecurityCenter.V2

Assembly

Google.Cloud.SecurityCenter.V2.dll

Constructors

PolicyDriftDetails()

public PolicyDriftDetails()

PolicyDriftDetails(PolicyDriftDetails)

public PolicyDriftDetails(SecurityPosture.Types.PolicyDriftDetails other)
Parameter
Name Description
other SecurityPostureTypesPolicyDriftDetails

Properties

DetectedValue

public string DetectedValue { get; set; }

The detected value that violates the deployed posture, for example, false or allowed_values={"projects/22831892"}.

Property Value
Type Description
string

ExpectedValue

public string ExpectedValue { get; set; }

The value of this field that was configured in a posture, for example, true or allowed_values={"projects/29831892"}.

Property Value
Type Description
string

Field

public string Field { get; set; }

The name of the updated field, for example constraint.implementation.policy_rules[0].enforce

Property Value
Type Description
string