Azure Policy Samples
This page is an index of Azure Policy built-in policy definitions and language use patterns.
Built-ins
Patterns
The following are examples of different patterns using the language and operators in Azure Policy:
- Logical operators
- Fields
- Parameters
- Effect details
- Using tags
- Value operator
- Count operator
- Grouping policy definitions in an initiative
- Deploying resources with deployIfNotExists
Regulatory Compliance
The following are the Regulatory Compliance built-ins:
- Azure Security Benchmark v2
- Azure Security Benchmark v1
- CIS Microsoft Azure Foundations Benchmark v1.1.0
- CMMC Level 3
- HIPAA HITRUST 9.2
- NIST SP 800-53 R4
- NIST SP 800-171 R2
Other Samples
Next steps
- See the built-ins on the Azure Policy GitHub repo.
- Review the Azure Policy definition structure.
- Review Understanding policy effects.