bug(misconf): False positive reporting aws_vpc_security_group_ingress_rule
terraform resource as too permissive
#7455
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
Discussed in #7425
Originally posted by KashifSaadat August 30, 2024
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 correctThe text was updated successfully, but these errors were encountered: