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
Thank you for raising this issue, this is is one we have seen many times. I assume you are using a scanner of some type to check compliance.
What we are seeing is many times they are expecting the result to match the example that they provide is the benchmark for remediation.
Where as reading the audit section it gives the possible answers.
In this case
An entry including /bin/true or /bin/false exists in a file within the /etc/modprobe.d/ directory
These are seen as false positives and really caused by some of the scanners being too brittle in what they expect.
Have you checked ReadtheDocs?:
Yes
Describe the Issue
Looks like
lineinfile
ansible module for tasks1.1.1.1
to1.1.1.9
are having wrongline
as shown below:For example, task 1.1.1.1
As per CIS Workbench documentation it should be
install squashfs /bin/false
as shown below:Link to CIS workbench documentation - https://workbench.cisecurity.org/sections/2758812/recommendations/4466392
Expected Behavior
As per CIS workbench documentation, it should be
install squashfs /bin/false
Actual Behavior
Its appearing as
install squashfs /bin/true
for all Filesystem Kernel Modules in ansible role.Control(s) Affected
Following filesystem kernel modules controls are affected:
Environment (please complete the following information):
devel
Additional Notes
Its the same for all the ansible roles, such as
RHEL7-CIS
,RHEL8-CIS
,RHEL9-CIS
,AMAZON2-CIS
andAMAZON2023-CIS
.Possible Solution
Replace
install squashfs /bin/true
withinstall squashfs /bin/false
will fix the issue.The text was updated successfully, but these errors were encountered: