AWS verifiedpermissions: Clarify policy validation applies only to new create/update attempts
Summary
Rewords the policy validation mode documentation to state that validation applies to new create/update attempts and that previously created policies are not re-validated, while retaining the recommendation to enable validation in testing and production.
Security assessment
This documents authorization-policy validation semantics, clarifying that enabling validation does not retroactively re-validate existing policies — a security-relevant behavioral detail for authorization correctness. It is guidance/hardening rather than a fix for a specific vulnerability, so it is not security_issue_related but does add security documentation.
Evidence
When you turn on policy validation, all new attempts to create or update a policy or policy template are validated against the schema in the policy store. Previously created policies do not get re-validated.
Diff
diff --git a/verifiedpermissions/latest/userguide/policy-validation-mode.md b/verifiedpermissions/latest/userguide/policy-validation-mode.md index 4f869e1..137337a 100644 --- a//verifiedpermissions/latest/userguide/policy-validation-mode.md +++ b//verifiedpermissions/latest/userguide/policy-validation-mode.md @@ -13 +13 @@ You can set the policy validation mode in Verified Permissions to control whethe -When you turn on policy validation, all attempts to create or update a policy or policy template are validated against the schema in the policy store. Verified Permissions rejects the request attempt if validation fails. For this reason, we recommend leaving validation off while you're developing your application and turning it on for testing and leaving it on while your application is in production. +When you turn on policy validation, all new attempts to create or update a policy or policy template are validated against the schema in the policy store. Previously created policies do not get re-validated. When policy validation is enabled, Verified Permissions rejects the request attempt if validation fails. For this reason, we recommend leaving validation off while you're developing your application and turning it on for testing and leaving it on while your application is in production.