inspec/test/cookbooks/os_prepare/recipes/auditctl.rb
Ryan Davis a5309ea392 blindly applied chefstyle -a
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-11 18:52:03 -07:00

5 lines
200 B
Ruby

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