feat(terraform): support for VPC resources for inbound and outbound rules #6764
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
Ref:
Discussed in #6760
Originally posted by danfaizer May 23, 2024
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 correctThe text was updated successfully, but these errors were encountered: