-
Notifications
You must be signed in to change notification settings - Fork 303
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
Missing quote line 207 of cis_5.3.x.yml #292
Labels
Comments
georgenalen
added a commit
that referenced
this issue
May 23, 2022
Signed-off-by: George Nalen <georgen@mindpointgroup.com>
@mballon, -George |
Merged
basharatoum
pushed a commit
to basharatoum/RHEL7-CIS
that referenced
this issue
Jun 9, 2022
Signed-off-by: George Nalen <georgen@mindpointgroup.com> Signed-off-by: Bashar Al atoum <basharatoum@Bashars-MacBook-Pro.local>
Merged
uk-bolly
pushed a commit
that referenced
this issue
Aug 3, 2022
Signed-off-by: George Nalen <georgen@mindpointgroup.com> Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Issue
Missing quote line 207 of cis_5.3.x.yml
Expected Behavior
Line should start with quote or have no quote at the end. I don't see why you're matching the commented line either, although that's just my opinion.
Actual Behavior
This regex is not matching causing the line "HostbasedAuthentication no" to be added every time the tasks is run.
Control(s) Affected
What controls are being affected by the issue
Environment (please complete the following information):
Additional Notes
Example result of current version:
grep ^HostbasedAuthentication /etc/ssh/sshd_config
HostbasedAuthentication no
HostbasedAuthentication no
HostbasedAuthentication no
HostbasedAuthentication no
HostbasedAuthentication no
Possible Solution
According to Anisble Module Doc a single quote on either end of the line or no quotes is the correct syntax. I test both and agree.
The text was updated successfully, but these errors were encountered: