mirror of
https://github.com/inspec/inspec
synced 2024-12-24 03:53:15 +00:00
a5309ea392
Signed-off-by: Ryan Davis <zenspider@chef.io>
5 lines
200 B
Ruby
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
|