Skip to content

Commit 163aa94

Browse files
authored
1 parent bb67e06 commit 163aa94

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

plugins/source/aws/policies/queries/lambda/functions_with_public_egress.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ from aws_lambda_functions,
1313
where sns in
1414
-- Find all subnets that include a route table that inclues a catchall route
1515
(select a->>'SubnetId'
16-
from public.aws_ec2_route_tables, jsonb_array_elements(associations) a, jsonb_array_elements(routes) r
16+
from aws_ec2_route_tables, jsonb_array_elements(associations) a, jsonb_array_elements(routes) r
1717
where r->>'DestinationCidrBlock' = '0.0.0.0/0' OR r->>'DestinationIpv6CidrBlock' = '::/0'
1818
)
1919
and sgs in

website/tables/aws/aws_ec2_route_tables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ WHERE
100100
SELECT
101101
a->>'SubnetId'
102102
FROM
103-
public.aws_ec2_route_tables,
103+
aws_ec2_route_tables,
104104
jsonb_array_elements(associations) AS a,
105105
jsonb_array_elements(routes) AS r
106106
WHERE

website/tables/aws/aws_lambda_functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ WHERE
6161
SELECT
6262
a->>'SubnetId'
6363
FROM
64-
public.aws_ec2_route_tables,
64+
aws_ec2_route_tables,
6565
jsonb_array_elements(associations) AS a,
6666
jsonb_array_elements(routes) AS r
6767
WHERE

0 commit comments

Comments
 (0)