Check compliance status of encrypting RDS DB snapshots at rest
Rule | RDS DB snapshots should be encrypted at rest |
Framework | GxP EU Annex 11 |
Severity | ✔ Medium |
Rule:
RDS DB snapshots should be encrypted at rest to comply with GxP EU Annex 11 regulations.
Description:
GxP EU Annex 11 regulations require that all data stored in RDS DB snapshots must be encrypted at rest. Encryption adds an extra layer of security to protect sensitive data from unauthorized access, ensuring compliance with data protection standards.
Troubleshooting:
If RDS DB snapshots are not encrypted at rest, it can lead to potential compliance violations. Unauthorized access to the snapshots could result in data breaches and compromise the integrity and confidentiality of sensitive information.
Codes:
To enable encryption at rest for RDS DB snapshots, you can use the following AWS CLI command:
aws rds modify-db-snapshot-attribute --db-snapshot-identifier <snapshot-id> --attribute-name encryption --values true
Remediation:
Follow the step-by-step guide below to encrypt RDS DB snapshots at rest:
aws rds modify-db-snapshot-attribute --db-snapshot-identifier <snapshot-id> --attribute-name encryption --values true
Replace
<snapshot-id>
with the actual identifier of the DB snapshot you want to encrypt.By following the above steps, the RDS DB snapshots will be encrypted at rest, ensuring compliance with GxP EU Annex 11 regulations.