azure.advisor-recommendation
Azure Advisor Resource
- example:
Returns all azure advisor recommendations of type Security
policies:
- name: list-advisor-security-recommendations
resource: azure.advisor-recommendation
filters:
- type: value
key: properties.category
op: equal
value_type: normalize
value: security
- name: azure-advisor-recommendations-with-query
description: Query recommendations by category
query:
- filter: "Category eq 'Cost'"
resource: azure.advisor-recommendation
Filters
advisor-recommendation
Filter resources by Azure Advisor Recommendations
Select all categories with ‘all’
- example:
policies:
- name: disks-with-cost-recommendations
resource: azure.disk
filters:
- type: advisor-recommendation
category: Cost
key: '[].properties.recommendationTypeId'
op: contains
value: '48eda464-1485-4dcf-a674-d0905df5054a'