turbot/aws_compliance

Query: redshift_cluster_no_default_database_name

Usage

powerpipe query aws_compliance.query.redshift_cluster_no_default_database_name

Steampipe Tables

SQL

select
arn as resource,
case
when db_name = 'dev' then 'alarm'
else 'ok'
end as status,
case
when db_name = 'dev' then title || ' using default database name.'
else title || ' not using default database name.'
end as reason
, region, account_id
from
aws_redshift_cluster;

Controls

The query is being used by the following controls: