Skip to content

Releases: aquasecurity/trivy

v0.4.3

23 Jan 09:34
5a8749c
Compare
Choose a tag to compare

New Feature

Save the results using a template

$ trivy --format template --template "@/path/to/template" golang:1.12-alpine

See here for an example

Changelog

5a8749c chore: add install script (#370)
4a7fb52 fix typo in example of .gitlab-ci.yml (#373)
8888fca chore(goreleaser): change name_template to file_name_template (#369)
63a8c6d Integrate with Gitlab Container Scanning (#367)
fc222be chore: change a licence in goreleaser.yml (#365)
6132ff9 template: Load template from paths (#202)
87556aa Dockerfile: Update to alpine 3.11 (#361)

Docker images

  • docker pull docker.io/aquasec/trivy:0.4.3
  • docker pull docker.io/aquasec/trivy:latest

v0.4.2

12 Jan 19:19
Compare
Choose a tag to compare

Bug fixes

  • Infinite loop when resolving dependencies of packages in Alpine #363
  • Memory monster #362

Changelog

43362b2 Fix inifinite loop when resolving dependencies of packages in Alpine (#364)
db2d0c2 docker_engine_test: Add more OSes (#358)
922d493 Add EOL Date for alpine 3.11 (#359)

Docker images

  • docker pull docker.io/aquasec/trivy:0.4.2
  • docker pull docker.io/aquasec/trivy:latest

v0.4.1

05 Jan 20:57
c4811c3
Compare
Choose a tag to compare

Bug fixes

Changelog

c4811c3 chore(dep): update (#357)
0ec840b feat(client): retry HTTP request when getting an unavailable error (#350)
0b96d08 fix(integration-test): use a snapshot database for Docker mode (#352)

Docker images

  • docker pull docker.io/aquasec/trivy:0.4.1
  • docker pull docker.io/aquasec/trivy:latest

v0.4.0

27 Dec 09:28
Compare
Choose a tag to compare

New Features

Support Photon OS (#340)

$ trivy photon:3.0

Thank you, @masahiro331

Support SUSE Enterprise Linux / openSUSE (#337)

$ trivy opensuse/leap:15.0

Thank you, @masahiro331

Specify a directory to store image cache (#341)

Trivy could specify a directory to store the vulnerability database, but could not specify a directory to store image cache. Now, you can specify it with --cache-dir.

$ trivy --cache-dir /path/to/cache alpine:3.10

Add --token-headers option (#326)

Trivy uses Trivy-Token as a default token header. You can specify a custom header by --token-header.

$ trivy server --token foo --token-header x-trivy-token
$ trivy client --token foo --token-header x-trivy-token

Show progress when downloading the DB (#317)

$ trivy alpine:3.10
2019-12-27T14:44:26.345+0200    INFO    Need to update DB
2019-12-27T14:44:26.346+0200    INFO    Downloading DB...
3.04 MiB / 9.26 MiB [---------------------------->__________________________________________________________] 32.82% 1.14 MiB p/s ETA 5s

Buf fixes

Clear cache (#339)

$ trivy client --clear-cache

Changelog

7abd416 Delete requires for release (#345)
fcc193b Support Photon OS (#340)
44d74a7 chore(README): add 0.0.0.0 to the server example (#342)
4189855 fix(cache): specify a directory to store image cache (#341)
77f1abc Integration tests for docker mode (#335)
96d58cc fix(client): clear cache (#339)
823374b feat(client/server): add --token-headers option (#326)
b127c1c Support SUSE (#337)
b1ea09d Merge pull request #272 from aquasecurity/lizrice-patch-1
8c1c3df Merge branch 'master' into lizrice-patch-1
cee08c3 feat(db): show progress when downloading the DB (#317)
bc8f613 fix(writer): Refactor results struct (#327)
b9eddaf Merge branch 'master' into lizrice-patch-1
bdd1266 docs: note that some sources are non-commercial

Docker images

  • docker pull docker.io/aquasec/trivy:0.4.0
  • docker pull docker.io/aquasec/trivy:latest

v0.3.1

16 Dec 08:35
af584a8
Compare
Choose a tag to compare

Bug fix

af584a8 Revert "change mod genuinetools/reg to vanilla (#297)" (#321)

Docker images

  • docker pull docker.io/aquasec/trivy:0.3.1
  • docker pull docker.io/aquasec/trivy:latest

v0.3.0

13 Dec 13:43
74717b8
Compare
Choose a tag to compare

New Features

  • Client/Server
    • trivy server and trivy client are available
    • See here for details
  • Support Oracle Linux

Bug Fixes

  • Possible false-positive on jq library #245
  • fix(reset): reset before initializing DB #275

Changelog

74717b8 feat: support client/server mode (#295)
24fc88c Fix conduct strategy (#308)
1e9dcdb change mod genuinetools/reg to vanilla (#297)
7233b5f Update Gitlab example for Trivy 0.2.0 (#270)
3a53a88 refactor(app): use internal and separate configurations (#291)
6cbbb22 fix(alpine): handle rc version (#289)
b6a8af5 chore(windows): remove (#278)
30c1a00 Update readme (#287)
b345342 Add oracle linux support (#286)
438680f fix(reset): reset before initializing DB (#275)
740c2c4 chore(log): add debug messages (#284)

Docker images

  • docker pull docker.io/aquasec/trivy:0.3.0
  • docker pull docker.io/aquasec/trivy:latest

v0.2.1

15 Nov 21:48
35429e3
Compare
Choose a tag to compare

Changes

  • Support GITHUB_TOKEN for rate limiting
  • Ignore files under vendor dir to avoid false positives
  • New logo

Changelog

35429e3 chore(logo): replace with new logo (#269)
fb26541 chore(clear-cache): add an explanation (#276)
15af65b feat(github): add GITHUB_TOKEN for rate limiting (#281)
c2fdfab fix(lockfile): ignore files under vendor dir (#279)

Docker images

  • docker pull docker.io/aquasec/trivy:0.2.1
  • docker pull docker.io/aquasec/trivy:latest

v0.2.0

14 Nov 15:31
3cb713c
Compare
Choose a tag to compare

Main Features

  • Dramatically improve the scan speed on the first run 🎉🎉 🎉 🎉 🎉🎉 🎉 🎉
    • Previous version: ~ 10 min
    • New version: ~ 10 sec (Depending on the network)

Now, you don't need to use a cache in CI/CD. You can see an example.
https://github.com/aquasecurity/trivy-ci-test/commit/eb4d393a7178aea0118c6e9017269f258d6b3edf/checks?check_suite_id=311236898

New Features

  • --light option
    • The lightweight DB doesn't contain vulnerability detail such as descriptions and references. Because of that, the size of the DB is smaller and the download is faster.
    • This option is useful when you don't need vulnerability details and is suitable for CI/CD. To find the additional information, you can search vulnerability details on the NVD website.
    • e.g. $ trivy --light alpine:3.10
  • --download-db-only option (#172)
    • This option simply retrieves the vulnerability database without scanning.
    • Thanks to @miguelbernadi
  • Enable environment variables (#220)
    • You can specify the options via environment variables
    • e.g. TRIVY_EXIT_CODE=1 trivy alpine:3.10
    • Thanks to @tboerger

Changelog

e371747 doc(README): fix missing Gitlab CI link section in ToC (#263)
514137e Merge pull request #253 from aquasecurity/remote_db
4f92d29 chore(makefile): add Makefile (#256)
8ea2e8c Add env variables for every flag (#220)
d1615bc typo fixed and GitHub Profile link added (#236)
76d920e Grammar (#232)
1f07220 docs: typo correction (#252)
f326beb Fixed broken link and some typos in Readme.md (#228)
e04e90f add new line at eof (#249)
d27eeb2 Add option to only download vulnerability database (#172)
62ea073 Enable shell autocompletion (#234)
187864a Added GitLab YML (#223)
a666c4a massage rubygems version to handle platforms (#230)
bda4ee0 add echo to CI gofmt step (#231)
63ed4eb Fixed Broken README links (#214)

Docker images

  • docker pull docker.io/aquasec/trivy:0.2.0
  • docker pull docker.io/aquasec/trivy:latest

v0.1.7

24 Oct 12:30
d03a64c
Compare
Choose a tag to compare

New feature

  • Support new OSes
    • Amazon Linux
    • Google Distroless
  • Support new build tool
    • Kaniko
  • New options
    • --ignorefile
      • Specify the .trivyignore path
    • --timeout
      • Specify timeout
    • --template
      • The result can be exported to your template

Update

  • Go version
    • 1.13
  • Alpine version
    • 3.10

Changelog

d03a64c Update README (#224)
20babc4 Bump Go 1.13 (#218)
a6141ed CI/CD refactor (#209)
a12bb8d fix(db): introduce db schema version (#221)
5ae10e0 Dockerfile: Update runner base to alpine 3.10 (#199)
ff873a2 Support Amazon Linux (#182)
7ad94c3 Update .gitignore (#215)
f850984 test(integration): add integration tests (#201)
9334e60 Changed to be able to specify IgnoreFile as whitelist (#175)
f198b6e Check errors passed through by filepath.Walk (#208)
cb1870e Update README.md (#206)
384205a Remove extra double quote (#204)
d9e64d2 Updated README.md (#203)
5ccb0af Added Docker image badge & missing punctuation's (#189)
da621c3 Add timeout option (#143)
3a28576 added reference for LICENSE (#195)
dbb7a55 Check returned error before deferring file close (#197)
89f2d48 docs: minor tweak (#183)
f933ab4 Improve ubuntu install (#178)
af78d2f Update README.md - typo fix (#186)
0fff415 Support Kaniko (#171)
987538f Display an error message when rpm not found (#167)
2642020 Support distroless and ignore lock files under vendor dir (#166)
c4a2b76 Add rpm to the trivy image (#165)
339d0db Add template writer (#141)
43568cc Update xerrors version (#158)
fbd73f2 Modify cache-dir usage comment (#148)
4a21ad9 env (#154)
18de7e4 README.md is out of date (#145)
90e4c15 Add the RHEL8 support to rpm repository (#138)
4f57216 use COPY on dockerfile rather than add (#132)
e6b6830 fix typo in readme (#130)
4ce651c fix gofmt (#131)

Docker images

  • docker pull docker.io/aquasec/trivy:0.1.7
  • docker pull docker.io/aquasec/trivy:latest

v0.1.6

23 Aug 07:57
Compare
Choose a tag to compare

Changelog

ab8b73e Fix libraly cache directotry (#129)
a77984a Suppress log output when --quiet flag is on (#125)
31a1f59 Fix cannot found docker image (#123)
4ca73f0 Merge pull request #120 from aquasecurity/readme_migration
0909f94 Clarify migration instructions
d1c01c1 Small wording change
f8cdd60 Slight wording change
2e4b83b Add migration section on README