Control: Backup recovery points should be encrypted
Description
Ensure that a recovery point is encrypted. The rule is non-compliant if the recovery point is not encrypted.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.backup_recovery_point_encryption_enabledSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.backup_recovery_point_encryption_enabled --shareSQL
This control uses a named query:
select  recovery_point_arn as resource,  case    when is_encrypted then 'ok'    else 'alarm'  end as status,  case    when is_encrypted then recovery_point_arn || ' encryption enabled.'    else recovery_point_arn || ' encryption disabled.'  end as reason  , region, account_idfrom  aws_backup_recovery_point;