turbot/steampipe-mod-aws-compliance

Query: rds_db_cluster_aurora_mysql_publish_audit_log_to_cloudwatch

Usage

powerpipe query aws_compliance.query.rds_db_cluster_aurora_mysql_publish_audit_log_to_cloudwatch

Steampipe Tables

SQL

select
arn as resource,
case
when engine <> 'aurora-mysql' then 'skip'
when enabled_cloudwatch_logs_exports ?& array ['audit'] then 'ok'
else 'alarm'
end as status,
case
when engine <> 'aurora-mysql' then title || ' is of ' || engine || ' type.'
when enabled_cloudwatch_logs_exports ?& array ['audit'] then title || ' publish audit logs to CloudWatch.'
else title || ' does not publish audit logs to CloudWatch.'
end as reason
, region, account_id
from
aws_rds_db_cluster;

Controls

The query is being used by the following controls: