An API for ssh_scan (https://github.com/mozilla/ssh_scan) and the backend API service for the Mozilla SSH Observatory (https://observatory.mozilla.org/)
Перейти к файлу
Jonathan Claudius 42ee69d0ba Add data stub for worker to build properly 2018-01-23 10:38:08 -05:00
bin minimal, but working ActiveRecord port 2018-01-22 21:18:08 -05:00
config Attempt to get specs running with new active-record design 2018-01-23 10:30:41 -05:00
cron Letsencrypt update script 2017-08-01 16:04:36 -04:00
data Add data stub for worker to build properly 2018-01-23 10:38:08 -05:00
database Attempt to get specs running with new active-record design 2018-01-23 10:30:41 -05:00
db Attempt to get specs running with new active-record design 2018-01-23 10:30:41 -05:00
docker Attempt to get specs running with new active-record design 2018-01-23 10:30:41 -05:00
examples Now have a working docker setup, w00t 2018-01-12 14:44:39 -05:00
lib Attempt to get specs running with new active-record design 2018-01-23 10:30:41 -05:00
nginx Initial import of ssh_scan_api into it's own project 2017-03-01 23:27:10 -05:00
scripts Fix up batch scanning 2018-01-19 17:34:08 -05:00
spec minimal, but working ActiveRecord port 2018-01-22 21:18:08 -05:00
.gitignore Prevent accidentally committing DB to github 2018-01-16 18:01:45 -05:00
.rspec More prep for ssh_scan_api debute 2017-03-02 00:20:31 -05:00
.travis.yml Add ruby updates from @nicolasleger 2018-01-19 16:18:42 -05:00
CONTRIBUTING.md Fix contributing 2017-03-01 23:57:55 -05:00
Gemfile Moar deployment tweaks #2 2017-05-26 01:13:50 -04:00
README.md Add badges 2017-08-01 15:37:08 -04:00
Rakefile minimal, but working ActiveRecord port 2018-01-22 21:18:08 -05:00
config.ru minimal, but working ActiveRecord port 2018-01-22 21:18:08 -05:00
deploy.sh Last minute tweaks before deployment 2018-01-19 13:16:09 -05:00
docker-compose.yml Try to fix hanging issues on API when daemonized 2018-01-19 17:51:17 -05:00
ssh_scan_api.gemspec Attempt to get specs running with new active-record design 2018-01-23 10:30:41 -05:00

README.md

ssh_scan_api

Build Status Code Climate Gem Version Join the chat at https://gitter.im/mozilla-ssh_scan/Lobby Coverage Status

A web api to scale ssh_scan operations

Setup

To install and run from source, type:

# clone repo
git clone https://github.com/mozilla/ssh_scan_api.git
cd ssh_scan_api

# install rvm,
# you might have to provide root to install missing packages
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable

# install Ruby 2.3.1 with rvm,
# again, you might have to install missing devel packages
rvm install 2.3.1
rvm use 2.3.1

# resolve dependencies
gem install bundler
bundle install

./bin/ssh_scan_api

ssh_scan as a command-line tool?

This project is focused on providing ssh_scan as a service/API.

If you would like to run ssh_scan from command-line, checkout the ssh_scan project.

Rubies Supported

This project is integrated with travis-ci and is regularly tested to work with multiple rubies.

To checkout the current build status for these rubies, click here.

Contributing

If you are interested in contributing to this project, please see CONTRIBUTING.md.

Credits

Sources of Inspiration for ssh_scan

  • Mozilla OpenSSH Security Guide - For providing a sane baseline policy recommendation for SSH configuration parameters (eg. Ciphers, MACs, and KexAlgos).