Azure / Azure/template-analyzer

Add support for the count operator

Open
#97 0 comments 0 reactions 0 assignees View on GitHub
enhancement LOE:5
Dominant language
C#
Stars
143
Forks
47
PR merge metrics
No merged PRs in 30d

Description

This operator counts all matching elements to the condition and compares it to the corresponding operator

## Example
``` javascript
"count": {
"path": "properties.ipConfigurations[*]",
"where": {
"field": "subnet.id",
"regex": "subnets/AzureFirewallSubnet$"
}
},
"equals": 1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.