Skip to content

Commit

Permalink
add all inputs
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Schurz <[email protected]>
  • Loading branch information
schurzi committed Nov 19, 2023
1 parent d079b4a commit ba94b91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controls/sysctl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
# author: Dominik Richter
# author: Patrick Muench

sysctl_forwarding = input('sysctl_forwarding', value: false, description: 'Is network forwarding needed?')
kernel_modules_disabled = input('kernel_modules_disabled', value: 0, description: 'Should loading of kernel modules be disabled?')
sysctl_forwarding = input('sysctl_forwarding', value: false)
kernel_modules_disabled = input('kernel_modules_disabled', value: 0)
container_execution = begin
virtualization.role == 'guest' && virtualization.system =~ /^(lxc|docker)$/
rescue NoMethodError
Expand Down
4 changes: 4 additions & 0 deletions inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ inputs:
description: List of mountpoints where \'nosuid\' mount option should be set
- name: mount_dev_blocklist
description: List of mountpoints where \'nodev\' mount option should be set
- name: sysctl_forwarding
description: Is network forwarding needed?
- name: kernel_modules_disabled
description: Should loading of kernel modules be disabled?

0 comments on commit ba94b91

Please sign in to comment.