turbot/steampipe-mod-aws-compliance

Control: Disable IPv6 Networking if not in use within your organization

Description

Any protocols enable within Lightsail by default that aren't being used should be disabled.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.lightsail_instance_ipv6_networking_disabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.lightsail_instance_ipv6_networking_disabled --share

SQL

This control uses a named query:

select
name as resource,
case
when ip_v6_addresses is null then 'ok'
else 'alarm'
end as status,
case
when ip_v6_addresses is null then name || ' has IPv6 networking disabled.'
else name || ' has IPv6 networking enabled.'
end as reason
, region, account_id
from
aws_lightsail_instance;

Tags