You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running the benchmark against a Flatcar Linux container. On this distribution the /etc/ssh/sshd_config file is a symbolic link to /usr/share/ssh/sshd_config. This causes the 5.2.14 section to break, and a Failure to be logged.
Reproduction steps
Spin up Flatcar Linux instance
Run scan using command docker run -it --rm -v "$(pwd):/share" -v "$HOME/.ssh:/root/.ssh" chef/inspec exec . -t ssh://user@server -i /root/.ssh/user_key --input=cis_level=1 --chef-license accept -l debug --reporter html2:benchmark.html
Current Behavior
Section 5.2.13 is failed.
Expected Behavior
The file is read, even if is is a symbolic link, and evaluated based on contents.
Description
I am running the benchmark against a Flatcar Linux container. On this distribution the /etc/ssh/sshd_config file is a symbolic link to /usr/share/ssh/sshd_config. This causes the 5.2.14 section to break, and a Failure to be logged.
Reproduction steps
docker run -it --rm -v "$(pwd):/share" -v "$HOME/.ssh:/root/.ssh" chef/inspec exec . -t ssh://user@server -i /root/.ssh/user_key --input=cis_level=1 --chef-license accept -l debug --reporter html2:benchmark.html
Current Behavior
Section 5.2.13 is failed.
Expected Behavior
The file is read, even if is is a symbolic link, and evaluated based on contents.
OS / Environment
Flatcar
Inspec Version
chef/inspec:latest
Baseline Version
master
Additional information
The text was updated successfully, but these errors were encountered: