-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CIS rules silently partial fail to be activated on Ubuntu #58
Comments
Instead of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cookbook version
2.3.4
Chef-client version
15
Platform Details
Ubuntu 18.04.3 LTS
Scenario:
Trying to apply cis.rules on Ubuntu
Steps to Reproduce:
Expected Result:
I expected cis.rules to work on Ubuntu
Actual Result:
The rules loaded are a partial set of cis.rules. I suspect everyone using this cookbook on Ubuntu, with the included cis.rules, is NOT auditing what they think!
My assessment is that this is because the next rule is "-w /etc/sysconfig/network -p wa -k system-locale" and this quietly fails (and short-circuits all further rule loading!) because
/etc/sysconfig/network
does not exist on an Ubuntu disk. There are certainly other issues further down the file.The text was updated successfully, but these errors were encountered: