turbot/aws_insights

Query: vpc_security_groups_for_vpc

Usage

powerpipe query aws_insights.query.vpc_security_groups_for_vpc

Steampipe Tables

SQL

select
group_id as security_group_id
from
aws_vpc_security_group
where
account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4)
and vpc_id = $1;