Skip to content

Commit 9914085

Browse files
authored
Merge pull request #143 from dev-sec/martians
add missing sysctl parameter
2 parents 0741b75 + 19b8788 commit 9914085

File tree

3 files changed

+16
-27
lines changed

3 files changed

+16
-27
lines changed

.kitchen.vagrant.yml

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,47 +24,36 @@ transport:
2424
max_ssh_sessions: 5
2525

2626
platforms:
27-
- name: ubuntu-14.04
27+
- name: ubuntu14.04
2828
driver_config:
2929
box: opscode-ubuntu-14.04
3030
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box
31-
- name: ubuntu-16.04
31+
- name: ubuntu16.04
3232
driver_config:
3333
box: opscode-ubuntu-16.04
3434
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-16.04_chef-provisionerless.box
35-
- name: centos-6.4
35+
- name: centos6
3636
driver_config:
37-
box: opscode-centos-6.4
38-
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box
39-
- name: centos-6.5
37+
box: bento/centos-6.9
38+
- name: centos7
4039
driver_config:
41-
box: opscode-centos-6.5
42-
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.5_chef-provisionerless.box
43-
- name: centos-6.8
44-
driver_config:
45-
box: bento/centos-6.8
46-
- name: centos-7
47-
driver_config:
48-
box: bento/centos-7.2
49-
- name: oracle-6.4
50-
driver_config:
51-
box: oracle-6.4
52-
box_url: https://storage.us2.oraclecloud.com/v1/istoilis-istoilis/vagrant/oel64-64.box
53-
- name: oracle-6.5
40+
box: bento/centos-7.3
41+
- name: oracle6
5442
driver_config:
5543
box: oracle-6.5
5644
box_url: https://storage.us2.oraclecloud.com/v1/istoilis-istoilis/vagrant/oel65-64.box
57-
- name: oracle-7
45+
- name: oracle7
5846
driver_config:
5947
box: boxcutter/ol72
60-
- name: debian-7
48+
- name: debian7
49+
driver_config:
50+
box: bento/debian-7.11
51+
- name: debian8
6152
driver_config:
62-
box: debian-7
63-
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-7.8_chef-provisionerless.box
64-
- name: debian-8
53+
box: bento/debian-8.8
54+
- name: debian9
6555
driver_config:
66-
box: debian-8
67-
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-8.1_chef-provisionerless.box
56+
box: bento/debian-9.0
6857

6958
verifier:
7059
name: inspec

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ Otherwise inspec will fail. For more information, see [issue #124](https://githu
5252
| `os_auth_pam_passwdqc_options`| "min=disabled,disabled,16,12,8" | set to any option line (as a string) that you want to pass to passwdqc|
5353
| `os_security_users_allow`| [] | list of things, that a user is allowed to do. May contain `change_user`.
5454
| `os_security_kernel_enable_module_loading`| true | true if you want to allowed to change kernel modules once the system is running (eg `modprobe`, `rmmod`)|
55-
| `os_security_kernel_enable_sysrq`| false | sysrq is a 'magical' key combo you can hit which the kernel will respond to regardless of whatever else it is doing, unless it is completely locked up. |
5655
| `os_security_kernel_enable_core_dump`| false | kernel is crashing or otherwise misbehaving and a kernel core dump is created |
5756
| `os_security_suid_sgid_enforce`| true | true if you want to reduce SUID/SGID bits. There is already a list of items which are searched for configured, but you can also add your own|
5857
| `os_security_suid_sgid_blacklist`| [] | a list of paths which should have their SUID/SGID bits removed|

defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ sysctl_config:
120120

121121
# log martian packets | sysctl-17
122122
net.ipv4.conf.all.log_martians: 1
123+
net.ipv4.conf.default.log_martians: 1
123124

124125
# ipv6 config
125126
# Disable acceptance of IPv6 router solicitations messages | sysctl-21

0 commit comments

Comments
 (0)