Connections to Redshift Serverless workgroups should be required to use SSL
Verifies that Redshift Serverless workgroups require SSL for all connections, so the database refuses clients that do not negotiate TLS. A workgroup accepts connections with or without SSL by default, so one whose require_ssl parameter was never set fails.
- service
- RedshiftServerless
- severity
- Medium
- scope
- evaluated in every region
How to fix it
- Interrupts service: Redshift Serverless restarts the workgroup when require_ssl changes, so make the change at a quiet time.
- Can break clients: Clients that connect without SSL are refused once this applies, so check drivers and connection strings first.
Settings
- require_ssl
- true
With the AWS CLI
aws redshift-serverless update-workgroup --workgroup-name <workgroup-name> --config-parameters parameterKey=require_ssl,parameterValue=true --region <region>With Terraform
resource "aws_redshiftserverless_workgroup" "this" {
namespace_name = var.namespace_name
workgroup_name = var.workgroup_name
config_parameter {
parameter_key = "require_ssl"
parameter_value = "true"
}
}
See which of your accounts this check is failing on.
Book a live scan