turbot/steampipe-mod-aws-compliance

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_enabled

Snapshot and share results via Turbot Pipes:

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

SQL

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_id
from
aws_backup_recovery_point;

Tags