Removing nested OR
----
metadata:
name: "AWS NAT Gateways should be utilized for the default route"
id: "CKV2_AWS_35"
@@ -9,7 +8,6 @@ scope:
provider: "aws"
definition:
or:
- - or:
- cond_type: "attribute"
resource_types:
- "aws_route_table"
@@ -21,7 +19,6 @@ definition:
attribute: "route.*.cidr_block"
operator: "not_contains"
value: "0.0.0.0/0"
- - or:
- cond_type: "attribute"
resource_types:
- "aws_route"
