Control: Log group retention period should be set
Description
Ensure that CloudWatch Log Group specifies retention days.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.cloudwatch_log_group_retention
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.cloudwatch_log_group_retention --share
SQL
This control uses a named query:
cloudwatch_log_group_retention