Ensure RDS cluster has IAM authentication enabled

Error: RDS cluster does not have IAM authentication enabled

Bridgecrew Policy ID: BC_AWS_IAM_66
Checkov Check ID: CKV_AWS_162
Severity: MEDIUM

RDS cluster does not have IAM authentication enabled

Description

TBD

Fix - Buildtime

Terraform

  • Resource: aws_rds_cluster
  • Argument: iam_database_authentication_enabled
resource "aws_rds_cluster" "enabled" {
    ...
+ iam_database_authentication_enabled = true
}

CloudFormation

  • Resource: AWS::RDS::DBCluster
  • Argument: Properties.EnableIAMDatabaseAuthentication
Resources:
  Enabled:
    Type: 'AWS::RDS::DBCluster'
    Properties:
      ...
+     EnableIAMDatabaseAuthentication: true

Did this page help you?