mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
add examples to audit_daemon_conf
This commit is contained in:
parent
4e83383d84
commit
0ebcc5c5a6
1 changed files with 21 additions and 0 deletions
|
@ -222,6 +222,27 @@ Use the ``audit_daemon_conf`` InSpec resource to xxxxx.
|
|||
|
||||
IN_PROGRESS
|
||||
|
||||
Examples -- DONE
|
||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
The following examples show how to use this InSpec resource in a test.
|
||||
|
||||
**Test xxxxx**
|
||||
|
||||
.. code-block:: ruby
|
||||
|
||||
describe audit_daemon_conf do
|
||||
its('space_left_action') { should eq 'email' }
|
||||
its('action_mail_acct') { should eq 'root' }
|
||||
its('admin_space_left_action') { should eq 'halt' }
|
||||
end
|
||||
|
||||
**Test xxxxx**
|
||||
|
||||
describe audit_daemon_conf do
|
||||
its('space_left_action') { should eq 'SYSLOG' }
|
||||
its('action_mail_acct') { should eq 'root' }
|
||||
its('tcp_listen_queue') { should eq '5' }
|
||||
end
|
||||
|
||||
|
||||
audit_daemon_rules
|
||||
|
|
Loading…
Reference in a new issue