Resource: PostureDeployment
Details for a Posture
deployment on an organization, folder, or project.
You can deploy at most one posture to each organization, folder, or project. The parent resource for a posture deployment is always the organization, even if the deployment applies to a folder or project.
JSON representation |
---|
{ "name": string, "targetResource": string, "state": enum ( |
Fields | |
---|---|
name |
Required. Identifier. The name of the posture deployment, in the format |
target |
Required. The organization, folder, or project where the posture is deployed. Uses one of the following formats:
|
state |
Output only. The state of the posture deployment. |
posture |
Required. The posture used in the deployment, in the format |
posture |
Required. The revision ID of the posture used in the deployment. |
create |
Output only. The time at which the posture deployment 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 deployment 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 deployment. |
etag |
Optional. An opaque identifier for the current version of the posture deployment. To prevent concurrent updates from overwriting each other, always provide the |
annotations |
Optional. The user-specified annotations for the posture deployment. 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 deployment is in the process of being updated. |
desired |
Output only. The posture ID that was specified for the deployment. Present only if the posture deployment is in a failed state. |
desired |
Output only. The revision ID of the posture that was specified for the deployment. Present only if the deployment is in a failed state. |
failure |
Output only. A description of why the posture deployment failed. Present only if the deployment is in a failed state. |
categories[] |
Output only. The categories that the posture deployment belongs to, as determined by the Security Posture API. |
State
The state of a PostureDeployment
.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default value. This value is unused. |
CREATING |
The posture deployment is being created. |
DELETING |
The posture deployment is being deleted. |
UPDATING |
The posture deployment is being updated. |
ACTIVE |
The posture deployment is active and in use. |
CREATE_FAILED |
The posture deployment could not be created. |
UPDATE_FAILED |
The posture deployment could not be updated. |
DELETE_FAILED |
The posture deployment could not be deleted. |
Methods |
|
---|---|
|
Creates a new PostureDeployment in a given project and location. |
|
Deletes a PostureDeployment . |
|
Gets details for a PostureDeployment . |
|
Lists every PostureDeployment in a project and location. |
|
Updates an existing PostureDeployment . |