mirror of
https://github.com/inspec/inspec
synced 2024-12-18 17:14:33 +00:00
97a258ae69
Signed-off-by: Miah Johnson <miah@chia-pet.org>
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
|