last sync: 2023-Jun-19 17:45:01 UTC

Community Policy definition

Deploy Diagnostic Settings on Azure Kubernetes Service and send to EventHub

Name Deploy Diagnostic Settings on Azure Kubernetes Service and send to EventHub
Community-Policy GitHub
Id monitoring_deploy-diagnostic-setting-for-aks-event-hub
Version n/a
details on versioning
Category undefined
Microsoft docs
Description This Policy will deploy Diagnostic Settings on Azure Kubernetes Service with parameters to individually configure the log and metrics configurations
Mode All
Type Custom Community
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, Disabled
Used RBAC Role
Role Name Role Id
Monitoring Contributor 749f88d5-cbae-40b8-bcfc-e573ddc772fa
Azure Event Hubs Data Owner f526a384-b230-433a-b45c-95f59c4a2dec
Azure Kubernetes Service RBAC Reader 7f6c6a51-bcf8-42ba-9220-52d62157d7db
Rule Aliases THEN-ExistenceCondition (5)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/eventHubAuthorizationRuleId microsoft.insights diagnosticSettings properties.eventHubAuthorizationRuleId false
Microsoft.Insights/diagnosticSettings/logs[*] microsoft.insights diagnosticSettings properties.logs[*] false
Microsoft.Insights/diagnosticSettings/logs[*].category microsoft.insights diagnosticSettings properties.logs[*].category false
Microsoft.Insights/diagnosticSettings/logs[*].enabled microsoft.insights diagnosticSettings properties.logs[*].enabled false
Microsoft.Insights/diagnosticSettings/metrics.enabled microsoft.insights diagnosticSettings properties.metrics[*].enabled false
Rule ResourceTypes IF (1)
Microsoft.ContainerService/managedClusters
JSON