Git Product home page Git Product logo

trivy-db-to's Introduction

trivy-db-to

build

trivy-db-to is a tool for migrating/converting vulnerability information from Trivy DB to other datasource.

Usage

$ trivy-db-to mysql://root:[email protected]:3306/mydb
Fetching and updating Trivy DB ...
19.35 MiB / 19.35 MiB [--------------------------------------------------] 100.00% 2.58 MiB p/s 8s
done
Initializing vulnerability information tables ... done
Updating vulnerability information tables ...
>> Updating table 'vulnerabilities' ...
>> Update table 'vulnerability_advisories' ...
>>> GitHub Security Advisory Composer
>>> GitHub Security Advisory Maven
>>> GitHub Security Advisory Npm
>>> GitHub Security Advisory Nuget
>>> GitHub Security Advisory Pip
>>> GitHub Security Advisory Rubygems
>>> Oracle Linux 5
>>> Oracle Linux 6
>>> Oracle Linux 7
>>> Oracle Linux 8
>>> Photon OS 1.0
>>> Photon OS 2.0
>>> Photon OS 3.0
>>> Red Hat Enterprise Linux 5
>>> Red Hat Enterprise Linux 6
>>> Red Hat Enterprise Linux 7
[...]
>>> ubuntu 17.10
>>> ubuntu 18.04
>>> ubuntu 18.10
>>> ubuntu 19.04
>>> ubuntu 19.10
>>> ubuntu 20.04
done

Support datasource

Install

deb:

$ export TRIVY_DB_TO_VERSION=X.X.X
$ curl -o trivy-db-to.deb -L https://github.com/k1LoW/trivy-db-to/releases/download/v$TRIVY_DB_TO_VERSION/trivy-db-to_$TRIVY_DB_TO_VERSION-1_amd64.deb
$ dpkg -i trivy-db-to.deb

RPM:

$ export TRIVY_DB_TO_VERSION=X.X.X
$ yum install https://github.com/k1LoW/trivy-db-to/releases/download/v$TRIVY_DB_TO_VERSION/trivy-db-to_$TRIVY_DB_TO_VERSION-1_amd64.rpm

apk:

$ export TRIVY_DB_TO_VERSION=X.X.X
$ curl -o trivy-db-to.apk -L https://github.com/k1LoW/trivy-db-to/releases/download/v$TRIVY_DB_TO_VERSION/trivy-db-to_$TRIVY_DB_TO_VERSION-1_amd64.apk
$ apk add trivy-db-to.apk

homebrew tap:

$ brew install k1LoW/tap/trivy-db-to

manually:

Download binary from releases page

go install:

$ go install github.com/k1LoW/trivy-db-to@latest

docker:

$ docker pull ghcr.io/k1low/trivy-db-to:latest

trivy-db-to's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar hiboma avatar k1low avatar mrtc0 avatar nozo-moto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

trivy-db-to's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.