mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
switch from os-hardening to ssh-hardening profile
This commit is contained in:
parent
fd87b679be
commit
64a5a4d082
2 changed files with 5 additions and 11 deletions
|
@ -2,14 +2,8 @@
|
|||
|
||||
include_controls 'profile_a'
|
||||
include_controls 'profile_b'
|
||||
include_controls 'os-hardening' do
|
||||
skip_control 'os-01'
|
||||
|
||||
1.upto(5) do |i|
|
||||
skip_control "package-%02d" % i
|
||||
end
|
||||
|
||||
1.upto(33) do |i|
|
||||
skip_control "sysctl-%02d" % i
|
||||
include_controls 'ssh-hardening' do
|
||||
12.upto(12) do |i|
|
||||
skip_control "ssh-%02d" % i
|
||||
end
|
||||
end
|
||||
|
|
|
@ -10,5 +10,5 @@ depends:
|
|||
path: ../profile_a
|
||||
- name: profile_b
|
||||
path: ../profile_b
|
||||
- name: os-hardening
|
||||
url: https://github.com/dev-sec/tests-os-hardening/archive/master.tar.gz
|
||||
- name: ssh-hardening
|
||||
url: https://github.com/dev-sec/tests-ssh-hardening/archive/master.tar.gz
|
||||
|
|
Loading…
Reference in a new issue