Replies: 2 comments
-
You can use this test repository as ref: https://github.com/gobardhan/test |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @gobardhan ! Track #6854 |
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
For a npm project with following configuration of workspace inside package.json Trivy not able to perform the scan for any scanners.
"workspaces": [ "./" ]
After debugging it I found that it's due the below code inside package-lock.json
"node_modules/@ffdev/bryntum-components": { "resolved": "", "link": true },
It's started working fine if I remove the above part of code from package-lock.json.
Desired Behavior
Trivy should able to scan the repository with such kind of configuration for package.json & package-lock.json without throwing any error.
Actual Behavior
Trvivy scan throw's
fatal error: runtime: out of memory
. Commandtrivy fs .
And running trivy in debug mode hang-up my system and in last killed by system. Command
trvy fs . -d
Reproduction Steps
Target
Filesystem
Scanner
None
Output Format
None
Mode
Standalone
Debug Output
Operating System
Ubuntu 22.04.4 LTS
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions