azure.networkinterface
Network Interface Resource
- example:
This policy will get Network Interfaces that have User added routes.
policies:
- name: get-nic-with-user-routes
resource: azure.networkinterface
filters:
- type: effective-route-table
key: routes.value[].source
op: in
value_type: swap
value: User
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'