ansible-lockdown / AMAZON2023-CIS

Ansible role for Amazon2023 CIS Baseline
https://ansible-lockdown.readthedocs.io/en/latest/
MIT License
24 stars 18 forks source link

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

Closed DianaMariaDDM closed 5 months ago

DianaMariaDDM commented 7 months ago

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):

Additional Notes Anything additional goes here

Possible Solution The fix will be provided in a PR.