Test Terraform RDS instances for encryption
When testing a target's Terraform configuration, look for aws_db_instance resource blocks that create RDS instances without the storage_encrypted argument set to true. This can leave data in cleartext, accessible to an attacker who gains access to the underlying storage. To confirm, check the storage_encrypted value in the aws_db_instance resource block. If it is not set or set to false, the instance may be vulnerable. Additionally, check for the use of customer-managed keys (CMK) with the kms_key_id argument for more control over key rotation and revocation.
Follow #encryption, #rds or #terraform for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.