turbot/aws_compliance

Query: dynamodb_table_point_in_time_recovery_enabled

Usage

powerpipe query aws_compliance.query.dynamodb_table_point_in_time_recovery_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when lower(
point_in_time_recovery_description ->> 'PointInTimeRecoveryStatus'
) = 'disabled' then 'alarm'
else 'ok'
end as status,
case
when lower(
point_in_time_recovery_description ->> 'PointInTimeRecoveryStatus'
) = 'disabled' then title || ' point-in-time recovery not enabled.'
else title || ' point-in-time recovery enabled.'
end as reason,
region,
account_id
from
aws_dynamodb_table;

Controls

The query is being used by the following controls: