From 6cfbd386f0d0d210e6a4e4173abba90cfc4164ce Mon Sep 17 00:00:00 2001 From: Martin Schurz Date: Sun, 30 Apr 2023 19:11:41 +0200 Subject: [PATCH] fix spelling errors Signed-off-by: Martin Schurz --- controls/os_spec.rb | 8 ++++---- libraries/suid_blacklist.rb | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/controls/os_spec.rb b/controls/os_spec.rb index d7e22b3..bf05f21 100644 --- a/controls/os_spec.rb +++ b/controls/os_spec.rb @@ -60,25 +60,25 @@ cpuvulndir = '/sys/devices/system/cpu/vulnerabilities/' mount_exec_blocklist = input( 'mount_exec_blocklist', value: ['/boot', '/dev', '/dev/shm', '/tmp', '/var/log', '/var/log/audit', '/var/tmp'], - description: 'List of mountspoints where \'noexec\' mount option shoud be set' + description: 'List of mountpoints where \'noexec\' mount option should be set' ) mount_suid_blocklist = input( 'mount_suid_blocklist', value: ['/boot', '/dev', '/dev/shm', '/home', '/run', '/tmp', '/var', '/var/log', '/var/log/audit', '/var/tmp'], - description: 'List of mountpoints where \'nosuid\' mount option shoud be set' + description: 'List of mountpoints where \'nosuid\' mount option should be set' ) mount_dev_blocklist = input( 'mount_dev_blocklist', value: ['/boot', '/dev/shm', '/home', '/run', '/tmp', '/var', '/var/log', '/var/log/audit', '/var/tmp'], - description: 'List of mountpoints where \'nodev\' mount option shoud be set' + description: 'List of mountpoints where \'nodev\' mount option should be set' ) control 'os-01' do impact 1.0 title 'Trusted hosts login' - desc "hosts.equiv file is a weak implemenation of authentication. Disabling the hosts.equiv support helps to prevent users from subverting the system's normal access control mechanisms of the system." + desc "hosts.equiv file is a weak implementation of authentication. Disabling the hosts.equiv support helps to prevent users from subverting the system's normal access control mechanisms of the system." describe file('/etc/hosts.equiv') do it { should_not exist } end diff --git a/libraries/suid_blacklist.rb b/libraries/suid_blacklist.rb index 3155324..023058e 100644 --- a/libraries/suid_blacklist.rb +++ b/libraries/suid_blacklist.rb @@ -4,7 +4,7 @@ class SUIDBlacklist < Inspec.resource(1) name 'suid_blacklist' - desc 'The suid_blacklist resoruce returns the default suid blacklist' + desc 'The suid_blacklist resource returns the default suid blacklist' def default [