aws-samples / hardeneks

Runs checks to see if an EKS cluster follows EKS Best Practices.
https://aws-samples.github.io/hardeneks/
MIT No Attribution
862 stars 91 forks source link

Feature Request: Add a flag to generate a config file with all rules #29

Closed NickTheSecurityDude closed 1 year ago

NickTheSecurityDude commented 1 year ago

Feature Request: Add a flag to generate a config file with all rules

The sample on GitHub doesn't contains all the rules, it would be better to start with all rules, and then deselect the ones I don't want. Also, as new rules are added, the flag could be used to update the config file periodically.

dorukozturk commented 1 year ago

Hello hello, by default if you don't provide a config it uses https://github.com/aws-samples/hardeneks/blob/main/hardeneks/config.yaml which has all the rules defined. I usually use that as a starting point.

NickTheSecurityDude commented 1 year ago

AWSome, this is perfect, thank you!!!