turbot/aws_compliance

Query: cloudformation_stack_termination_protection_enabled

Usage

powerpipe query aws_compliance.query.cloudformation_stack_termination_protection_enabled

Steampipe Tables

SQL

select
id as resource,
case
when enable_termination_protection then 'ok'
else 'alarm'
end as status,
case
when enable_termination_protection then title || ' termination protection enabled.'
else title || ' termination protection disabled.'
end as reason
, region, account_id
from
aws_cloudformation_stack;

Controls

The query is being used by the following controls: