Control: Log group retention period should be at least 365 days
Description
Ensure a minimum duration of event log data is retained for your log groups to help with troubleshooting and forensics investigations.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.cloudwatch_log_group_retention_period_365
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.cloudwatch_log_group_retention_period_365 --share
SQL
This control uses a named query:
cloudwatch_log_group_retention_period_365