Skip to content

Commit 97c7be9

Browse files
Fix: more generic auditd settings
in order to match the defaults of all mainstream distros Some of settings are removed, as the defaults of distros are different, based on the intention of author [1] they are also not really important here [1]: #44 (comment) Signed-off-by: Artem Sidorenko <artem@posteo.de>
1 parent 6648a15 commit 97c7be9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

controls/package_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,8 @@
8787
describe auditd_conf do
8888
its('log_file') { should cmp '/var/log/audit/audit.log' }
8989
its('log_format') { should cmp 'raw' }
90-
its('flush') { should cmp 'INCREMENTAL' }
91-
its('freq') { should cmp 20 }
90+
its('flush') { should match(/^INCREMENTAL|INCREMENTAL_ASYNC$/) }
9291
its('num_logs') { should cmp 5 }
93-
its('max_log_file') { should cmp 6 }
9492
its('max_log_file_action') { should cmp 'ROTATE' }
9593
its('space_left') { should cmp 75 }
9694
its('action_mail_acct') { should cmp 'root' }

0 commit comments

Comments
 (0)