azure-rediscache-effective-listkeys-permission
match (effective permission)
{
"action": "Microsoft.Cache/redis/listKeys/action",
"resource_type": "Microsoft.Cache/redis"
}
emit
| source type | Identity |
|---|---|
| target type | * |
| source | <principal> |
| target | <Redis cache node (Cache generic_type)> |
| permissions | Microsoft.Cache/redis/listKeys/action |
Narrative
{principal.name} has effective Microsoft.Cache/redis/listKeys/action on {cache.name}. This ARM control-plane permission allows retrieval of the primary and secondary access keys from any network, regardless of the cache firewall or publicNetworkAccess configuration.
Raw rule rules/explicit/azure-rediscache.yaml
id: azure-rediscache-effective-listkeys-permission
emits: HasPermission
applies_to:
- azure
match_effective_permission:
action: Microsoft.Cache/redis/listKeys/action
resource_type: Microsoft.Cache/redis
emit:
source_type: Identity
target_type: '*'
source: <principal>
target: <Redis cache node (Cache generic_type)>
permissions:
- Microsoft.Cache/redis/listKeys/action
narrative: '{principal.name} has effective Microsoft.Cache/redis/listKeys/action on {cache.name}. This
ARM control-plane permission allows retrieval of the primary and secondary access keys from any network,
regardless of the cache firewall or publicNetworkAccess configuration.'