PostureDeployment

class PostureDeployment : KotlinCustomResource

Represents a deployment of a security posture on a resource. A posture contains user curated policy sets. A posture can be deployed on a project or on a folder or on an organization. To deploy a posture we need to populate the posture's name and its revision_id in the posture deployment configuration. Every update to a deployed posture generates a new revision_id. Thus, the updated revision_id should be used in the respective posture deployment's configuration to deploy that posture on a resource. To get more information about PostureDeployment, see:

Import

PostureDeployment can be imported using any of these accepted formats:

  • {{parent}}/locations/{{location}}/postureDeployments/{{posture_deployment_id}} When using the pulumi import command, PostureDeployment can be imported using one of the formats above. For example:

$ pulumi import gcp:securityposture/postureDeployment:PostureDeployment default {{parent}}/locations/{{location}}/postureDeployments/{{posture_deployment_id}}

Properties

Link copied to clipboard
val createTime: Output<String>

Time the posture deployment was created in UTC.

Link copied to clipboard
val description: Output<String>?

Description of the posture deployment.

Link copied to clipboard

This is an output only optional field which will be filled in case when PostureDeployment state is UPDATE_FAILED or CREATE_FAILED or DELETE_FAILED. It denotes the desired posture to be deployed.

Link copied to clipboard

This is an output only optional field which will be filled in case when PostureDeployment state is UPDATE_FAILED or CREATE_FAILED or DELETE_FAILED. It denotes the desired posture revision_id to be deployed.

Link copied to clipboard
val etag: Output<String>

For Resource freshness validation (https://google.aip.dev/154)

Link copied to clipboard
val failureMessage: Output<String>

This is a output only optional field which will be filled in case where PostureDeployment enters a failure state like UPDATE_FAILED or CREATE_FAILED or DELETE_FAILED. It will have the failure message for posture deployment's CREATE/UPDATE/DELETE methods.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The location of the resource, eg. global`.

Link copied to clipboard
val name: Output<String>

Name of the posture deployment instance.

Link copied to clipboard
val parent: Output<String>

The parent of the resource, an organization. Format should be organizations/{organization_id}.

Link copied to clipboard

ID of the posture deployment.

Link copied to clipboard
val postureId: Output<String>

Relative name of the posture which needs to be deployed. It should be in the format: organizations/{organization_id}/locations/{location}/postures/{posture_id}

Link copied to clipboard

Revision_id the posture which needs to be deployed.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val reconciling: Output<Boolean>

If set, there are currently changes in flight to the posture deployment.

Link copied to clipboard
val state: Output<String>

State of the posture deployment. A posture deployment can be in the following terminal states: ACTIVE, CREATE_FAILED, UPDATE_FAILED, DELETE_FAILED.

Link copied to clipboard
val targetResource: Output<String>

The resource on which the posture should be deployed. This can be in one of the following formats: projects/{project_number}, folders/{folder_number}, organizations/{organization_id}

Link copied to clipboard
val updateTime: Output<String>

Time the posture deployment was updated in UTC.

Link copied to clipboard
val urn: Output<String>