No release in over a year
GitLab parser for bundler-audit gem output
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

gitlab-bundler-audit-parser

Parser to make bundler-audit json output compliant with GitLab dependency scanning

Installation

gem install gitlab-bundler-audit-parser

Usage

The gem comes with an executbable gitlab-bundler-audit-parser. To use it, simply pass the JSON output of bundler-audit to the stdin of the command. If any vulnerabilities are present, the executable will exit with a code 1.

cat bundler-audit.output.json | gitlab-bundler-audit-parser

Or piping the ouput of bundler-audit directly.

bundle exec bundler-audit check -F json | gitlab-bundler-audit-parser

By default, a gl-dependency-scanning-report.json file will be generated in current directory. A different path can be specified as the following:

cat bundler-audit.output.json | gitlab-bundler-audit-parser path/to/a/file