Control: Backup plan min frequency and min retention check
Description
Checks if a backup plan has a backup rule that satisfies the required frequency and retention period(35 days). The rule is non complaint if recovery points are not created at least as often as the specified frequency or expire before the specified period.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.backup_plan_min_retention_35_days
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.backup_plan_min_retention_35_days --share
SQL
This control uses a named query:
backup_plan_min_retention_35_days