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

Apply Diagnostic Settings for Azure Key Vault to a regional Event Hub

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy ebe03a92-c4ce-4289-a0da-b0ac4b2c681e (1.0.0) to Azure
Display name Apply Diagnostic Settings for Azure Key Vault to a regional Event Hub
Id ebe03a92-c4ce-4289-a0da-b0ac4b2c681e
Version 1.0.0
Details on versioning
Category Monitoring
Microsoft Learn
Description This policy automatically deploys diagnostic settings for Azure Key Vault to a regional Event Hub.
Mode Indexed
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 (3)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/eventHubName microsoft.insights diagnosticSettings properties.eventHubName True False
Microsoft.Insights/diagnosticSettings/logs.enabled microsoft.insights diagnosticSettings properties.logs[*].enabled True False
Microsoft.Insights/diagnosticSettings/metrics.enabled microsoft.insights diagnosticSettings properties.metrics[*].enabled True False
Rule resource types IF (1)
Microsoft.KeyVault/vaults
JSON
EPAC
Deploy policy ebe03a92-c4ce-4289-a0da-b0ac4b2c681e (1.0.0) to Azure