Control: Disable SSH and RDP ports for Lightsail instances when not needed
Description
Any ports enable within Lightsail by default are open and exposed to the world. For SSH and RDP access you should remove and disable these ports when not is use.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.lightsail_instance_ssh_rdp_http_ports_disabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.lightsail_instance_ssh_rdp_http_ports_disabled --share
SQL
This control uses a named query:
lightsail_instance_ssh_rdp_http_ports_disabled