Skip to content

Commit

Permalink
updated to capture great options #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 4a326a0 commit 9d2b4e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions section_5/cis_5.3/cis_5.3.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
command:
log_sudoers_d:
title: 5.3.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 9d2b4e0

Please sign in to comment.