Skip to content

Commit a493413

Browse files
authored
Merge pull request #61 from artem-sidorenko/audit-fixes
Fix: more generic auditd settings
2 parents 6648a15 + 97c7be9 commit a493413

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)