dependabot / gem-vulnerability-analysis

Jupyter notebook for a blog post on gem vulnerabilities and version updates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gem Vulnerability Analysis

The code behind the analysis in this blog post.

All the fun stuff lives in the Jupyter notebook.

Running with Docker

  1. Build the container:
    $ docker build -t gem-vulnerability-analysis .
    
  2. Run the container:
    $ docker run --rm \
        -v "$(pwd)/notebooks:/home/jupyter/notebooks" \
        -p 8888:8888 \
        gem-vulnerability-analysis
    
  3. Visit the URL that appears in stdout

Running manually

Running with Docker is probably easier, but that's not your thing:

  1. Install Ruby, Jupyter, and iruby
  2. Navigate to the notebooks directory
  3. Download and extract the contents of the Rubysec advisory database to a sub-directory called ruby-advisory-db-master
  4. Run jupyter notebook
  5. Visit the URL that appears in stdout

About

Jupyter notebook for a blog post on gem vulnerabilities and version updates.


Languages

Language:Jupyter Notebook 93.1%Language:Dockerfile 5.4%Language:Shell 1.2%Language:Ruby 0.3%