Skip to content

Commit

Permalink
Correct 4.1.15 sudo audit syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Davison <[email protected]>
  • Loading branch information
wp-davisona committed Apr 19, 2024
1 parent 7acc728 commit 12bbbb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/audit/99_auditd.rules.j2
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
-w /etc/sudoers.d/ -p wa -k scope
{% endif %}
{% if amazon2cis_rule_4_1_15 %}
-a exit,always -F arch=b64 -C euid!=uid -F euid=0 -Fauid>=1000 -F auid!=4294967295 -S execve -k actions
-a exit,always -F arch=b32 -C euid!=uid -F euid=0 -Fauid>=1000 -F auid!=4294967295 -S execve -k actions
-a always,exit -F arch=b64 -C euid!=uid -F euid=0 -F auid>=1000 -F auid!=4294967295 -S execve -k actions
-a always,exit -F arch=b32 -C euid!=uid -F euid=0 -F auid>=1000 -F auid!=4294967295 -S execve -k actions
{% endif %}
{% if amazon2cis_rule_4_1_16 %}
-w /sbin/insmod -p x -k modules
Expand Down

0 comments on commit 12bbbb2

Please sign in to comment.