Skip to content

Commit b05bacb

Browse files
authored
Merge pull request #50 from dev-sec/codespell
add spellchecking with codespell
2 parents 7c2f5c8 + 8ed1064 commit b05bacb

3 files changed

Lines changed: 16 additions & 4 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"

CHANGELOG.md

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

143143
**Merged pull requests:**
144144

145-
- install server and apply hardening in seperate steps [\#5](https://github.com/dev-sec/postgres-baseline/pull/5) ([chris-rock](https://github.com/chris-rock))
145+
- install server and apply hardening in separate steps [\#5](https://github.com/dev-sec/postgres-baseline/pull/5) ([chris-rock](https://github.com/chris-rock))
146146
- bugfix: lint error [\#4](https://github.com/dev-sec/postgres-baseline/pull/4) ([chris-rock](https://github.com/chris-rock))
147147
- add ssl test back in for 'off' setting [\#3](https://github.com/dev-sec/postgres-baseline/pull/3) ([ehaselwanter](https://github.com/ehaselwanter))
148148

controls/postgres_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
control 'postgres-02' do
8383
impact 1.0
8484
title 'Use stable postgresql version'
85-
desc 'Use only community or commercially supported version of the PostgreSQL software (https://www.postgresql.org/support/versioning/). Do not use RC, DEVEL oder BETA versions in a production environment.'
85+
desc 'Use only community or commercially supported version of the PostgreSQL software (https://www.postgresql.org/support/versioning/). Do not use RC, DEVEL or BETA versions in a production environment.'
8686
describe command('psql -V') do
8787
its('stdout') { should match /^psql\s\(PostgreSQL\)\s(9.6|10|11|12|13).*/ }
8888
end
@@ -250,7 +250,7 @@
250250

251251
control 'postgres-14' do
252252
impact 1.0
253-
title 'Require only trusted authentication mathods in pg_hba.conf'
253+
title 'Require only trusted authentication methods in pg_hba.conf'
254254
desc 'Require trusted auth method for ALL users, peers in pg_hba.conf and do not allow untrusted authentication methods.'
255255
case postgres.version
256256
when /^9/
@@ -313,7 +313,7 @@
313313
control 'postgres-18' do
314314
impact 1.0
315315
title 'Grants should not be assigned with grant option privilege'
316-
desc 'Grants should not be assigned with grant option exept postgresql admin superuser.'
316+
desc 'Grants should not be assigned with grant option except postgresql admin superuser.'
317317
describe postgres_session(USER, PASSWORD).query("SELECT COUNT(is_grantable) FROM information_schema.table_privileges WHERE grantee NOT LIKE 'postgres' AND is_grantable = 'YES';") do
318318
its('output') { should eq '0' }
319319
end

0 commit comments

Comments
 (0)