Skip to content

Commit

Permalink
doucment why 32 bit
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Owen <spencer.owen@cdw.com>
  • Loading branch information
spencer-cdw committed Nov 2, 2022
1 parent c060a8c commit 7271fb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controls/4_1_configure_system_accounting_auditd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@

only_if { cis_level == 2 }

# arch=b32 should be set on both 32bit and 64bit systems https://security.stackexchange.com/a/242462
describe file('/etc/audit/audit.rules') do
its('content') { should match(/^-a (always,exit|exit,always) -F arch=b32 -S adjtimex -S settimeofday -S stime -k time-change$/) }
its('content') { should match(/^-a (always,exit|exit,always) -F arch=b32 -S clock_settime -k time-change$/) }
Expand Down

0 comments on commit 7271fb7

Please sign in to comment.