Creates a new Posture resource.
If a Posture with the specified name already exists in the specified
organization and location, the long running operation returns a
ALREADY_EXISTS error.
Extracts existing policies on a workload as a posture.
If a Posture on the given workload already exists, the long running
operation returns a ALREADY_EXISTS error.
Gets a posture in a given organization and location.
User must provide revision_id to retrieve a specific revision of the
resource.
NOT_FOUND error is returned if the revision_id or the Posture name does not
exist. In case revision_id is not provided then the latest Posture revision
by UpdateTime is returned.
Gets a PostureTemplate.
User must provide revision_id to retrieve a specific revision of the
resource.
NOT_FOUND error is returned if the revision_id or the PostureTemplate name
does not exist. In case revision_id is not provided then the
PostureTemplate with latest revision_id is returned.
(-- This option restricts the visibility of the API to only projects that
will
(-- be labeled as PREVIEW or GOOGLE_INTERNAL by the service.
(-- option (google.api.api_visibility).restriction =
"PREVIEW,GOOGLE_INTERNAL"; Postures Lists Postures in a given organization
and location. In case a posture has multiple revisions, the latest revision
as per UpdateTime will be returned.
Updates an existing Posture.
A new revision of the posture will be created if the revision to be
updated is currently deployed on a workload.
Returns a google.rpc.Status with google.rpc.Code.NOT_FOUND if the
Posture does not exist.
Returns a google.rpc.Status with google.rpc.Code.ABORTED if the etag
supplied in the request does not match the persisted etag of the Posture.
Updatable fields are state, description and policy_sets.
State update operation cannot be clubbed with update of description and
policy_sets.
An ACTIVE posture can be updated to both DRAFT or DEPRECATED states.
Postures in DRAFT or DEPRECATED states can only be updated to ACTIVE state.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]