Cannot use user password in credentials section on chef-automate-Compliance


I’m using aws chef-automate and I want to use the scanner section by using a job

the problem is that I need to give to my user the sudo options. I’ve tried to launch the inspec by my workstation using the --sudo option and it worked, so the problem is in the chef-automate.

When I try to give to my centos user the sudo permission on compliance(I’ve used a password to allow centos to begin sudo) it doesnt’ works for this error.

the method forbidden is PUT.

How Can Fix it?



Use password free sudo configurations to allow very limited commands for very limited users. This can be a bit tricky. to set up robustly and safely.