False negative scanning aws_vpc_security_group_ingress_rule TF resource #6760
Replies: 3 comments 1 reply
-
thanks for the report! @nikpivkin looks like we don't handle |
Beta Was this translation helpful? Give feedback.
-
Track #6764 |
Beta Was this translation helpful? Give feedback.
-
Hi, I see the fix for this in #6764 was added in v0.52.0 of Trivy and so included within the v0.24.0 github action. There still appears to be a false negative on the support of the new An example of the output is below:
Edit: As this is closed I've created a new discussion #7425 |
Beta Was this translation helpful? Give feedback.
-
IDs
ADV-AWS-0107
Description
You can define security group ingress/egress rules in 2 ways in Terraform:
In case 1. the security control works and the "too broad" access is reported.
In case 2. (which seems to be the newer and recommended way to create ingress/egress rules) the security control does not work and the "too broad" access is NOT reported.
The control should be reported in both definitions.
Reproduction Steps
Note: In the uncommented code the misconfiguration is not reported, in the commented code the misconfiguration is reported.
Version
Checklist
-f json
that shows data sources and confirmed that the security advisory in data sources was correctBeta Was this translation helpful? Give feedback.
All reactions