azure-appconfig-has-permission-listkeys

explicit azure emits HasPermission

match (effective permission)

{ "action": "Microsoft.AppConfiguration/configurationStores/listKeys/action", "scope_type": "resource|resourceGroup|subscription" }

emit

source typeIdentity
target type*
source<principal>
target<configuration store node>
permissionsMicrosoft.AppConfiguration/configurationStores/listKeys/action

Narrative

{principal.name} can list access keys of {store.name} (listKeys/action).

Raw rule rules/explicit/azure-appconfig.yaml

id: azure-appconfig-has-permission-listkeys
emits: HasPermission
applies_to:
- azure
match_effective_permission:
  action: Microsoft.AppConfiguration/configurationStores/listKeys/action
  scope_type: resource|resourceGroup|subscription
emit:
  source_type: Identity
  target_type: '*'
  source: <principal>
  target: <configuration store node>
  api_source: role assignment evaluation (Contributor/Owner)
  permissions:
  - Microsoft.AppConfiguration/configurationStores/listKeys/action
  narrative: '{principal.name} can list access keys of {store.name} (listKeys/action).'
move · open · esc close