PSRule.Rules.Azure
PSRule.Rules.Azure copied to clipboard
Add rule for setting policy definition version metadata
Rule request
Suggested rule change
Policy definitions and initiatives can set the version metadata. This is used by built-in policies and recommended in Azure docs.
Applies to the following
The rule applies to the following:
- Resource type: Microsoft.Authorization/policyDefinitions and Microsoft.Authorization/policySetDefinitions