Interview Prep/DevSecOps/Rapid-Fire Tool Questions

How do you run a CIS benchmark check on Kubernetes nodes?

IntermediateProductionRapid-Fire Tool Questions
Answer
kubectl apply -f https://raw.githubusercontent.com/aquasecurity/kube-bench/main/job.yaml
kubectl logs job/kube-bench
# or on a node directly
kube-bench run --targets node

Use the EKS/GKE/AKS-specific job manifests or benchmarks for managed clusters, since control plane checks do not apply there.

All DevSecOps questions

More on Rapid-Fire Tool Questions