containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

[EKS] [request]: Automated EKS CIS benchmarking of nodes

Open brettcave opened this issue 5 years ago • 5 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Assessing compliance of EKS CIS standards into standard AWS security services Having a overall view of infrastructure configuration from a security perspective in a single place is valuable. kube-bench scores compliance of EKS configuration against the EKS CIS standard. However, running the eks benchmark against EKS deployments is manual and not available through an AWS managed component. It would be great if CIS EKS could be executed and findings / results reflected back into security monitoring services - Security Hub provides a great place to aggregate findings from various systems in a single service.

Which service(s) is this request for? EKS (and Fargate?)

brettcave avatar Aug 17 '20 21:08 brettcave

Update - we're considering solving this in 2021 using AWS Config. More details to come.

tabern avatar Sep 17 '20 05:09 tabern

Also, SecurityHub supports kube-bench: https://aws.amazon.com/about-aws/whats-new/2020/12/aws-security-hub-adds-open-source-tool-integration-with-kube-bench-and-cloud-custodian/?nc1=h_ls

jihed avatar Dec 25 '20 13:12 jihed

Hello @tabern any update since 2021 ?

gmarchand avatar Jul 24 '23 14:07 gmarchand

The current CIS EKS benchmark recommends running bottlerocket, and bottlerocket supports something along these lines:

https://github.com/bottlerocket-os/bottlerocket/issues/2731

joebowbeer avatar Jul 24 '23 19:07 joebowbeer

Please refer to the solution I developed to address these long-standing customer requests:

https://github.com/awslabs/security-hardened-amis-for-eks

This project provides a fully automated solution to create security-hardened Amazon EKS AMIs that comply with either CIS Level 1 or Level 2 standards.

maiconrocha avatar May 01 '25 23:05 maiconrocha