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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eSecurityPosture\u003c/code\u003e class within the Google Cloud Security Command Center v1 API, specifically for .NET development, covering versions from 2.2.0 to the latest 3.24.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecurityPosture\u003c/code\u003e class represents a security posture deployed on Google Cloud, managed by the Security Command Center Posture Management service, which contains policy sets that enforce security rules.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSecurityPosture\u003c/code\u003e class include \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003ePolicy\u003c/code\u003e, \u003ccode\u003ePolicySet\u003c/code\u003e, \u003ccode\u003ePolicyDriftDetails\u003c/code\u003e, \u003ccode\u003ePostureDeployment\u003c/code\u003e, \u003ccode\u003ePostureDeploymentResource\u003c/code\u003e, and \u003ccode\u003eRevisionId\u003c/code\u003e, which describe various aspects of the posture and its deployment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecurityPosture\u003c/code\u003e Class has 2 constructors, one default, and one that takes another instance of the \u003ccode\u003eSecurityPosture\u003c/code\u003e class, while also implementing multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eChangedPolicy\u003c/code\u003e property represents the updated policy name, in the format of \u003ccode\u003eprojects/{project_id}/policies/{constraint_name}\u003c/code\u003e, while the \u003ccode\u003ePolicyDriftDetails\u003c/code\u003e property contains information about changes in updated policies that violate the posture.\u003c/p\u003e\n"]]],[],null,[]]