Skip to content

Commit ba94b91

Browse files
committed
add all inputs
Signed-off-by: Martin Schurz <Martin.Schurz@telekom.de>
1 parent d079b4a commit ba94b91

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

controls/sysctl_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
# author: Dominik Richter
2020
# author: Patrick Muench
2121

22-
sysctl_forwarding = input('sysctl_forwarding', value: false, description: 'Is network forwarding needed?')
23-
kernel_modules_disabled = input('kernel_modules_disabled', value: 0, description: 'Should loading of kernel modules be disabled?')
22+
sysctl_forwarding = input('sysctl_forwarding', value: false)
23+
kernel_modules_disabled = input('kernel_modules_disabled', value: 0)
2424
container_execution = begin
2525
virtualization.role == 'guest' && virtualization.system =~ /^(lxc|docker)$/
2626
rescue NoMethodError

inspec.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ inputs:
2727
description: List of mountpoints where \'nosuid\' mount option should be set
2828
- name: mount_dev_blocklist
2929
description: List of mountpoints where \'nodev\' mount option should be set
30+
- name: sysctl_forwarding
31+
description: Is network forwarding needed?
32+
- name: kernel_modules_disabled
33+
description: Should loading of kernel modules be disabled?

0 commit comments

Comments
 (0)