last sync: 2025-Aug-20 17:22:59 UTC

Deploy diagnostic setting for key vault to stream to event hub

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy 87837b80-65c9-4c67-9b49-097ea38c9510 (1.0.0) to Azure
Display name Deploy diagnostic setting for key vault to stream to event hub
Id 87837b80-65c9-4c67-9b49-097ea38c9510
Version 1.0.0
Details on versioning
Category Key Vault
Microsoft Learn
Description Automatically configure a diagnostic setting for key vault resources which will stream to a specified event hub namespace.
Mode all
Type Custom Community
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, AuditIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Contributor b24988ac-6180-42a0-ab88-20f7382dd24c
Rule aliases THEN-ExistenceCondition (1)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/eventHubAuthorizationRuleId microsoft.insights diagnosticSettings properties.eventHubAuthorizationRuleId True False
Rule resource types IF (1)
Microsoft.KeyVault/vaults
JSON
EPAC
Deploy policy 87837b80-65c9-4c67-9b49-097ea38c9510 (1.0.0) to Azure