mirror of
https://github.com/inspec/inspec
synced 2024-12-04 18:39:43 +00:00
8 lines
245 B
Ruby
8 lines
245 B
Ruby
# encoding: utf-8
|
|
# author: Stephan Renatus
|
|
|
|
case node['platform']
|
|
when 'centos'
|
|
execute 'auditctl -a always,exit -F arch=b32 -S open -S openat -F exit=-EACCES -k access'
|
|
execute 'auditctl -w /etc/ssh/sshd_config -p rwxa -k sshd_config'
|
|
end
|