PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRule

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val allowAll: Boolean? = null

Setting this to true means that all values are allowed. This field can be set only in policies for list constraints.

Link copied to clipboard

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. This page details the objects and attributes that are used to the build the CEL expressions for custom access levels - https://cloud.google.com/access-context-manager/docs/custom-access-level-spec. Structure is documented below.

Link copied to clipboard
val denyAll: Boolean? = null

Setting this to true means that all values are denied. This field can be set only in policies for list constraints.

Link copied to clipboard
val enforce: Boolean? = null

If true, then the policy is enforced. If false, then any configuration is acceptable. This field can be set only in policies for boolean constraints.

Link copied to clipboard

List of values to be used for this policy rule. This field can be set only in policies for list constraints. Structure is documented below.