Skip to main content

More Info:

Enable the GKE Security Posture dashboard so the cluster is continuously assessed for misconfigurations and known workload vulnerabilities. It provides ongoing security visibility and recommendations.

Risk Level

Medium

Address

Security

Compliance Standards

  • CIS GKE

Triage and Remediation

Remediation

Manual Steps

  1. On any machine with gcloud configured for the project, identify the cluster(s) to review:
  2. For each relevant cluster, retrieve the current Security Posture configuration:
  3. Review the output and confirm whether Security Posture is enabled at the desired level:
    • {"mode":"STANDARD"} (or similar) → Security Posture is enabled.
    • null or "mode":"DISABLED" (or missing mode) → Security Posture is not enabled.
      Document which clusters do not have "mode": "STANDARD" (or stricter, if available in your environment).
  4. For each cluster where Security Posture is not enabled and you decide it should be, enable it:
  5. Re-verify that the setting is applied for each updated cluster:
    Confirm the mode now reflects "STANDARD".
  6. Optionally, validate visibility in the Google Cloud console:
    • Navigate to “Kubernetes Engine” → select the cluster.
    • Open the “Security posture” or “Security” section and confirm that the Security Posture dashboard is present and showing assessment data.
kubectl cannot enable or configure the GKE Security Posture feature because it is a managed control-plane setting controlled via Google Cloud (gcloud/console/IaC), not a Kubernetes API object. To remediate this finding, follow the guidance in the Manual Steps section using the Google Cloud console, gcloud CLI, or your IaC tooling.
Interpretation of the output (what indicates a problem):
  • For each cluster, review the SecurityPostureMode column:
    • STANDARD (or ENFORCED/similar if introduced later) indicates Security Posture is enabled as expected.
    • DISABLED, UNSPECIFIED, or an empty value indicates a problem for this control: the Security Posture dashboard is not enabled on that cluster and should be reviewed and (if appropriate) enabled using:
  • Optionally, review WorkloadVulnScanning and SBOMGeneration:
    • Values other than enabled/standard modes (e.g., DISABLED, UNSPECIFIED) indicate missing coverage for vulnerability scanning or SBOM generation and warrant a configuration review.