Redshift Serverless workgroups should prohibit public access
Flags Amazon Redshift Serverless workgroups whose publiclyAccessible setting is true. A public workgroup has an elastic IP address that clients outside the VPC can connect to, leaving only its security group rules and credentials between the internet and the data.
- service
- RedshiftServerless
- severity
- High
- scope
- evaluated in every region
How to fix it
- Can break clients: Clients outside the VPC, such as BI tools and on-premises loaders, lose the elastic IP unless they connect through a VPN, Direct Connect, VPC peering or a Redshift-managed VPC endpoint.
In the console
Redshift Serverless → Workgroup configuration → the workgroup → Data access → Network and security → Edit → Publicly accessible
- Turn on Public Accessible
- Cleared
With the AWS CLI
aws redshift-serverless update-workgroup --workgroup-name <workgroup-name> --no-publicly-accessible --region <region>With Terraform
resource "aws_redshiftserverless_workgroup" "this" {
namespace_name = var.namespace_name
workgroup_name = var.workgroup_name
publicly_accessible = false
}
See which of your accounts this check is failing on.
Book a live scan