Skip to content

Commit 8084653

Browse files
Merge pull request #252370 from kenieva/main
DenyAction and Protected state GA
2 parents dcf5c60 + 2267dca commit 8084653

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

articles/governance/policy/concepts/compliance-states.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ An applicable resource has a compliance state of exempt for a policy assignment
5959

6060
Unknown is the default compliance state for definitions with `manual` effect, unless the default has been explicitly set to compliant or non-compliant. This state indicates that an [attestation](./attestation-structure.md) of compliance is warranted. This compliance state only occurs for policy assignments with `manual` effect.
6161

62-
### Protected (preview)
62+
### Protected
6363

64-
Protected state signfies that the resource is covered under an assignment with a [denyAction](./effects.md#denyaction-preview) effect.
64+
Protected state signifies that the resource is covered under an assignment with a [denyAction](./effects.md#denyaction) effect.
6565

6666
### Not registered
6767

articles/governance/policy/concepts/definition-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ In the **Then** block, you define the effect that happens when the **If** condit
405405
<condition> | <logical operator>
406406
},
407407
"then": {
408-
"effect": "deny | audit | modify | append | auditIfNotExists | deployIfNotExists | disabled"
408+
"effect": "deny | audit | modify | denyAction | append | auditIfNotExists | deployIfNotExists | disabled"
409409
}
410410
}
411411
```

articles/governance/policy/concepts/effects.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ These effects are currently supported in a policy definition:
1919
- [Audit](#audit)
2020
- [AuditIfNotExists](#auditifnotexists)
2121
- [Deny](#deny)
22-
- [DenyAction (preview)](#denyaction-preview)
22+
- [DenyAction](#denyaction)
2323
- [DeployIfNotExists](#deployifnotexists)
2424
- [Disabled](#disabled)
2525
- [Manual](#manual)
@@ -481,9 +481,9 @@ location of the Constraint template to use in Kubernetes to limit the allowed co
481481
}
482482
```
483483

484-
## DenyAction (preview)
484+
## DenyAction
485485

486-
`DenyAction` is used to block requests on intended action to resources. The only supported action today is `DELETE`. This effect helps prevent any accidental deletion of critical resources.
486+
`DenyAction` is used to block requests based on intended action to resources at scale. The only supported action today is `DELETE`. This effect and action name helps prevent any accidental deletion of critical resources.
487487

488488
### DenyAction evaluation
489489

articles/governance/policy/concepts/evaluate-impact.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ reviews the request. When the policy definition effect is [Modify](./effects.md#
1212
[Append](./effects.md#deny), or [DeployIfNotExists](./effects.md#deployifnotexists), Policy alters
1313
the request or adds to it. When the policy definition effect is [Audit](./effects.md#audit) or
1414
[AuditIfNotExists](./effects.md#auditifnotexists), Policy causes an Activity log entry to be created
15-
for new and updated resources. And when the policy definition effect is [Deny](./effects.md#deny) or [DenyAction](./effects.md#denyaction-preview), Policy stops the creation or alteration of the request.
15+
for new and updated resources. And when the policy definition effect is [Deny](./effects.md#deny) or [DenyAction](./effects.md#denyaction), Policy stops the creation or alteration of the request.
1616

1717
These outcomes are exactly as desired when you know the policy is defined correctly. However, it's
1818
important to validate a new policy works as intended before allowing it to change or block work. The

0 commit comments

Comments
 (0)