Teppei Fukuda
30bcb95350
refactor: use version-specific URLs for documentation references ( #6966 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2024-06-20 10:41:43 +00:00
Teppei Fukuda
983ac15f22
ci: add depguard ( #6963 )
...
Signed-off-by: knqyf263 <knqyf263@gmail.com >
2024-06-20 02:48:08 +00:00
Katrin Leinweber
38e2fbf7f9
docs: link warning to both timeout config options ( #6620 )
2024-05-06 08:26:37 +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
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
Nikita Pivkin
87a9aa60d1
feat(aws): quiet flag support ( #6331 )
2024-03-29 01:11:27 +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
e7f6a5c805
refactor(misconf): Update refactored dependencies ( #5245 )
...
Signed-off-by: Simar <simar@linux.com >
2023-11-09 02:24:52 +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
Nikita Pivkin
e8cf281471
fix(aws): resolve endpoint if endpoint is passed ( #4925 )
...
* fix(aws): resolve endpoint to get identity if endpoint is passed
* resolve endpoint for ami and ebs
* return an error if aws region is missing
2023-08-08 07:19:40 +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
simar7
5d73b47dbc
feat(misconf): Support skipping services ( #4686 )
...
* feat(misconf): Add support for `--skip-service` flag.
Fixes: https://github.com/aquasecurity/trivy/issues/4619
Signed-off-by: Simar <simar@linux.com >
* update docs
Signed-off-by: Simar <simar@linux.com >
* update go mod
* refactor processOptions to reduce cyclo complexity
Signed-off-by: Simar <simar@linux.com >
* fix a bug with multiple skip services
Signed-off-by: Simar <simar@linux.com >
* refactor tests
Signed-off-by: Simar <simar@linux.com >
* use x/slice and x/xerrors
Signed-off-by: Simar <simar@linux.com >
* go mod tidy
* lint
---------
Signed-off-by: Simar <simar@linux.com >
2023-06-26 11:11:59 +00:00
simar7
aecd2f0bf0
feat(aws): Add support to see successes in results ( #4427 )
...
Fixes: https://github.com/aquasecurity/trivy/discussions/4417
Signed-off-by: Simar <simar@linux.com >
2023-06-13 17:36:05 +00: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
cb5af0b33b
feat(image): add support for Docker CIS Benchmark ( #3496 )
...
Co-authored-by: chenk <hen.keinan@gmail.com >
2023-01-31 07:31:59 +02:00
simar7
a3eece4fef
feat(misconf): Add compliance check support ( #3130 )
...
Signed-off-by: Simar <simar@linux.com >
Co-authored-by: knqyf263 <knqyf263@gmail.com >
2022-12-07 22:42:59 +02:00
Liam Galvin
babd7e7526
feat(aws): Custom rego policies for AWS scanning ( #2994 )
2022-10-06 12:51:45 +03:00
Liam Galvin
fefe7c4a7b
fix: Correctly handle recoverable AWS scanning errors ( #2726 )
2022-08-16 18:00:44 +03:00
Liam Galvin
b259b25ce4
feat: Add AWS Cloud scanning ( #2493 )
...
* feat: Added AWS Cloud scanning
Co-authored-by: Owen Rumney <owen.rumney@aquasec.com >
2022-08-11 14:59:32 +01:00