Kubernetes dashboard must not be enabled.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-242395CNTR-K8-000420SV-242395r960792_ruleCCI-000213medium
Description
While the Kubernetes dashboard is not inherently insecure on its own, it is often coupled with a misconfiguration of Role-Based Access control (RBAC) permissions that can unintentionally over-grant access. It is not commonly protected with "NetworkPolicies", preventing all pods from being able to reach it. In increasingly rare circumstances, the Kubernetes dashboard is exposed publicly to the internet.
STIGDate
Kubernetes Security Technical Implementation Guide2025-05-16

Details

Check Text (C-242395r960792_chk)

From the Control Plane, run the command: kubectl get pods --all-namespaces -l k8s-app=kubernetes-dashboard If any resources are returned, this is a finding.

Fix Text (F-45628r712540_fix)

Delete the Kubernetes dashboard deployment with the following command: kubectl delete deployment kubernetes-dashboard --namespace=kube-system