turbot/aws_compliance

Control: Ensure instances stopped for over 90 days are removed

Description

Enable this rule to help with the baseline configuration of Amazon Elastic Compute Cloud (Amazon EC2) instances by checking whether Amazon EC2 instances have been stopped for more than the allowed number of days, according to your organization's standards.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.ec2_stopped_instance_90_days

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

ec2_stopped_instance_90_days

Tags