Skip to content

Converts `endorctl scan` findings (in JSON format) to GitLab's Dependency Scan JSON format

Notifications You must be signed in to change notification settings

endor-matt/gitlab-finding-converter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Endor Labs to GitLab Dependency Scan findings converter

NOTE: this is a work in progress, and has not yet been fully tested

Usage

(Assuming a CI environment)

Requires Python 3.6 or newer

  1. Place the endorlabs-to-gitlab.py file in your runner, using whatever method you prefer
  2. Run endorctl scan -o json [additional arguments] | python3 /path/to/endorlabs-to-gitlab.py [--warnings] [--blocks] > el-gl-dep.findings.json
  3. Add a job step to upload the findings JSON file to GitLab

Any logical equivalent (such as capturing the Endor Labs scan file and cat-piping to the python script) is acceptable.

About

Converts `endorctl scan` findings (in JSON format) to GitLab's Dependency Scan JSON format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%