Package-level declarations

Types

Link copied to clipboard
class Posture : KotlinCustomResource

A Posture represents a collection of policy set including its name, state, description and policy sets. A policy set includes set of policies along with their definition. A posture can be created at the organization level. Every update to a deployed posture creates a new posture revision with an updated revision_id. To get more information about Posture, see:

Link copied to clipboard
data class PostureArgs(val description: Output<String>? = null, val location: Output<String>? = null, val parent: Output<String>? = null, val policySets: Output<List<PosturePolicySetArgs>>? = null, val postureId: Output<String>? = null, val state: Output<String>? = null) : ConvertibleToJava<PostureArgs>

A Posture represents a collection of policy set including its name, state, description and policy sets. A policy set includes set of policies along with their definition. A posture can be created at the organization level. Every update to a deployed posture creates a new posture revision with an updated revision_id. To get more information about Posture, see:

Link copied to clipboard
Link copied to clipboard
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:

Link copied to clipboard
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:

Link copied to clipboard
object PostureDeploymentMapper : ResourceMapper<PostureDeployment>
Link copied to clipboard
object PostureMapper : ResourceMapper<Posture>
Link copied to clipboard

Functions

Link copied to clipboard
fun posture(name: String): Posture
suspend fun posture(name: String, block: suspend PostureResourceBuilder.() -> Unit): Posture