azure-rediscache-effective-write-permission
match (effective permission)
{
"action": "Microsoft.Cache/redis/write",
"resource_type": "Microsoft.Cache/redis"
}
emit
| source type | Identity |
|---|---|
| target type | * |
| source | <principal> |
| target | <Redis cache node (Cache generic_type)> |
| permissions | Microsoft.Cache/redis/write |
Narrative
{principal.name} has effective Microsoft.Cache/redis/write on {cache.name}. This permission covers all cache properties including redisConfiguration (authnotrequired, enableNonSslPort), network access settings, and managed identity assignment.
Raw rule rules/explicit/azure-rediscache.yaml
id: azure-rediscache-effective-write-permission
emits: HasPermission
applies_to:
- azure
match_effective_permission:
action: Microsoft.Cache/redis/write
resource_type: Microsoft.Cache/redis
emit:
source_type: Identity
target_type: '*'
source: <principal>
target: <Redis cache node (Cache generic_type)>
permissions:
- Microsoft.Cache/redis/write
narrative: '{principal.name} has effective Microsoft.Cache/redis/write on {cache.name}. This permission
covers all cache properties including redisConfiguration (authnotrequired, enableNonSslPort), network
access settings, and managed identity assignment.'