last sync: 2023-Sep-29 17:58:48 UTC

Azure Policy definition

Deploy - Configure diagnostic settings for Azure Kubernetes Service to Log Analytics workspace

Source Azure Portal
Display name Deploy - Configure diagnostic settings for Azure Kubernetes Service to Log Analytics workspace
Id 6c66c325-74c8-42fd-a286-a74b0e2939d8
Version 3.0.0
details on versioning
Category Kubernetes
Microsoft docs
Description Deploys the diagnostic settings for Azure Kubernetes Service to stream resource logs to a Log Analytics workspace.
Mode Indexed
Type BuiltIn
Preview False
Deprecated False
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Monitoring Contributor 749f88d5-cbae-40b8-bcfc-e573ddc772fa
Log Analytics Contributor 92aaf0da-9dab-42b6-94a3-d43ce8d16293
Rule aliases THEN-ExistenceCondition (7)
Alias Namespace ResourceType DefaultPath Modifiable
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[*] microsoft.insights diagnosticSettings properties.metrics[*] false
Microsoft.Insights/diagnosticSettings/metrics[*].category microsoft.insights diagnosticSettings properties.metrics[*].category false
Microsoft.Insights/diagnosticSettings/metrics[*].enabled microsoft.insights diagnosticSettings properties.metrics[*].enabled false
Microsoft.Insights/diagnosticSettings/workspaceId microsoft.insights diagnosticSettings properties.workspaceId false
Rule resource types IF (1)
Microsoft.ContainerService/managedClusters
Compliance Not a Compliance control
Initiatives usage
Initiative DisplayName Initiative Id Initiative Category State Type
Deploy Diagnostic Settings to Azure Services Deploy-Diagnostics-LogAnalytics Monitoring GA ALZ
History
Date/Time (UTC ymd) (i) Change type Change detail
2022-07-01 16:32:34 change Major (2.0.0 > 3.0.0)
2022-04-29 18:06:01 change Major (1.0.0 > 2.0.0)
2021-02-23 16:24:42 add 6c66c325-74c8-42fd-a286-a74b0e2939d8
JSON compare
compare mode: version left: version right:
JSON
api-version=2021-06-01