osv2gitlab
v1.1.0
Published
Convert osv-scanner report JSON to GitLab dependency scanner report format
Downloads
964
Readme
osv2gitlab
Script to convert osv-scanner output to a GitLab dependency scanner report format or junit XML format.
Usage
$ osv-scanner --format json . | npx -q osv2gitlab > gl-dependency-scanning.json
Junit output
$ osv-scanner --format json . | npx -q osv2gitlab --format=junit > junit.xml
Threshold filter
Keep everything classed as Medium severity or above:
$ osv-scanner --format json . | npx -q osv2gitlab --threshold=medium > gl-dependency-scanning.json
Contributing
Please fork the repository and submit a pull request.
License
This software is licensed under GNU GPLv3.