kube-bench
kube-bench copied to clipboard
feature request: support S3 destination for `--outputfile` option
Hello there,
I'd like to run kube-bench regularly and have the reports made available on a S3 compatible storage (minio).
Do you have this feature in your roadmap ?
This would be nice to have. I wonder if rather than building S3-specific code into kube-bench we can use aws s3
Actually it should be the minio SDK. The minio API is an open S3 specification - AWS S3 api is AWS specific.
Hi, is there any update here , I would like the reports to be uploaded somehere like s3, maybe in html format , so that I can serve them as static pages.
Hi @lizrice I would like to pick this issue up. Please assign me this issue if it is still under consideration.
I can prep a basic design on how a user can feed aws creds accordingly to the spec/config of kube-bench and run it across here.
@rrey I have recently built an add-on ( Kube-bench-exporter ) to export (fan-out) kube-bench reports to multiple targets like Amazon S3 buckets in one-go with ease.
As it is an add-on, so you don't have to mess around with the existing installation of kube-bench you're using.
Let me know what do you think :)
cc: @lizrice
@yashvardhan-kukreja I changed project since I opened this issue. We used Ansible to run kube-bench and drop the output in s3.
Oh cool, no worries :)