Created
February 19, 2021 17:11
-
-
Save jmassardo/6e22c60276e2a19c899522dc6cba1fbf to your computer and use it in GitHub Desktop.
Resources in ARM Templates should not use the `latest` image version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deny[msg] { | |
input.resources[_].properties.storageProfile.imageReference.version == "latest" | |
msg := "Resources should not use the `latest` image version" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment