False positive reporting aws_vpc_security_group_ingress_rule
terraform resource as too permissive
#7425
Closed
KashifSaadat
started this conversation in
False Detection
Replies: 1 comment
-
Thanks for the info, track #7455 |
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
-
IDs
AVD-AWS-0107
Description
Trivy complains that the security group ingress rule is allowing traffic from the public internet, referring to
AVD-AWS-0107
:An ingress security group rule allows traffic from /0.
The output is below:
From the above you can see that
cidr_ipv4 = "3.251.148.96/29"
(not0.0.0.0/0
). I noticed that if I use a/32
then it doesn't flag up.Support for the resource was added in: #6764
An existing issue raised around this is: #6760
Reproduction Steps
Target
AWS
Scanner
Misconfiguration
Target OS
No response
Debug Output
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