<  Back to rules search

ELBv2 load balancer is using the latest security policy

Description

Secure your Amazon Application Load Balancer (ALB) with the latest predefined AWS security policy.

Rationale

Insecure or deprecated security policies can expose the client and the load balancer to various SSL/TLS vulnerabilities.

Remediation

From the console

Follow the Update security policy docs to learn how to update your HTTPS listener with the latest security policy.

From the command line

Run modify-listener with the ARN of the listener and the recommended SSL policy.

create-listener.sh

aws elbv2 create-listener
    --load-balancer-arn arn:aws:elasticloadbalancing:region:123456789012:loadbalancer/app/my-load-balancer/12ab3c456d7e8912
    --ssl-policy ELBSecurityPolicy-2016-08 --default-actions Type=forward,TargetGroupArn=arn:aws:elasticloadbalancing:region:123456789012:targetgroup/my-targets/12ab3c456d7e8912

Review the Security policies docs for Amazon-recommended security policies.