Skip to content

Commit

Permalink
fix(trivy): update scanner from config to misconfig
Browse files Browse the repository at this point in the history
The scanner `config` was deprecated and replaced by `misconfig`.

```
2024-02-13T08:04:44.128Z	WARN	'--scanner config' is deprecated. Use '--scanner misconfig' instead. See aquasecurity/trivy#5586 for the detail.
```
  • Loading branch information
pjungermann authored Feb 13, 2024
1 parent fca4fed commit 0c3e661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions megalinter/descriptors/repository.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -491,14 +491,14 @@ linters:
cli_lint_extra_args:
- fs
- --scanners
- vuln,config
- vuln,misconfig
- --exit-code
- "1"
cli_lint_extra_args_after:
- "."
test_folder: trivy
examples:
- "trivy fs --scanners vuln,config ."
- "trivy fs --scanners vuln,misconfig ."
install:
dockerfile:
- |
Expand Down

0 comments on commit 0c3e661

Please sign in to comment.