Skip to content

Commit

Permalink
updated v2 for 5.2.3 as per issue #39
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Nov 11, 2024
1 parent e74cd19 commit 2ca8c1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions section_5/cis_5.2/cis_5.2.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
command:
log_sudoers_d:
title: 5.2.3 | Ensure sudo log file exists | sudoers.d
exec: "grep -Ec '^Defaults logfile=/var/log/*.log' /etc/sudoers /etc/sudoers.d/.*/"
exec: 'grep -Ec "^Defaults.*logfile=(\"|)/var/log/.*\.log(\"|)" /etc/sudoers /etc/sudoers.d/*'
exit-status:
lt: 3
stdout:
- '/[1:99]/'
- '/.*:[1:99]/'
meta:
server: 1
workstation: 1
Expand Down

0 comments on commit 2ca8c1c

Please sign in to comment.