Skip to content

Commit b98b5e9

Browse files
author
Filip Krahl
committed
found operator issue on postgres-13
Signed-off-by: Filip Krahl <[email protected]>
1 parent 2150919 commit b98b5e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controls/postgres_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
impact 1.0
244244
title 'Require peer auth_method for local users'
245245
desc 'Require peer auth_method for local users.'
246-
describe postgres_hba_conf(POSTGRES_HBA_CONF_FILE).where { type eq 'local' } do
246+
describe postgres_hba_conf(POSTGRES_HBA_CONF_FILE).where { type == 'local' } do
247247
its('auth_method') { should all eq 'peer' }
248248
end
249249
end

0 commit comments

Comments
 (0)