turbot/aws_insights

Query: vpc_security_group_by_acount

Usage

powerpipe query aws_insights.query.vpc_security_group_by_acount

SQL

select
a.title as "Account",
count(s.*) as "security_groups"
from
aws_vpc_security_group as s,
aws_account as a
where
a.account_id = s.account_id
group by
a.title
order by
a.title;

Dashboards

The query is used in the dashboards: