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

Added SSH version as a policy control. Fixes #154 #176

Merged
merged 1 commit into from
Sep 10, 2016
Merged

Added SSH version as a policy control. Fixes #154 #176

merged 1 commit into from
Sep 10, 2016

Conversation

yashmehrotra
Copy link
Contributor

We just need to add ssh_version: <minimum> to the yml file.

@claudijd
Copy link
Contributor

claudijd commented Sep 7, 2016

@yashmehrotra please feel free to add 2.0 to modern and intermediate policies here in this PR => https://github.com/mozilla/ssh_scan/tree/master/policies

@claudijd
Copy link
Contributor

claudijd commented Sep 7, 2016

@yashmehrotra also, feel free to join us in Glitter chat if you'd like. I'd invite you directly, but don't have your email (https://gitter.im/mozilla-ssh_scan/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

end
end
return false
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Returning false or string is a bit weird here.

Maybe we need to improve terminology here.

Maybe there is a method that returns true/false, one that returns the version we saw, and one that returns the version we want? I feel like that might be a little more deliberate.

Also updated mozilla policies for minimum ssh_version
@yashmehrotra
Copy link
Contributor Author

@claudijd Hi, I used a new approach, where the function that checks the minimum ssh version only returns a boolean. I hope its good.

@claudijd claudijd merged commit 602d33f into mozilla:master Sep 10, 2016
@claudijd
Copy link
Contributor

@yashmehrotra thanks!

@yashmehrotra yashmehrotra deleted the ssh-version-policy-control branch September 10, 2016 01:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants