Control: 3.6 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.
Any ports enable within Lightsail by default are open and exposed to the world. This can result in outside traffic trying to access or even deny access to the Lightsail instances. Removing and disabling a protocol when not in use even if restricted by IP address is the safest solution especially when it is not required for access.
Remediation
From the Console:
- Login to AWS Console using https://console.aws.amazon.com.
- Click
All services
, clickLightsail
under Compute. - This will open up the Lightsail console.
- Select the
Windows or Linux Instance
you want to review. - Go to the Networking section.
- Under IPv6 networking click on the check mark next to
IPv6 networking is enabled
. - In the
Disable IPv6 for this instance?
. - Click on
Yes, disable
.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.cis_compute_service_v100_3_6
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.cis_compute_service_v100_3_6 --share
SQL
This control uses a named query:
lightsail_instance_ipv6_networking_disabled