PostureDeploymentArgs

data class PostureDeploymentArgs(val description: Output<String>? = null, val location: Output<String>? = null, val parent: Output<String>? = null, val postureDeploymentId: Output<String>? = null, val postureId: Output<String>? = null, val postureRevisionId: Output<String>? = null, val targetResource: Output<String>? = null) : ConvertibleToJava<PostureDeploymentArgs>

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}}

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, location: Output<String>? = null, parent: Output<String>? = null, postureDeploymentId: Output<String>? = null, postureId: Output<String>? = null, postureRevisionId: Output<String>? = null, targetResource: Output<String>? = null)

Properties

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

Description of the posture deployment.

Link copied to clipboard
val location: Output<String>? = null

The location of the resource, eg. global`.

Link copied to clipboard
val parent: Output<String>? = null

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

Link copied to clipboard
val postureDeploymentId: Output<String>? = null

ID of the posture deployment.

Link copied to clipboard
val postureId: Output<String>? = null

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
val postureRevisionId: Output<String>? = null

Revision_id the posture which needs to be deployed.

Link copied to clipboard
val targetResource: Output<String>? = null

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}

Functions

Link copied to clipboard
open override fun toJava(): PostureDeploymentArgs