More Info:
Disable the Kubernetes Dashboard (Web UI) add-on, which has historically been an attack vector for privilege escalation. Cluster management should use the CLI or console instead.Risk Level
MediumAddress
SecurityCompliance Standards
- CIS GKE
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
Identify clusters to review
- On any machine with
gcloudconfigured, list clusters and note their names and locations:
- On any machine with
-
Check the Dashboard addon status for each cluster
- For each cluster, run:
- Record whether
.disabledistrueorfalse(or if the field is missing).
- For each cluster, run:
-
Decide whether the Dashboard is required
- For any cluster where the Dashboard is not explicitly disabled, confirm with cluster owners:
- Whether anyone relies on the in‑cluster Kubernetes Dashboard for operations.
- Whether all required management can be done via
kubectland cloud console.
- If there is no documented, approved use case, plan to disable it.
- For any cluster where the Dashboard is not explicitly disabled, confirm with cluster owners:
-
Disable the Dashboard where not needed
- For each cluster where the Dashboard should be disabled, run:
- Note: this is a control plane configuration change; coordinate with operations if you have strict change windows.
- For each cluster where the Dashboard should be disabled, run:
-
Handle exceptions (if you must keep it)
- If a cluster must keep the Dashboard:
- Document the business justification and owner.
- Ensure access is tightly controlled (e.g., strong authn/z, least-privilege RBAC, network restrictions).
- Set a review date for decommissioning or replacing it.
- If a cluster must keep the Dashboard:
-
Verify remediation
- Re-run the audit for each cluster intended to have the Dashboard disabled:
- Confirm that the output shows the Dashboard configuration present with
"disabled": true(or equivalent indication that it is disabled).
- Re-run the audit for each cluster intended to have the Dashboard disabled:
Using kubectl
Using kubectl
kubectl cannot enable or disable the managed Kubernetes Dashboard addon in GKE; that setting is controlled only via the GCP console, gcloud CLI, or your IaC for the cluster configuration. See the Manual Steps section for how to review and change the addon state at the cloud provider level.
Automation
Automation

