Issues in customizing component paths in kube-bench/cfg/config.yaml #688
Replies: 2 comments 3 replies
-
As a first step I'd recommend running with Note that by default, if you're running kube-bench from a container image, the config files are included in that image, so you would need to either
|
Beta Was this translation helpful? Give feedback.
-
Hello Liz, I modified path for kubeapiserver as below in kube-bench/cfg/config.yaml : Executed kube bench with below command: As newly updated paths are being picked while scan but still checks are failing even though file permissions and users are configured correctly on manifest file. Do I need to make changes in any of the configuration file or am I missing anything? Adding output snippet for better understanding: I0911 10:43:52.852963 170631 util.go:195] Using default config file name '/var/vcap/jobs/kube-apiserver/config/bpm.yml' for component apiserver |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Team,
We have deployed Kubernetes cluster, due to security reasons we have stored our component manifests in different location.
I have changed the paths in kube-bench/cfg/config.yaml according to our requirement, but the checks are still failing.
Can anyone guide me how to change the paths for manifest file? do we need to make more changes any of the other files?
Beta Was this translation helpful? Give feedback.
All reactions