Replies: 2 comments 31 replies
-
Hi @obounaim ! How did you run Trivy in the docker? |
Beta Was this translation helpful? Give feedback.
31 replies
-
Track #7548 |
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
Trivy was OOM killed while scanning for Misconfiguration / IaC in Github Action or in Docker. Exit code 137.
trivy config terraform/ --debug
Tested with other commands, gave same behavior:
trivy fs --scanners misconfig terraform/ --debug
trivy repo --scanners misconfig terraform/ --debug
du -sch terraform 12M terraform 12M total
The scan works just fine on local system.
Desired Behavior
Trivy misconfiguration complete successfully
Actual Behavior
Trivy crashes with 137 exit code
Reproduction Steps
A scan of an private Terraform repository for misconfiguration with Trivy
Target
Filesystem
Scanner
Misconfiguration
Output Format
Table
Mode
None
Debug Output
Operating System
Github Action
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions