Replies: 2 comments
-
Hi @Redm0nd ! Thanks for the report. I'm already investigating the problem. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Duplicate of #8383 |
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
Similar issue to 6689 & 6697
We run trivy across all our Git repos using Terraform before a Terraform apply. All repositories are scanning fine without issues however some larger repositories we have fail with the below error on running Trivy:
From the cty go package here.
On previous versions of trivy we are able to run without issues.
This config is valid in terms of Terraform and there are no errors when planning/applying without Trivy:
Let me know if any further information is required.
Desired Behavior
Trivy to scan repository for misconfig and report findings.
Actual Behavior
Trivy crashes with panic exception
Reproduction Steps
Run trivy config . in a directory containing multiple Terraform files.
Observe the output, which results in a panic instead of a normal scan result.
Target
Git Repository
Scanner
Misconfiguration
Output Format
Table
Mode
Standalone
Debug Output
We run trivy as part of our
tf
wrapper with this command:Although simply running
trivy -d conf .
also fails:Operating System
Multiple - Linux, MacOS
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions