turbot/steampipe-mod-aws-insights

Dashboard: AWS VPC Security Group Dashboard

This dashboard answers the following questions:

  • How many security groups are in each account and region?
  • How many security groups are not associated?
  • How many default security groups are present?
  • How many security groups with unrestricted ingress for SSH & RDP?
  • How many security groups are associated with each VPC?
This dashboard contains 4 cards.

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-aws-insights

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select AWS VPC Security Group Dashboard dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run aws_insights.dashboard.vpc_security_group_dashboard --share

Queries

This dashboard uses the the following queries:
with default_sg as (
select
group_id,
case when group_name = 'default' then true else false end as is_default
from
aws_vpc_security_group
)
select
case
when is_default then 'default'
else 'non-default'
end as default_status,
count(*)
from
default_sg
group by is_default;

Tags