Skip to content

Commit

Permalink
modified 81869 to better check against more conditions
Browse files Browse the repository at this point in the history
Signed-off-by: HackerShark <[email protected]>
  • Loading branch information
HackerShark committed May 24, 2021
1 parent 084b820 commit 1bb651f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions controls/V-81869.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,13 @@
tag "documentable": false
tag "severity_override_guidance": false

describe yaml(input('mongod_conf')) do
its(%w{net ssl allowInvalidCertificates}) { should be nil }
describe.one do
describe yaml(input('mongod_conf')) do
its(%w{net ssl allowInvalidCertificates}) { should be nil }
end
describe yaml(input('mongod_conf')) do
its(%w{net ssl allowInvalidCertificates}) { should be false }
end
end
describe yaml(input('mongod_conf')) do
its(%w{net ssl mode}) { should cmp 'requireSSL' }
Expand Down

0 comments on commit 1bb651f

Please sign in to comment.