turbot/aws_compliance

Query: sfn_state_machine_logging_enabled

Usage

powerpipe query aws_compliance.query.sfn_state_machine_logging_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when logging_configuration ->> 'Level' = 'OFF' then 'alarm'
else 'ok'
end as status,
case
when logging_configuration ->> 'Level' = 'OFF' then title || ' loggging disabled.'
else title || ' loggging enabled.'
end as reason,
region,
account_id
from
aws_sfn_state_machine;

Controls

The query is being used by the following controls: