Trivy doesn't scan all modules in Terraform #9543
heindrickdumdum0217
started this conversation in
Bugs
Replies: 2 comments 1 reply
-
Can you share a minimal example which will trigger this? Furthermore, which check in Trivy do you expect to see get flagged today that isn't? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@simar7 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
trivy config --tf-vars ${STAGE}.tfvars --severity CRITICAL --debug ./I'm using the above command to scan infra project.
But it doesn't scan all modules in the infra project.
As you can see in the above log, it added
rdsmodule, but it's not evaluated bytrivyHere is report summary.
Desired Behavior
rdsmodule must be evaluated and mentioned in report summary.If I set
egressrule to0.0.0.0/0,trivydoesn't detect as it doesn't evaluaterdsmodule.But if I scan with
tfsec, it detects security problem.Actual Behavior
It doesn't evalulate
rdsmodule, doesn't detect problem inegressReproduction Steps
Checklist
trivy clean --allBeta Was this translation helpful? Give feedback.
All reactions