Secure Kubernetes with Mondoo
Secure your Kubernetes clusters by scanning nodes, workloads, and images for misconfigurations and vulnerabilities.
Mondoo covers the whole Kubernetes stack, from the nodes a cluster runs on to the workloads and images inside it. You can monitor clusters continuously, scan manifests and images during build, or run ad hoc scans at runtime.
Choose a setup path
Both continuous scanning paths use the Mondoo Kubernetes Operator and a Kubernetes integration that you create in the Mondoo App. They differ in where the operator runs and what it can reach.
| Path | What it scans | Where it runs | Credentials it needs | Choose it when |
|---|---|---|---|---|
| Operator in the cluster | Kubernetes resources and workloads, nodes, and the container images running in the cluster | Inside each cluster you scan | Cluster admin access to install the operator, and the integration token the Mondoo App generates. The operator scans with its own in-cluster service accounts. | You can install the operator in the cluster, or you need node scanning. This is the place to start. |
| Operator scanning external clusters | Kubernetes resources and workloads, and optionally container images, of each remote cluster. Nodes aren't scanned. | In one management cluster, which reaches each target cluster's API server over the network | Read access to each target cluster through a kubeconfig Secret, a service account token, workload identity (GKE, EKS, or AKS), HashiCorp Vault, or SPIFFE/SPIRE | You can't or don't want to install the operator in every cluster, such as managed EKS, GKE, or AKS clusters you scan from one place. |
| cnspec from your workstation | The cluster and its workloads, once, whenever you run the scan | On your workstation, using your kubectl context | Your own kubectl access to the cluster | You want a one-time assessment or want to try Mondoo before setting up continuous scanning. |
One operator can do both: scan the cluster it runs in and scan external clusters from the same integration.
Continuously scan
The Mondoo Kubernetes Operator runs in your cluster and continuously scans nodes and workloads.
Scan external Kubernetes clusters that aren't directly connected to Mondoo.
Scan during build
Catch issues in CI/CD, before manifests or images reach your cluster:
Scan at runtime
Next steps
Once your clusters are connected and scanning, explore your asset inventory, then assess and improve your security to review and prioritize your findings.
Last updated on