diff --git a/docs/policy.md b/docs/policy.md index 44256506..694cf226 100644 --- a/docs/policy.md +++ b/docs/policy.md @@ -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