For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/code_security/iac_security/iac_rules/terraform-azure-dashboard-is-enabled.md.
A documentation index is available at /llms.txt.
This check verifies if the Kubernetes Dashboard add-on is enabled in the cluster configuration by examining the addon_profile block and specifically whether kube_dashboard { enabled = true } has been set. Enabling the Kubernetes Dashboard can expose sensitive cluster information and administrative controls via a web interface, increasing the risk of unauthorized access if not properly secured or restricted. For better security, the dashboard should be disabled by setting enabled = false: