Policy assignments¶
Filters¶
- Standard Value Filter (see Generic Filters)
Model: Profile
Actions¶
ARM Resource Actions (see Generic Actions)
Example Policies¶
This policy will find all policy assignments named ‘test-assignment’ and delete them.
policies:
- name: remove-test-assignments
resource: azure.policyassignments
filters:
- type: value
key: properties.displayName
value_type: normalize
op: eq
value: 'test-assignment'
actions:
- type: delete