Files
vuls/contrib/trivy
MaineK00n 96c3592db1 breaking-change(go-cve-dict): support new go-cve-dictionary (#1277)
* feat(model): change CveContents(map[string]CveContent) to map[string][]CveContent

* fix(cpescan): use CveIDSource

* chore: check Nvd, Jvn data

* chore: go-cve-dictionary update

* chore: add to cveDetails as is, since CveID is embedded in the response
2021-08-13 18:00:55 +09:00
..
2020-06-05 15:04:06 +09:00
2020-05-29 18:06:45 +09:00

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