Skip to content

Commit 9d57fea

Browse files
authored
Merge pull request #183 from dev-sec/codespell
add spellchecking with codespell
2 parents ce0e4c6 + 6cfbd38 commit 9d57fea

3 files changed

Lines changed: 17 additions & 5 deletions

File tree

.github/workflows/codespell.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Codespell - Spellcheck
3+
4+
on: # yamllint disable-line rule:truthy
5+
push:
6+
branches: [master]
7+
pull_request:
8+
branches: [master]
9+
10+
jobs:
11+
codespell:
12+
uses: "dev-sec/.github/.github/workflows/codespell.yml@main"

controls/os_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,25 +60,25 @@
6060
mount_exec_blocklist = input(
6161
'mount_exec_blocklist',
6262
value: ['/boot', '/dev', '/dev/shm', '/tmp', '/var/log', '/var/log/audit', '/var/tmp'],
63-
description: 'List of mountspoints where \'noexec\' mount option shoud be set'
63+
description: 'List of mountpoints where \'noexec\' mount option should be set'
6464
)
6565

6666
mount_suid_blocklist = input(
6767
'mount_suid_blocklist',
6868
value: ['/boot', '/dev', '/dev/shm', '/home', '/run', '/tmp', '/var', '/var/log', '/var/log/audit', '/var/tmp'],
69-
description: 'List of mountpoints where \'nosuid\' mount option shoud be set'
69+
description: 'List of mountpoints where \'nosuid\' mount option should be set'
7070
)
7171

7272
mount_dev_blocklist = input(
7373
'mount_dev_blocklist',
7474
value: ['/boot', '/dev/shm', '/home', '/run', '/tmp', '/var', '/var/log', '/var/log/audit', '/var/tmp'],
75-
description: 'List of mountpoints where \'nodev\' mount option shoud be set'
75+
description: 'List of mountpoints where \'nodev\' mount option should be set'
7676
)
7777

7878
control 'os-01' do
7979
impact 1.0
8080
title 'Trusted hosts login'
81-
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."
81+
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."
8282
describe file('/etc/hosts.equiv') do
8383
it { should_not exist }
8484
end

libraries/suid_blacklist.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class SUIDBlacklist < Inspec.resource(1)
66
name 'suid_blacklist'
7-
desc 'The suid_blacklist resoruce returns the default suid blacklist'
7+
desc 'The suid_blacklist resource returns the default suid blacklist'
88

99
def default
1010
[

0 commit comments

Comments
 (0)