Repository is archived
No commit activity in last 3 years
No release in over 3 years
Wraps bundler-audit gem to check specific repos for gem vulnerabilities
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.9
~> 10.0

Runtime

~> 0.19
 Project Readme

GOV.UK Gem Security Checker

This wraps the bundler-audit gem to allow checking specific Bundler lockfiles.

Usage

Install the gem:

gem install govuk_security_audit

Update the Ruby Advisory Database:

govuk_security_audit update

Check the current directory:

govuk_security_audit check

Check another directory:

govuk_security_audit check ~/govuk/whitehall

Check a specific Gemfile.lock:

govuk_security_audit check /tmp/whitehall-gemfile.lock

Check a repo on Github:

govuk_security_audit github alphagov whitehall

Check a specific branch on Github:

govuk_security_audit github alphagov whitehall upgrade-rails

Checks but ignores specific vulnerabilities

govuk_security_audit check ~/govuk/whitehall --ignore OSVDB-131677 advisory