gem-vulnerability-analysis
gem-vulnerability-analysis copied to clipboard
Jupyter notebook for a blog post on gem vulnerabilities and version updates.
Gem Vulnerability Analysis
The code behind the analysis in this blog post.
All the fun stuff lives in the Jupyter notebook.
Running with Docker
- Build the container:
$ docker build -t gem-vulnerability-analysis .
- Run the container:
$ docker run --rm \ -v "$(pwd)/notebooks:/home/jupyter/notebooks" \ -p 8888:8888 \ gem-vulnerability-analysis
- Visit the URL that appears in stdout
Running manually
Running with Docker is probably easier, but that's not your thing:
- Install Ruby, Jupyter, and iruby
- Navigate to the notebooks directory
- Download and extract the contents of the Rubysec advisory database to a sub-directory called ruby-advisory-db-master
- Run
jupyter notebook
- Visit the URL that appears in stdout