-
QuestionI use trivy in front projects, I did not find a way to ignore indirect package. I test with policy with this rego example but There is a way to ignore indirect dependency or use pacjage.json instead of package-lock.json with trivy ? TargetNone ScannerVulnerability Output FormatTable ModeNone Operating SystemNo response VersionVersion: 0.50.4
Vulnerability DB:
Version: 2
UpdatedAt: 2024-06-05 12:12:01.993204553 +0000 UTC
NextUpdate: 2024-06-05 18:12:01.993204253 +0000 UTC
DownloadedAt: 2024-06-05 13:14:23.592954 +0000 UTC
Policy Bundle:
Digest: sha256:1df8ade71efc830877ca3b1130f83e0c6368e3a45b0d4c0f0418955501644054
DownloadedAt: 2023-10-12 08:14:44.51096 +0000 UTC |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There is no way to do that. We might want to add a flag |
Beta Was this translation helpful? Give feedback.
There is no way to do that. We might want to add a flag
--relationship
so Trivy can show direct dependencies with--relationship direct
.