Interview Prep/DevSecOps/DAST, runtime detection and compliance scans

kube-bench on EKS reports dozens of FAILs under "1 Control Plane Security Configuration"

BeginnerTroubleshootingDAST, runtime detection and compliance scans
Answer

Likely causes → You ran the generic Kubernetes benchmark. On EKS the control plane is managed by AWS and is not on your nodes, so those checks cannot pass and do not apply.

Diagnose → The output header shows which benchmark ran. Check whether the job used job.yaml or job-eks.yaml.

Fix → Run the EKS benchmark, which only covers worker node and policy sections:

kubectl apply -f https://raw.githubusercontent.com/aquasecurity/kube-bench/main/job-eks.yaml
kubectl logs job/kube-bench

Prevent → Pin the benchmark per platform in your compliance pipeline, and use the cloud provider's posture tools for control-plane settings.

All DevSecOps questions Roadmap: Policy as code

More on DAST, runtime detection and compliance scans