Owen Rumney
719ea29d31
chore: add context to the cache interface ( #9565 )
2025-10-03 09:37:05 +00:00
Teppei Fukuda
3adfd988d1
refactor: centralize HTTP transport configuration ( #9058 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2025-06-24 17:43:58 +00:00
Matthieu MOREL
6562082e28
fix: unused-parameter rule from revive ( #8794 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-04-30 09:17:24 +00:00
Matthieu MOREL
43350dd9b4
fix: early-return, indent-error-flow and superfluous-else rules from revive ( #8796 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-04-30 06:24:09 +00:00
Matthieu MOREL
715575d731
chore: use require.ErrorContains when possible ( #8291 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-27 06:47:29 +00:00
Teppei Fukuda
4be02bab8c
refactor: use google/wire for cache ( #7024 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2024-06-27 07:04:01 +00:00
Teppei Fukuda
6dff4223ed
refactor: unify cache implementations ( #6977 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2024-06-21 06:35:33 +00:00
Matthieu MOREL
bbaf5952bc
ci(deps): enable require-error rule from testifylint linter ( #6718 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-05-20 07:12:43 +00:00
Matthieu MOREL
9d26ae88d6
ci(deps): enable testifylint linter on .*_test.go$ ( #6688 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-05-16 04:29:06 +00:00
Matthieu MOREL
1ad47c24ef
chore(deps): use google.golang.org/protobuf/types/known instead of github.com/golang/protobuf/ptypes ( #6681 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-05-15 07:30:00 +00:00
Teppei Fukuda
44656f2853
refactor: use defined types ( #5225 )
...
* refactor: replace string with defined types
Signed-off-by: knqyf263 <knqyf263@gmail.com >
* chore: add gci
Signed-off-by: knqyf263 <knqyf263@gmail.com >
* fix(purl): not confuse trivy type with purl type
Signed-off-by: knqyf263 <knqyf263@gmail.com >
* test: fix cyclonedx fixture
Signed-off-by: knqyf263 <knqyf263@gmail.com >
* fix(template): cast TargetType to string
Signed-off-by: knqyf263 <knqyf263@gmail.com >
* chore: bump TinyGo to v0.29.0
Signed-off-by: knqyf263 <knqyf263@gmail.com >
* test: change license to licence
Signed-off-by: knqyf263 <knqyf263@gmail.com >
* use `analyzer.TypeGoMod` for gomod analyzer
* ignore `licence` for misspell linter
---------
Signed-off-by: knqyf263 <knqyf263@gmail.com >
Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io >
2023-09-22 10:44:39 +00:00
Liam Galvin
094db23a03
refactor: Fix fanal import paths and remove dotfiles
2022-06-20 09:43:33 +01:00
Teppei Fukuda
7cecade3a1
feat: add support for WASM modules ( #2195 )
2022-06-15 15:23:00 +03:00
afdesk
9154b819ac
feat(cache): remove temporary cache after filesystem scanning ( #1868 )
2022-03-27 11:31:54 +03:00
Christian Zunker
aa6e1eb6f9
feat(client): configure TLS InsecureSkipVerify for server connection ( #1287 )
...
Co-authored-by: knqyf263 <knqyf263@gmail.com >
2022-02-13 11:34:34 +02:00
Teppei Fukuda
c9f22f4e55
feat(java): support jar/war/ear ( #837 )
...
* refactor(server): remove Detect endpoint
* refactor(library): do not use interface
* refactor: add dbtest package
* test: add bolt fixtures
* feat: support jar scanning
* refactor: rename node to npm
* refactor: fix lint issues
* test(maven): remove some tests
* chore(mod): update fanal
* docs: update README
* chore(mod): update trivy-db
* fix(library/drive): add ecosystem
* fix: do not display 0 vulnerabilities
* refactor(table): split method
* Update README.md (#838 )
* fix(app): increase the default value of timeout (#842 )
* feat(maven): use go-mvn-version
* test(maven): update tests
* fix(scan): skip files and dirs before vulnerability detection
* fix: display log messages only once per type
* docs(README): add file suffixes
* chore(mod): update go-mvn-version
* feat(log): set go-dep-parser logger
* chore(mod): update fanal
* docs: update README
* docs(README): add java source
* test(maven): fix invalid case
2021-02-14 18:19:42 +02:00
Teppei Fukuda
2f2d1a908b
feat: support repository and filesystem scan ( #503 )
...
* refactor: embed config
* refactor: replace image and layer with artifact and blob
* feat(config): add ArtifactConfig
* fix(scanner): use Artifact
* test(scanner): update mocks
* feat: add repo and fs subcommands
* chore(mod): update
* refactor: fix warn message
* feat(cli): add --no-progress to repo and fs
* mod: Update fanal dependency
Signed-off-by: Simarpreet Singh <simar@linux.com >
Co-authored-by: Simarpreet Singh <simar@linux.com >
2020-05-30 19:46:12 +03:00
Teppei Fukuda
329f245283
fix: replace containers/image with google/go-containerregistry ( #456 )
...
* chore(mod): update dependencies
* fix(internal): remove cleanup
* fix: use only diff_id
* fix: use string instead of digest
* fix: replace LayerID with Layer
* test(integration): negotiate API version
* feat(conf): add TRIVY_NONSSL
* test(integration): update golden files
* test(integration): fix the error message
* chore(debian): add comments
* chore(mod): update dependencies
2020-04-14 13:31:13 +03:00
Teppei Fukuda
18b80e3781
feat(cache): based on JSON ( #398 )
...
* refactor(docker_conf): rename and remove unnecessary options
* feat(rpc): define new API
* fix(cli): change default timeout
* fix(import): fix package names
* refactor(vulnerability): remove old mock
* refactor(utils): remove un-needed functions
* feat(cache): implement cache communicating with a server
* refactor(scan): separate scan function as local scanner
* test(scanner): add tests for ScanImage
* refactor(scan): remove unused options
* test(vulnerability): generate mock
* refactor(server): split a file
* feat(server): implement new RPC server
* feat(client): implement new RPC client
* fix(cache): use new cache interface
* fix(standalone): use new scanner
* fix(client): use new scanner
* fix(server): pass cache
* test(integration): make sure an error is not nil before calling the method
* fix(mod): update dependencies
* test(integration): ensure the image load finishes
* feat(docker): support DOCKER_HOST and DOCKER_CERT_PATH
* chore(mod): update dependencies
* refactor(rpc): remove old client
* feat(server): support old API for backward compatibility
* fix(server): check a schema version of JSON cache
* fix(rpc): add a version to packages
* feat(rpc): add PutImage
* test: rename expectations
* refactor(cache): rename LayerCache to ImageCache
* refactor: rename ImageInfo to ImageReference
* fix(applier): pass image_id to ApplyLayer
* feat(cache): handle image cache
* chore(mod): update dependencies
* refactor(server): pass only config
* feat(cli): add -removed-pkgs option
* refactor(err): wrap errors
2020-02-27 23:17:55 +02:00