azure-kv-eff-secret-get
match (effective permission)
{
"action": "Microsoft.KeyVault/vaults/secrets/getSecret/action",
"resource_type": "Microsoft.KeyVault/vaults/secrets"
}
emit
| source type | Identity |
|---|---|
| target type | * |
| source | <principal> |
| target | <secret node> |
| permissions | Microsoft.KeyVault/vaults/secrets/getSecret/action |
Narrative
{principal.name} effectively has secrets/getSecret on {secret.name}.
Raw rule rules/explicit/azure-keyvault.yaml
id: azure-kv-eff-secret-get
emits: HasPermission
applies_to:
- azure
match_effective_permission:
action: Microsoft.KeyVault/vaults/secrets/getSecret/action
resource_type: Microsoft.KeyVault/vaults/secrets
emit:
source_type: Identity
target_type: '*'
source: <principal>
target: <secret node>
api_source: roleAssignments evaluation | policy evaluation
permissions:
- Microsoft.KeyVault/vaults/secrets/getSecret/action
narrative: '{principal.name} effectively has secrets/getSecret on {secret.name}.'