Risk Level: MEDIUM
Description:
.This plugin ensures that RDS snapshots are encrypted at rest by enabling encryption. RDS snapshots on AWS come with encryption, which should be enabled to ensure that all data at rest is secure.
Recommended Action: Copy the snapshot to a new snapshot that is encrypted and delete the old snapshot.
About the Service :
Amazon RDS (Amazon Relational Database Service) makes it simple to set up, run, and scale a relational database in the cloud. It offers scalable capacity at a low cost while automating time-consuming administrative activities including hardware provisioning, database setup, patching, and backups.
Impact:
Not having snapshot encryption enabled for data at rest can lead to breaches from attackers or unauthorized personnel.
Steps to reproduce :
- Sign in to your AWS management console.
- Navigate to the RDS dashboard at: https://console.aws.amazon.com/rds/
- On the left navigation panel, under RDS Dashboard, select Snapshots.
- Select the snapshot you want to examine.
- On the column of the snapshot name, check the value of the Encrypted attribute.
- If the Encrypted configuration value is set to No, the selected Amazon RDS database snapshot is not encrypted at rest.
Steps for remediation :
- Sign in to your AWS management console.
- Navigate to the RDS dashboard at: https://console.aws.amazon.com/rds/
- On the left navigation panel, under RDS Dashboard, select Snapshots.
- Select the unencrypted snapshot that you want to examine.
- Click the Actions button from the dashboard top menu and select Copy Snapshot.
- On the Copy Snapshot page that appears, perform the following actions:
- From the Destination Region dropdown list, select the region where you want to write the copy of the selected snapshot.
- In the New DB Snapshot Identifier field, enter a name for the new snapshot (copy).
- From the Target Option Group dropdown list, select an option group to associate with your target database snapshot.
- Select the Copy Tags so the new snapshot can have the same tags as the source snapshot.
- Select the Enable Encryption option and select an encryption key for it from the Master Key dropdown list.
- Click on Copy Snapshot.
- Once the selected snapshot is encrypted, we can safely delete the source snapshot.
- Perform the following functions:
- Select the source AWS RDS snapshot.
- Click on the Actions button in the top-right corner and click on Delete Snapshot.
- Click on Delete.
- Repeat steps no. 4 – 9 for each unencrypted RDS instance provisioned in the current region as well as in other AWS regions.
References: