Replies: 3 comments 1 reply
-
|
thanks for the info - I think we can handle this gracefully cc @nikpivkin |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi @pxp928 ! As far as I know, there is always an |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Track #10399 |
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.
-
Description
Trivy crashes with a nil pointer dereference panic when parsing certain Terraform plan JSON files in the buildPlanBlocks function.
The panic occurs at parser.go:68 when attempting to access the
Afterfield of a nilResourceChangepointer:Desired Behavior
Does not error and skip as needed
Actual Behavior
Reproduction Steps
All I did was run `trivy repo --scanners misconfig --format json -o misconfig.json ./` on our internal monorepoTarget
Filesystem
Scanner
Misconfiguration
Output Format
JSON
Mode
Standalone
Debug Output
Operating System
Linux (Wolfi) Architecture: x86_64
Version
Checklist
trivy clean --allBeta Was this translation helpful? Give feedback.
All reactions