ansible-lockdown/AMAZON2023-CIS

Wrong rule number in fail_msg from task "Ensure root password is set" in "tasks/main.yml"

DianaMariaDDM opened this issue · 0 comments

Describe the Issue
The fail_msg alerts the user that they do not have a root password while having a rule enabled that requires said root password to be set. That rule's number is wrong "You have rule 5.6.6 enabled this requires that you have a root password set".

Expected Behavior
The rule number should be 4.6.6

Actual Behavior
Instead the number is 5.6.6

Control(s) Affected
None really, just a minor syntax mistake.

Environment (please complete the following information):

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

Additional Notes
Anything additional goes here

Possible Solution
The fix will be provided in a PR.