Docs incorrectly state filtering on severity accepts more than a single value #7471
Closed
axi0m
started this conversation in
Documentation
Replies: 1 comment 2 replies
-
Values are comma separated not comma-space. Correct invocation would be the following:
Note the lack of space between the severities. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I was reviewing this https://aquasecurity.github.io/trivy/v0.55/tutorials/misconfiguration/terraform/ and it says:
However, that does not work in my experience with trivy
Version: 0.54.1
:trivy config --severity CRITICAL, MEDIUM, HIGH main.tf
2024-09-09T10:30:07-05:00 FATAL Fatal error multiple targets cannot be specified
If I pass a single severity rating to the
--severity
parameter it runs successfully.trivy config --severity CRITICAL main.tf
2024-09-09T10:30:36-05:00 INFO [misconfig] Misconfiguration scanning is enabled
Link
https://aquasecurity.github.io/trivy/v0.55/tutorials/misconfiguration/terraform/
Suggestions
You're using Material UI for MkDocs, kindly add an admonition that says:
"You can only pass a single severity value, multiple targets are not supported."
Beta Was this translation helpful? Give feedback.
All reactions