forked from dev-sec/chef-os-hardening
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
56 lines (52 loc) · 1.01 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
---
driver:
name: vagrant
platforms:
- name: ubuntu-16-04
driver_config:
box: bento/ubuntu-16.04
- name: ubuntu-18-04
driver_config:
box: bento/ubuntu-18.04
- name: centos-7
- name: centos-8
- name: oracle-7
- name: debian-9
- name: debian-10
- name: fedora-28
- name: fedora-29
- name: opensuse-leap-42
- name: amazonlinux-1
driver_config:
box: realreadme/amazon2016.09
- name: amazonlinux-2
driver_config:
box: stakahashi/amazonlinux2
provisioner:
name: chef_zero
product_name: cinc
<% if ENV['CINC_VERSION'] %>
product_version: '<%= ENV['CINC_VERSION'] %>'
<% end %>
verifier:
name: inspec
sudo: true
suites:
- name: default
run_list:
- recipe[test]
- recipe[os-hardening::default]
- name: modules_disabled
run_list:
- recipe[test]
- recipe[os-hardening::default]
attributes:
os-hardening:
security:
kernel:
enable_module_loading: false
verifier:
inspec_tests:
- path: test/integration/default
attributes:
kernel_modules_disabled: 1