* feat: update-trivy * add v2 parser * implement v2 * refactor * feat: add show version to future-vuls * add test case for v2 * trivy v0.20.0 * support --list-all-pkgs * fix lint err * add test case for jar * add a test case for gemspec in container * remove v1 parser and change Library struct * Changed the field name in the model struct LibraryScanner * add comment * fix comment * fix comment * chore * add struct tag
trivy-to-vuls
Main Features
- convert trivy's results json to vuls's report json
 
Installation
git clone https://github.com/future-architect/vuls.git
make build-trivy-to-vuls
Command Reference
Parse trivy json to vuls results
Usage:
  trivy-to-vuls parse [flags]
Flags:
  -h, --help                          help for parse
  -s, --stdin                         input from stdin
  -d, --trivy-json-dir string         trivy json dir (default "./")
  -f, --trivy-json-file-name string   trivy json file name (default "results.json")
Usage
- use trivy output
 
 trivy -q image -f=json python:3.4-alpine | trivy-to-vuls parse --stdin