Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions docs/resources/policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ description: |-
- `environment_progression` (Block List) Environment progression rules (see [below for nested schema](#nestedblock--environment_progression))
- `gradual_rollout` (Block List) Gradual rollout rules (see [below for nested schema](#nestedblock--gradual_rollout))
- `metadata` (Map of String) The metadata of the policy
- `plan_validation_opa` (Block List) OPA-based plan validation rules. Each rule must define a `deny` rule set following the Conftest convention. (see [below for nested schema](#nestedblock--plan_validation_opa))
- `priority` (Number) The priority of the policy (higher is evaluated first)
- `verification` (Block List) Verification rules (see [below for nested schema](#nestedblock--verification))
- `version_cooldown` (Block List) Version cooldown rules (see [below for nested schema](#nestedblock--version_cooldown))
Expand Down Expand Up @@ -120,6 +121,24 @@ Read-Only:
- `id` (String) Rule ID


<a id="nestedblock--plan_validation_opa"></a>
### Nested Schema for `plan_validation_opa`

Required:

- `name` (String) Human-readable rule name; used in check output to identify which rule produced a violation.
- `rego` (String) Rego source code. Follows Conftest conventions for emitting violations.

Optional:

- `description` (String) Optional human-readable explanation of the rule.

Read-Only:

- `created_at` (String) Rule creation timestamp
- `id` (String) Rule ID


<a id="nestedblock--verification"></a>
### Nested Schema for `verification`

Expand Down
Loading