Google Cloud Security Command Center v1 API - Class SecurityPosture.Types.PolicyDriftDetails (3.19.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 Google Cloud Security Command Center v1 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.V1

Assembly

Google.Cloud.SecurityCenter.V1.dll

Constructors

PolicyDriftDetails()

public PolicyDriftDetails()

PolicyDriftDetails(PolicyDriftDetails)

public PolicyDriftDetails(SecurityPosture.Types.PolicyDriftDetails other)
Parameter
NameDescription
otherSecurityPostureTypesPolicyDriftDetails

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

Field

public string Field { get; set; }

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

Property Value
TypeDescription
string