mirror of
https://github.com/inspec/inspec
synced 2024-12-30 06:53:22 +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
|