Ensure that workload vulnerability scanning is enabled for your Google Kubernetes Engine (GKE) clusters to help detect vulnerabilities in container images, ensure compliance with security standards, and protect your clusters from potential threats.
Enabling workload vulnerability scanning for GKE clusters helps proactively identify and address security vulnerabilities in your container images and language packages, reducing the risk of exploitation and protecting your applications. You can choose between Basic and Advanced workload vulnerability scanning. When this feature is enabled, a vulnerability scanning pod is deployed to each node within your GKE cluster to conduct the scan.
Audit
To determine if workload vulnerability scanning is enabled for your Google Kubernetes Engine (GKE) clusters, perform the following operations:
Remediation / Resolution
To enable and configure workload vulnerability scanning for your Google Kubernetes Engine (GKE) clusters, perform the following operations:
References
- Google Cloud Platform (GCP) Documentation
- Security overview
- Automatically scan workloads for known vulnerabilities
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud container clusters list
- gcloud container clusters describe
- gcloud container clusters update