Resource: Posture
The details of a posture.
JSON representation |
---|
{ "name": string, "state": enum ( |
Fields | |
---|---|
name |
Required. Identifier. The name of the posture, in the format |
state |
Required. The state of the posture at the specified |
revision |
Output only. Immutable. An opaque eight-character string that identifies the revision of the posture. A posture can have multiple revisions; when you deploy a posture, you deploy a specific revision of the posture. |
create |
Output only. The time at which the posture was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The time at which the posture was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
description |
Optional. A description of the posture. |
policy |
Required. The |
etag |
Optional. An opaque identifier for the current version of the posture at the specified To prevent concurrent updates from overwriting each other, always provide the |
annotations |
Optional. The user-specified annotations for the posture. For details about the values you can use in an annotation, see AIP-148: Standard fields. An object containing a list of |
reconciling |
Output only. Whether the posture is in the process of being updated. |
categories[] |
Output only. The categories that the posture belongs to, as determined by the Security Posture API. |
State
The state of a Posture
.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default value. This value is unused. |
DEPRECATED |
The posture is deprecated and can no longer be deployed. |
DRAFT |
The posture is a draft and is not ready to deploy. |
ACTIVE |
The posture is complete and ready to deploy. |
Methods |
|
---|---|
|
Creates a new Posture . |
|
Deletes all revisions of a Posture . |
|
Extracts existing policies from an organization, folder, or project, and applies them to another organization, folder, or project as a Posture . |
|
Gets a single revision of a Posture . |
|
Lists the most recent revisions of all Posture resources in a specified organization and location. |
|
Lists all revisions of a single Posture . |
|
Updates a revision of an existing Posture . |