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

Bug in task 5.2.3 | PATCH | Ensure sudo log file exists: #4

Open
Systhom opened this issue Jan 16, 2025 · 0 comments
Open

Bug in task 5.2.3 | PATCH | Ensure sudo log file exists: #4

Systhom opened this issue Jan 16, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Systhom
Copy link

Systhom commented Jan 16, 2025

Hello,

Thanks for this project.

Have you checked ReadtheDocs?:
Yes

Describe the Issue
If the “Defaults logfile” line does not exist in /etc/sudoers, it is not added. This only works if the line exists.
File: tasks/section_5/cis_5.2.x.yml

Expected Behavior
The line should be modified if it exists.
It should be added if not.

Actual Behavior
The line is modified if it exists, but not added otherwise.

Control(s) Affected
What controls are being affected by the issue

Environment (please complete the following information):

  • branch being used: devel
  • Ansible Version: 2.14.18
  • Host Python Version: 3.11.2
  • Ansible Server Python Version: 3.11.2
  • Additional Details:

Best regards,

Thomas

@Systhom Systhom added the bug Something isn't working label Jan 16, 2025
@uk-bolly uk-bolly self-assigned this Jan 21, 2025
uk-bolly added a commit that referenced this issue Jan 21, 2025
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
@uk-bolly uk-bolly mentioned this issue Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants