Skip to content

Commit

Permalink
Update docs/policy.md
Browse files Browse the repository at this point in the history
  • Loading branch information
serboctor authored Dec 20, 2022
1 parent d98c4b1 commit 888e1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Tenant policies has a special tag `tenancy`.

Starting from version `v2.2.0`, the policy agent will support mutating resources.

To enable mutating resouruces. Policies must have field `mutate` set to `true` and the rego code should return the `violating_key` and the `recommended_value` in the violation response. The mutation webhook will use the `violating_key` and `recommended_value` to mutate the resource and return the new mutated resource.
To enable mutating resources policies must have field `mutate` set to `true` and the rego code should return the `violating_key` and the `recommended_value` in the violation response. The mutation webhook will use the `violating_key` and `recommended_value` to mutate the resource and return the new mutated resource.

Example

Expand Down

0 comments on commit 888e1cf

Please sign in to comment.