azure-kv-contains-key
match (record)
{
"field": "kid",
"resource_type": "Microsoft.KeyVault/vaults/keys"
}
emit
| source type | AdministrativeBoundary |
|---|---|
| target type | * |
| source | <vault node> |
| target | <key node> |
Narrative
{vault.name} contains key {key.name}.
Raw rule rules/explicit/azure-keyvault.yaml
id: azure-kv-contains-key
emits: Contains
applies_to:
- azure
match_record:
resource_type: Microsoft.KeyVault/vaults/keys
field: kid
emit:
source_type: AdministrativeBoundary
target_type: '*'
source: <vault node>
target: <key node>
api_source: az keyvault key list
evidence_field: kid
narrative: '{vault.name} contains key {key.name}.'