AWS Config Rule: Redshift Default DB Name
REDSHIFT_DEFAULT_DB_NAME_CHECK
Ryan Ware
Last Update 6 months ago
Description: Checks if a Redshift cluster has changed its database name from the default value. The rule is NON_COMPLIANT if the database name for a Redshift cluster is set to “dev”, or if the optional parameter is provided and the database name does not match.
Trigger type: Configuration changes
AWS Region: All supported AWS regions except Asia Pacific (Jakarta), Middle East (UAE), AWS GovCloud (US-East), AWS GovCloud (US-West), Israel (Tel Aviv) Region
How to Resolve Manually
This AWS Config Rule will check if the default DB name was left as "dev" when creating the cluster.
If you are remediating an already created Redshift Cluster, there is a handy ALTER DATABASE command you can run which is explained here with AWS docs for renaming your database.
Alternatively, if you are wanting to avoid this during the creation process, you can find this configuration part listed here:
Want to know more about StackZone and how to make your cloud management simple and secure?
Check our how it works section with easy to follow videos or just create your own StackZone Account here