azure-kv-eff-key-sign

explicit azure emits HasPermission

match (effective permission)

{ "action": "Microsoft.KeyVault/vaults/keys/sign/action", "resource_type": "Microsoft.KeyVault/vaults/keys" }

emit

source typeIdentity
target type*
source<principal>
target<key node>
permissionsMicrosoft.KeyVault/vaults/keys/sign/action

Narrative

{principal.name} effectively has keys/sign on {key.name}.

Raw rule rules/explicit/azure-keyvault.yaml

id: azure-kv-eff-key-sign
emits: HasPermission
applies_to:
- azure
match_effective_permission:
  action: Microsoft.KeyVault/vaults/keys/sign/action
  resource_type: Microsoft.KeyVault/vaults/keys
emit:
  source_type: Identity
  target_type: '*'
  source: <principal>
  target: <key node>
  permissions:
  - Microsoft.KeyVault/vaults/keys/sign/action
  narrative: '{principal.name} effectively has keys/sign on {key.name}.'
move · open · esc close