mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-24 03:58:12 -08:00
* divide into NewApp function * sort scan results for idempotency * chore(integration): add integration tests * tar_input_test: strengthen assertions Signed-off-by: Simarpreet Singh <simar@linux.com> * writer_test: Add a happy path for TestReportWriter Signed-off-by: Simarpreet Singh <simar@linux.com> * writer_test: switch to table test cases Signed-off-by: Simarpreet Singh <simar@linux.com> * writer_test: Add more scenarios for TestReportWriter_Table Signed-off-by: Simarpreet Singh <simar@linux.com> * writer: Change back to []Results and add happy path for JSON writer Signed-off-by: Simarpreet Singh <simar@linux.com> * writer_test: Switch to a table driven format Signed-off-by: Simarpreet Singh <simar@linux.com> * writer_test: cleanup Signed-off-by: Simarpreet Singh <simar@linux.com> * scan: Go back to report.Result by value Signed-off-by: Simarpreet Singh <simar@linux.com> * Revert "scan: Go back to report.Result by value" This reverts commit 03b6f7abd7d0d22d87c825d0ef3759cca200b9fc. * switch back to by value for results Signed-off-by: Simarpreet Singh <simar@linux.com> * writer_test: document a behavior with template inputs Signed-off-by: Simarpreet Singh <simar@linux.com> * vulnerability: Add a failing test to show unexpected sorting behavior. Signed-off-by: Simarpreet Singh <simar@linux.com> * report: Simplify []*Result to []Result. Signed-off-by: Simarpreet Singh <simar@linux.com> * test(template): add happy path * test(vulnerability): fix expected values * tar_input_test: Move gunzipDB Signed-off-by: Simarpreet Singh <simar@linux.com>
40 lines
1.6 KiB
Modula-2
40 lines
1.6 KiB
Modula-2
module github.com/aquasecurity/trivy
|
|
|
|
go 1.12
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v0.3.1
|
|
github.com/aquasecurity/fanal v0.0.0-20191015084852-e80236018d26
|
|
github.com/aquasecurity/go-dep-parser v0.0.0-20190819075924-ea223f0ef24b
|
|
github.com/briandowns/spinner v0.0.0-20190319032542-ac46072a5a91
|
|
github.com/caarlos0/env/v6 v6.0.0
|
|
github.com/emirpasic/gods v1.12.0 // indirect
|
|
github.com/etcd-io/bbolt v1.3.2
|
|
github.com/fatih/color v1.7.0
|
|
github.com/genuinetools/reg v0.16.0
|
|
github.com/gliderlabs/ssh v0.1.3 // indirect
|
|
github.com/knqyf263/go-deb-version v0.0.0-20190517075300-09fca494f03d
|
|
github.com/knqyf263/go-rpm-version v0.0.0-20170716094938-74609b86c936
|
|
github.com/knqyf263/go-version v1.1.1
|
|
github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348
|
|
github.com/mattn/go-colorable v0.1.1 // indirect
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
github.com/olekukonko/tablewriter v0.0.2-0.20190607075207-195002e6e56a
|
|
github.com/stretchr/testify v1.3.0
|
|
github.com/urfave/cli v1.20.0
|
|
github.com/xanzy/ssh-agent v0.2.1 // indirect
|
|
go.etcd.io/bbolt v1.3.2 // indirect
|
|
go.uber.org/atomic v1.3.2 // indirect
|
|
go.uber.org/multierr v1.1.0 // indirect
|
|
go.uber.org/zap v1.9.1
|
|
golang.org/x/crypto v0.0.0-20190404164418-38d8ce5564a5
|
|
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7
|
|
gopkg.in/cheggaaa/pb.v1 v1.0.28
|
|
gopkg.in/src-d/go-billy.v4 v4.3.0 // indirect
|
|
gopkg.in/src-d/go-git-fixtures.v3 v3.4.0 // indirect
|
|
gopkg.in/src-d/go-git.v4 v4.10.0
|
|
gopkg.in/yaml.v2 v2.2.2
|
|
)
|
|
|
|
replace github.com/genuinetools/reg => github.com/tomoyamachi/reg v0.16.1-0.20190706172545-2a2250fd7c00
|