Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Fix condition check for SSH policy control. Fixes #183. #184

Merged
merged 1 commit into from
Sep 10, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ssh_scan/policy_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def recommendations
recommendations << "Remove these Authentication Methods: #{out_of_policy_auth_methods.join(", ")}" unless out_of_policy_auth_methods.empty?

# Update these items to be compliant
recommendations << "Update your ssh version to: #{@policy.ssh_version}" unless out_of_policy_ssh_version
recommendations << "Update your ssh version to: #{@policy.ssh_version}" if out_of_policy_ssh_version

return recommendations
end
Expand Down