ansible-lockdown/AMAZON2023-CIS

Multiple task rule "1.1.2.2, 1.1.2.3, 1.1.2.4" contains a wrong rule number

DianaMariaDDM opened this issue · 0 comments

Describe the Issue
Multiple task

  • ""1.1.2.2 | PATCH | Ensure nodev option set on /tmp partition"
    "1.1.2.3 | PATCH | Ensure noexec option set on /tmp partition"
    "1.1.2.4 | PATCH | Ensure nosuid option set on /tmp partition"" that ensures different options are set on the /tmp partition via the systemd method, also has 1.1.2.1 rule number in the title, when conditional and tags!

Expected Behavior
Number 1.1.2.1 should not be present as there is already another task that is responsible for ensuring that rule 1.1.2.1 is executed.

Actual Behavior
1.1.2.1 is present.

Control(s) Affected
None, just a syntax issue.

Environment (please complete the following information):

  • branch being used: [e.g. devel]

Additional Notes
Anything additional goes here

Possible Solution
The solution will be provided in a PR.