azure-appconfig-has-permission-read
match (effective permission)
{
"action": "Microsoft.AppConfiguration/configurationStores/keyValues/read",
"scope_type": "resource|resourceGroup|subscription"
}
emit
| source type | Identity |
|---|---|
| target type | * |
| source | <principal> |
| target | <configuration store node> |
| permissions | Microsoft.AppConfiguration/configurationStores/keyValues/read |
Narrative
{principal.name} can read key-values in {store.name} (keyValues/read).
Raw rule rules/explicit/azure-appconfig.yaml
id: azure-appconfig-has-permission-read
emits: HasPermission
applies_to:
- azure
match_effective_permission:
action: Microsoft.AppConfiguration/configurationStores/keyValues/read
scope_type: resource|resourceGroup|subscription
emit:
source_type: Identity
target_type: '*'
source: <principal>
target: <configuration store node>
api_source: role assignment evaluation (App Configuration Data Reader/Owner)
permissions:
- Microsoft.AppConfiguration/configurationStores/keyValues/read
narrative: '{principal.name} can read key-values in {store.name} (keyValues/read).'