This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jonathan Claudius
committed
Jan 19, 2018
1 parent
fe56166
commit ceaabad
Showing
3 changed files
with
40 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,9 @@ | |
it "should provide an F grade" do | ||
result = SSHScan::Result.new() | ||
result.set_compliance = { | ||
:policy => "Test Result", | ||
:compliant => false, | ||
:recommendations => [ | ||
"policy" => "Test Result", | ||
"compliant" => false, | ||
"recommendations" => [ | ||
"Add these Key Exchange Algos: ecdh-sha2-nistp521,ecdh-sha2-nistp384,diffie-hellman-group-exchange-sha256", | ||
"Add these MAC Algos: [email protected],[email protected],[email protected],[email protected]", | ||
"Add these Encryption Ciphers: [email protected],[email protected]", | ||
|
@@ -24,9 +24,9 @@ | |
it "should provide an F grade" do | ||
result = SSHScan::Result.new() | ||
result.set_compliance = { | ||
:policy => "Test Result", | ||
:compliant => false, | ||
:recommendations => [ | ||
"policy" => "Test Result", | ||
"compliant" => false, | ||
"recommendations" => [ | ||
"Add these Key Exchange Algos: ecdh-sha2-nistp521,ecdh-sha2-nistp384,diffie-hellman-group-exchange-sha256", | ||
"Add these MAC Algos: [email protected],[email protected],[email protected],[email protected]", | ||
"Add these Encryption Ciphers: [email protected],[email protected]", | ||
|
@@ -40,9 +40,9 @@ | |
it "should provide an D grade" do | ||
result = SSHScan::Result.new() | ||
result.set_compliance = { | ||
:policy => "Test Result", | ||
:compliant => false, | ||
:recommendations => [ | ||
"policy" => "Test Result", | ||
"compliant" => false, | ||
"recommendations" => [ | ||
"Add these Key Exchange Algos: ecdh-sha2-nistp521,ecdh-sha2-nistp384,diffie-hellman-group-exchange-sha256", | ||
"Add these MAC Algos: [email protected],[email protected],[email protected],[email protected]", | ||
"Add these Encryption Ciphers: [email protected],[email protected]", | ||
|
@@ -55,9 +55,9 @@ | |
it "should provide an C grade" do | ||
result = SSHScan::Result.new() | ||
result.set_compliance = { | ||
:policy => "Test Result", | ||
:compliant => false, | ||
:recommendations => [ | ||
"policy" => "Test Result", | ||
"compliant" => false, | ||
"recommendations" => [ | ||
"Add these Key Exchange Algos: ecdh-sha2-nistp521,ecdh-sha2-nistp384,diffie-hellman-group-exchange-sha256", | ||
"Add these MAC Algos: [email protected],[email protected],[email protected],[email protected]", | ||
] | ||
|
@@ -69,9 +69,9 @@ | |
it "should provide an B grade" do | ||
result = SSHScan::Result.new() | ||
result.set_compliance = { | ||
:policy => "Test Result", | ||
:compliant => false, | ||
:recommendations => [ | ||
"policy" => "Test Result", | ||
"compliant" => false, | ||
"recommendations" => [ | ||
"Add these Key Exchange Algos: ecdh-sha2-nistp521,ecdh-sha2-nistp384,diffie-hellman-group-exchange-sha256", | ||
] | ||
} | ||
|
@@ -82,9 +82,9 @@ | |
it "should provide an A grade" do | ||
result = SSHScan::Result.new() | ||
result.set_compliance = { | ||
:policy => "Test Result", | ||
:compliant => false, | ||
:recommendations => [ | ||
"policy" => "Test Result", | ||
"compliant" => false, | ||
"recommendations" => [ | ||
] | ||
} | ||
grader = SSHScan::Grader.new(result) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters