-
Notifications
You must be signed in to change notification settings - Fork 113
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 profile fails on absent filesystem modules #844
Comments
Thanks for the report! The profiles exist in another repository that is private, so I've opened an issue there as well; however, we'll be sure to update this ticket with any updates. |
I have emailed CIS support about this, because the Chef profile implements exactly what CIS specify and we should get them to agree to change their recommendation before we deviate from their specification. I notice that if the InSpec |
This is being discussed with CIS here: https://workbench.cisecurity.org/community/4/discussions/5031 They will fix this in future Linux benchmarks. I am trying to confirm what logic they will change to for these controls, then we can overlay our InSpec controls. |
@james-stocks any update on this? |
Hi @sdelano, @bastien-jove-cbp it appears that the ubuntu profiles were updated a few months ago. In this update, we moved away from Just to let you know, the controls in section I would suggest updating to the latest ubuntu 16.04 profile to fix this issue. |
Describe the bug
CIS profiles within automate may return failed checks about filesystem modules (1.1.1.X) when they don't exists on the target machine.
This test (for cramfs, but same thing is applicable to other FS modules) fails:
On my EC2 instance using aws customized kernels I get as output:
To Reproduce
Run a scan with the profile "CIS Ubuntu Linux 16.04 LTS Benchmark Level 1 - Server" on an EC2 instance from ubuntu official AMI
Expected behavior
The control description states:
So when the module doesn't even exist on the filesystem I'd be expecting a successful check.
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: