turbot/steampipe-mod-aws-compliance

Query: athena_workgroup_logging_enabled

Usage

powerpipe query aws_compliance.query.athena_workgroup_logging_enabled

Steampipe Tables

SQL

select
name as resource,
case
when publish_cloudwatch_metrics_enabled then 'ok'
else 'alarm'
end as status,
case
when publish_cloudwatch_metrics_enabled then name || ' workgroup logging enabled.'
else name || ' workgroup logging disabled.'
end as reason
, region, account_id
from
aws_athena_workgroup;

Controls

The query is being used by the following controls: