azure.policyassignments

Policy Assignment Resource

example

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