Azure / Azure/template-analyzer
Add support for the evaluate keyword
Open
enhancement
good first issue
revisit
- Dominant language
- C#
- Stars
- 143
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
The evaluate keyword is to be combined with the where clause. This evaluates the condition encompassed against the scope specified in the where clause. See [Evaluate documentation](https://github.com/Azure/template-analyzer/blob/main/docs/authoring-json-rules.md#evaluate-) for more details
## Example
``` javascript
{
"evaluate": {
"resourceType": "Microsoft.Compute/virtualMachines",
"path": "properties.osProfile.adminPassword",
"hasValue": false // Evaluates to `true`
} // Evaluates to the same as the inner evaluation (`true`)
}
```
Contributor guide
Assessment
This issue has not been assessed yet.