azure.monitor-log-profile
Azure Monitor Log Profile Resource
- example:
Returns Monitor Log Profile resources
policies:
- name: basic-monitor-log-profile
resource: azure.monitor-log-profile
filters:
- type: value
key: categories
op: in
value: ["Delete"]
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'
monitor-storage
Check monitor log profile storage
- example:
policies:
- name: test-monitor-storage
resource: azure.monitor-log-profile
filters:
- type: monitor-storage
key: properties.encryption.keySource
op: eq
value_type: normalize
value: microsoft.keyvault