Skip to content
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

In many tasks it is simply mentioned command: /bin/true #6

Open
MeenachiSundaram opened this issue Apr 30, 2020 · 1 comment
Open
Assignees
Labels
question Further information is requested

Comments

@MeenachiSundaram
Copy link

There is no use with this command related to CIS hardening

https://github.com/radsec/CentOS7-CIS/blob/master/tasks/section1.yml#L281

- name: "NOTSCORED | 1.1.18 | PATCH | Ensure nodev option set on removable media partitions"
  command: /bin/true
  changed_when: no
  when:
    - centos7cis_level1 is defined and centos7cis_level1
  tags:
    - level1
    - notscored
    - patch
    - rule_1.1.18
@radsec radsec self-assigned this May 28, 2020
@radsec radsec added the wontfix This will not be worked on label May 28, 2020
@radsec
Copy link
Owner

radsec commented May 28, 2020

So this is implemented so each CIS controls at least returns a value. Some people in the past have parsed Ansible playbook execution logs and use that to determine CIS benchmark compliance. A possible feature could be to only return true if requested? Thoughts?

@radsec radsec added question Further information is requested and removed wontfix This will not be worked on labels May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants