Disable misconfig scanner in trivy scan #5265
mrchandana
started this conversation in
General
Replies: 1 comment
-
@mrchandana the type is forced by MegaLinter descriptor You might be able to use the following workaround in your .mega-linter.yml config file: REPOSITORY_TRIVY_ARGUMENTS: ["--scanners","vuln"]
REPOSITORY_TRIVY_COMMAND_REMOVE_ARGUMENTS: ["--scanners","vuln,misconfig"] Please can you try and report if it works ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using REPOSITORY_TRIVY Linter, and megalinter is running the following command.
❌ Linted [REPOSITORY] files with [trivy]: Found 5 error(s) and 0 warning(s) - (17.14s) (expand for details)
I want to run only vuln scanner without misconfig, I have already configured the scanners in the trivy.yaml file as shown
scan:
scanners:
- vuln
- license
However, megalinter is scanning for misconfig.
How can I disable misconfig??
Beta Was this translation helpful? Give feedback.
All reactions