Ensure that Security Posture is enabled for your Google Kubernetes Engine (GKE) clusters. The security posture dashboard provides insights about your workload security posture at the runtime phase of the software delivery life-cycle.
This rule resolution is part of the Conformity solution.
GKE security posture configuration auditing checks your workloads against a set of defined best practices. Each configuration check has its own impact or risk. For example, the host namespace check identifies pods that share host namespaces. Pods that share host namespaces allow Pod processes to communicate with host processes and gather host information, which could lead to a container escape.
GKE security posture has multiple features. Not all are on by default. Configuration auditing is enabled by default for new standard and autopilot clusters.
securityPostureConfig: mode: BASIC
Audit
To determine if Security Posture dashboard is enabled for your Google Kubernetes Engine (GKE) clusters, perform the following operations:
Remediation / Resolution
To enable and configure the Security Posture dashboard for your Google Kubernetes Engine (GKE) clusters, perform the following operations:
References
- Google Cloud Platform (GCP) Documentation
- About the security posture dashboard
- About Kubernetes security posture scanning
- Automatically audit workloads for configuration issues
- SecurityPostureConfig
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud container clusters list
- gcloud container clusters describe
- gcloud container clusters update