Client/Server

    At first, you need to launch Trivy server. It downloads vulnerability database automatically and continue to fetch the latest DB in the background.

    1. $ trivy server --listen 0.0.0.0:8080

    Then, specify the remote address.

    1. ===========================
    2. +---------+------------------+----------+-------------------+---------------+
    3. | LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION |
    4. + +------------------+ + + +
    5. | | CVE-2019-1563 | | | |
    6. + +------------------+----------+ + +
    7. | | CVE-2019-1547 | LOW | | |
    1. $ trivy client --remote http://localhost:8080 --token dummy alpine:3.10