last sync: 2025-May-14 18:52:07 UTC

Apply Diagnostic Settings for AKS Microsoft.ContainerService/managedClusters to a Regional Event Hub

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy C8586D4AF28A1CEC8539D9FCE8F59B71 (1.0.0) to Azure
Display name Apply Diagnostic Settings for AKS Microsoft.ContainerService/managedClusters to a Regional Event Hub
Id C8586D4AF28A1CEC8539D9FCE8F59B71
Version 1.0.0
Details on versioning
Category Monitoring
Microsoft Learn
Description This policy automatically deploys diagnostic settings to Apply Diagnostic Settings for AKS Microsoft.ContainerService/managedClusters to a Regional Event Hub.
Mode Indexed
Type Custom Community
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, AuditIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Log Analytics Contributor 92aaf0da-9dab-42b6-94a3-d43ce8d16293
Azure Event Hubs Data Owner f526a384-b230-433a-b45c-95f59c4a2dec
Rule aliases THEN-ExistenceCondition (4)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/eventHubAuthorizationRuleId microsoft.insights diagnosticSettings properties.eventHubAuthorizationRuleId True False
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.ContainerService/managedClusters
JSON
EPAC
Deploy policy C8586D4AF28A1CEC8539D9FCE8F59B71 (1.0.0) to Azure