Replies: 1 comment
-
created #4633 |
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
-
Description
I scanned the project with yarn workspaces, but Trivy does not find vulnerabilities and dependencies. I created a repository to make it easier to reproduce.
When using workspaces, yarn creates
yarn.lock
only in the root of the monorepository. And since thepackage.json
does not contain information about dependencies in workspaces, they are skipped.If I skip
package.json
when scanning, then everything will be ok.Desired Behavior
Dependencies will be detected
Actual Behavior
No dependencies found
Reproduction Steps
Target
None
Scanner
None
Output Format
None
Mode
Standalone
Debug Output
Operating System
macos
Version
Checklist
trivy --reset
Beta Was this translation helpful? Give feedback.
All reactions