checkov
checkov copied to clipboard
feat(arm): SQLDatabaseZoneRedundant
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Description
We converted the check 'SQLDatabaseZoneRedundant' from TERRAFORM language to the ARM language so that it also works on resources that are defined in the ARM language.
Fixes # (issue)
Description
Ensure the Azure SQL Database Namespace is zone redundant.
Fix
*To ensure the Azure SQL Database Namespace is zone redundant in ARM templates, ensure that the relevant resource is configured with the appropriate zoneRedundant property set to true. *
Checklist:
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] I have added tests that prove my feature, policy, or fix is effective and works
- [x] New and existing tests pass locally with my changes