RDS Database Clusters should use a custom administrator username
Flags RDS database clusters whose master username is admin, root, sa, oracle or postgres, in any letter case. These are the names tried first, so a cluster using one leaves an attacker only the password to guess.
- service
- RDS
- severity
- Medium
- scope
- evaluated in every region
How to fix it
In the console
RDS → Create database → Settings → Credentials settings
With Terraform
resource "aws_rds_cluster" "this" {
engine = var.engine
master_username = var.master_username
}
See which of your accounts this check is failing on.
Book a demo