Teppei Fukuda
55ccd06df4
feat: add memory cache backend ( #7048 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2024-06-28 09:42:02 +00:00
Teppei Fukuda
3d02a31b44
fix(plugin): respect --insecure ( #7022 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2024-06-26 10:23:00 +00:00
chenk
8d618e48a2
feat(k8s)!: node-collector dynamic commands support ( #6861 )
...
Signed-off-by: chenk <hen.keinan@gmail.com >
2024-06-26 07:04:50 +00:00
Teppei Fukuda
8d0ae1f5de
feat!: add clean subcommand ( #6993 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
Co-authored-by: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com >
Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io >
2024-06-25 09:06:27 +00:00
simar7
979e118a9e
feat(aws)!: Remove aws subcommand ( #6995 )
2024-06-25 05:57:16 +00:00
Teppei Fukuda
648ead9553
refactor: replace global cache directory with parameter passing ( #6986 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2024-06-21 09:45:39 +00:00
simar7
b58d42dc97
BREAKING(aws): Deprecate trivy aws as subcmd in favour of a plugin ( #6819 )
2024-06-20 19:56:46 +00:00
Maksim Nabokikh
9b31697274
feat(image): Set User-Agent header for Trivy container registry requests ( #6868 )
...
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com >
2024-06-10 07:05:03 +00:00
Teppei Fukuda
728e77a726
fix(plugin): initialize logger ( #6836 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2024-06-03 05:31:18 +00:00
Teppei Fukuda
d6dc56732b
feat(plugin): specify plugin version ( #6683 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io >
2024-05-17 09:29:19 +00:00
Teppei Fukuda
26faf8f3f0
feat: add support for plugin index ( #6674 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
Co-authored-by: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com >
2024-05-14 08:29:20 +00:00
simar7
37da98df45
feat(misconf): Use updated terminology for misconfiguration checks ( #6476 )
...
Signed-off-by: Simar <simar@linux.com >
2024-05-02 18:16:17 +00:00
Teppei Fukuda
f0961d54f6
feat: respect custom exit code from plugin ( #6584 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2024-05-02 05:07:49 +00:00
chenk
060d0bb641
BREAKING: support exclude kinds/namespaces and include kinds/namespaces ( #6323 )
...
Signed-off-by: chenk <hen.keinan@gmail.com >
2024-04-27 14:30:17 +00:00
Teppei Fukuda
94d6e8ced6
refactor: replace zap with slog ( #6466 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
Co-authored-by: Nikita Pivkin <nikita.pivkin@smartforce.io >
Co-authored-by: simar7 <1254783+simar7@users.noreply.github.com >
2024-04-11 18:59:09 +00:00
Ivo Šmíd
eb3ceb323d
feat(sbom): Support license detection for SBOM scan ( #6072 )
...
Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io >
2024-03-18 09:34:26 +00:00
Teppei Fukuda
3c1601b6cb
feat(vuln): show suppressed vulnerabilities in table ( #6084 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
Co-authored-by: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com >
2024-02-13 12:35:06 +00:00
Teppei Fukuda
59e54334d1
fix(cli): inconsistent behavior across CLI flags, environment variables, and config files ( #5843 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2024-02-01 03:25:30 +00:00
Teppei Fukuda
99c04c4383
feat(report): output plugin ( #4863 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io >
2023-12-04 11:04:43 +00:00
simar7
e3c28f8ee3
feat(misconf): Add support for --cf-params for CFT ( #5507 )
...
Signed-off-by: Simar <simar@linux.com >
Co-authored-by: nikpivkin <nikita.pivkin@smartforce.io >
2023-11-15 07:04:22 +00:00
Teppei Fukuda
ac0e327492
feat(flag): replace '--slow' with '--parallel' ( #5572 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2023-11-15 06:41:13 +00:00
Teppei Fukuda
cccaa15ccd
chore: sort supported AWS services ( #5570 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2023-11-14 05:35:42 +00:00
DmitriyLewen
138feb024c
fix(cli): set correct scanners for k8s target ( #5561 )
2023-11-13 07:24:22 +00:00
simar7
e7f6a5c805
refactor(misconf): Update refactored dependencies ( #5245 )
...
Signed-off-by: Simar <simar@linux.com >
2023-11-09 02:24:52 +00:00
simar7
01c98d1516
feat(misconf): Support --ignore-policy in config scans ( #5359 )
...
Signed-off-by: Simar <simar@linux.com >
2023-10-23 07:32:08 +00:00
Teppei Fukuda
3be5e6b242
chore: enable go-critic ( #5302 )
...
* chore: enable gocritic
Signed-off-by: knqyf263 <knqyf263@gmail.com >
* refactor: fix lint issues
Signed-off-by: knqyf263 <knqyf263@gmail.com >
* test: return true for latest versions
Signed-off-by: knqyf263 <knqyf263@gmail.com >
* chore(lint): enforce map and slice styles
Signed-off-by: knqyf263 <knqyf263@gmail.com >
---------
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2023-10-02 08:33:21 +00:00
DmitriyLewen
0ccbb4f7fd
chore(cli): disable java-db flags in server mode ( #5263 )
...
* disable java-db flag for server mode
* update docs
2023-09-28 07:10:14 +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
Florian Bufler
9345a98ed1
docs(repo): update trivy repo usage and example ( #5049 )
2023-08-28 08:46:39 +00:00
Nikita Pivkin
d442176405
feat(server): add version endpoint ( #4869 )
...
* feat(server): add version endpoint
* fix panic and test
* move version.go
* move version variable
* add docs about endpoints
* move testdata
* refactor
* update build command
* refactor
2023-08-20 06:12:31 +00:00
simar7
11618c9408
feat(misconf): Support custom URLs for policy bundle ( #4834 )
...
* feat(misconf): Support custom URLs for policy bundle
This PR adds support for custom policy bundles to be specified
with a flag `--policy-bundle-url` as an option to Trivy.
Fixes: https://github.com/aquasecurity/trivy/issues/4672
Signed-off-by: Simar <simar@linux.com >
* update docs
Signed-off-by: Simar <simar@linux.com >
* rename flag to `--policy-bundle-repository`
Signed-off-by: Simar <simar@linux.com >
* fix field
* rebase and update docs
Signed-off-by: Simar <simar@linux.com >
* set policyBundleRepo on client
Signed-off-by: Simar <simar@linux.com >
---------
Signed-off-by: Simar <simar@linux.com >
2023-07-26 08:45:49 +00:00
Teppei Fukuda
20c2246a61
fix(report): close the file ( #4842 )
...
* fix(report): close the file
* refactor: add the format type
* fix: return errors in version printing
* fix: lint issues
* fix: do not fail on bogus cache dir
---------
Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io >
2023-07-23 13:37:18 +00:00
DmitriyLewen
24a3e547d9
feat(nodejs): add support for include-dev-deps flag for yarn ( #4812 )
...
* add support for include-dev-deps flag
* remove go.mod replace
* refactor
* bump go-dep-parser
---------
Co-authored-by: knqyf263 <knqyf263@gmail.com >
2023-07-23 13:07:49 +00:00
Teppei Fukuda
aca11b95d0
refactor: add allowed values for CLI flags ( #4800 )
...
* refactor: rename Value to Default
* refactor: support allowed values for CLI flags
* docs: auto-generate
* test: fix
* test: add tests for flags
2023-07-17 13:13:23 +00:00
DmitriyLewen
22463ababd
feat(cli): add include-dev-deps flag ( #4700 )
...
* add Dev field for Package
* fix integration test
* update docs
* feat(cli): add include-dev flag
* bump go-dep-parser
* update docs
* add integration test
* refactor
* refactor
* fix integration test
* refactor: rename flag to include-dev-deps
* update docs
* update docs
* filter dev deps when scanning packages
* add flag support for server mode
* refactor: remove comment that might confuse
* refactor: move --include-dev-deps to the scanner flag group
* refactor: not return apps
* docs: update
---------
Co-authored-by: knqyf263 <knqyf263@gmail.com >
2023-06-29 13:15:52 +00:00
chenk
35c4262d0b
feat(k8s): cyclonedx kbom support ( #4557 )
...
* feat: cyclonedx kbom support
Signed-off-by: chenk <hen.keinan@gmail.com >
* feat: cyclonedx kbom support
Signed-off-by: chenk <hen.keinan@gmail.com >
* feat: kubernetes bill of materials
Signed-off-by: chenk <hen.keinan@gmail.com >
* feat: kubernetes bill of materials
Signed-off-by: chenk <hen.keinan@gmail.com >
* feat: kubernetes bill of materials
Signed-off-by: chenk <hen.keinan@gmail.com >
* feat: kubernetes bill of materials
Signed-off-by: chenk <hen.keinan@gmail.com >
* feat: kubernetes bill of materials
Signed-off-by: chenk <hen.keinan@gmail.com >
* feat: kubernetes bill of materials
Signed-off-by: chenk <hen.keinan@gmail.com >
* chore: update sum db
Signed-off-by: chenk <hen.keinan@gmail.com >
* chore: update sum db
Signed-off-by: chenk <hen.keinan@gmail.com >
* feat: kubernetes bill of materials
Signed-off-by: chenk <hen.keinan@gmail.com >
* feat: kubernetes bill of materials
Signed-off-by: chenk <hen.keinan@gmail.com >
* chore: update sumdb
Signed-off-by: chenk <hen.keinan@gmail.com >
* chore: update sumdb
Signed-off-by: chenk <hen.keinan@gmail.com >
* feat: kubernetes bill of materials
Signed-off-by: chenk <hen.keinan@gmail.com >
* feat: kubernetes bill of materials
Signed-off-by: chenk <hen.keinan@gmail.com >
---------
Signed-off-by: chenk <hen.keinan@gmail.com >
2023-06-19 10:48:26 +00:00
chenk
ef6538a171
feat: trivy k8s private registry support ( #4567 )
...
Signed-off-by: chenk <hen.keinan@gmail.com >
2023-06-12 05:40:25 +03:00
Teppei Fukuda
48b2e15c23
refactor(cyclonedx): add intermediate representation ( #4490 )
2023-06-01 05:50:47 +03:00
Teppei Fukuda
50fe43f14c
feat(cli): convert JSON reports into a different format ( #4452 )
...
Co-authored-by: Aurelien LAJOIE <aurelien.lajoie@kili-technology.com >
2023-05-24 11:45:26 +03:00
Teppei Fukuda
0ef0dadb16
feat: group subcommands ( #4449 )
2023-05-23 08:15:39 +03:00
simar7
92f9e98d04
feat(misconf): Add --reset-policy-bundle for policy bundle ( #4167 )
2023-05-18 11:54:01 +03:00
DmitriyLewen
3b7c9198dd
fix(k8s): add image sources ( #4411 )
2023-05-17 07:01:58 +03:00
Adarsh A
0650e0e1d5
feat(license): add new flag for classifier confidence level ( #4073 )
...
Co-authored-by: Aswath S <aswath.s@thoughtworks.com >
2023-04-24 13:41:08 +03:00
chenk
43b6496274
feat: config and fs compliance support ( #4097 )
2023-04-24 11:49:19 +03:00
aswath-s-tw
be47b688c7
feat(image): custom docker host option ( #3599 )
...
Co-authored-by: knqyf263 <knqyf263@gmail.com >
2023-04-20 22:10:51 +03:00
chenk
f31dea4bd6
feat: auth support oci download server subcommand ( #4008 )
2023-04-10 08:26:17 +03:00
Teppei Fukuda
f14bed4532
feat: add auth support for downloading OCI artifacts ( #3915 )
2023-03-30 05:53:24 +03:00
Teppei Fukuda
ca0d972cdb
feat(image): add registry options ( #3906 )
2023-03-28 07:00:04 +03:00
DmitriyLewen
927acf9579
feat(cli): add javadb metadata to version info ( #3835 )
2023-03-19 15:51:14 +02:00
simar7
497c955a4b
feat(misconf): Add support to show policy bundle version ( #3743 )
...
Fixes: https://github.com/aquasecurity/trivy/issues/3696
Signed-off-by: Simar <simar@linux.com >
2023-03-02 17:00:45 +02:00