Disabled AWS RDS Encryption High

Disabled Encryption is detected for AWS RDS DB cluster. Make Sure that encryption is enabled for AWS RDS DB cluster.

Detector ID
cloudformation/disabled-rds-encryption-cloudformation@v1.0
Category
Common Weakness Enumeration (CWE) external icon

Noncompliant example

1Resources:
2  Resource:
3    Type: AWS::RDS::DBInstance
4    Properties:
5      # Noncompliant: RDS DB cluster encryption is not enabled.
6      AllocatedStorage: '100'
7      DBInstanceClass: db.t2.small
8      Engine: MySQL
9      Iops: '1000'
10      MasterUsername: !Ref 'DBUser'
11      MasterUserPassword: !Ref 'DBPassword'
12      MultiAZ: true
13      MonitoringInterval: '60'
14      MonitoringRoleArn: 'arn:aws:iam::123456789012:role/rds-monitoring-role'

Compliant example

1Resources:
2  Resource:
3    Type: AWS::RDS::DBInstance
4    Properties:
5      AllocatedStorage: '100'
6      DBInstanceClass: db.t2.small
7      Engine: MySQL
8      Iops: '1000'
9      MasterUsername: !Ref 'DBUser'
10      MasterUserPassword: !Ref 'DBPassword'
11      MultiAZ: true
12      MonitoringInterval: '60'
13      MonitoringRoleArn: 'arn:aws:iam::123456789012:role/rds-monitoring-role'
14      # Compliant: RDS DB cluster encryption is enabled.
15      StorageEncrypted: true