forked from dev-sec/chef-ssh-hardening
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
58 lines (54 loc) · 1.04 KB
/
.kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
driver:
name: vagrant
platforms:
- name: ubuntu-14.04
- name: ubuntu-16.04
- name: centos-6.8
- name: centos-7.3
- name: oracle-6.8
- name: oracle-7.3
- name: debian-7.11
- name: debian-8.6
- name: fedora-24
- name: fedora-25
- name: opensuse-leap-42.1
provisioner:
name: chef_solo
<% if ENV['CHEF_VERSION'] %>
require_chef_omnibus: <%= ENV['CHEF_VERSION'] %>
<% end %>
verifier:
name: inspec
suites:
- name: default
run_list:
- recipe[test]
- recipe[ssh-hardening]
verifier:
inspec_tests:
- https://github.com/dev-sec/ssh-baseline
- name: rhel-with-disabled-pam
includes:
- centos-6.8
- centos-7.3
- fedora-24
- fedora-25
- oracle-6.8
- oracle-7.3
driver:
provision: true
vagrantfiles:
- test/fixtures/vagrantfiles/enforce_selinux.rb
run_list:
- recipe[test]
- recipe[ssh-hardening]
attributes:
ssh-hardening:
ssh:
server:
use_pam: false
verifier:
inspec_tests:
- https://github.com/dev-sec/ssh-baseline
- test/integration/without-pam