Skip to content

Instantly share code, notes, and snippets.

@dtkloud
Created March 18, 2019 03:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dtkloud/a8b087298bee4df319574ebb3ee07cf3 to your computer and use it in GitHub Desktop.
Save dtkloud/a8b087298bee4df319574ebb3ee07cf3 to your computer and use it in GitHub Desktop.
{
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Compute/virtualmachines"
},
{
"field": "tags.compliance",
"contains": "VM001"
}
]
},
"then": {
"effect": "audit"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment