Is HSTS supported either by ALB or WAF?

0

I have a website that is behind ALB with WAF integration. Our vulnerability scan showed the following:

Website Does Not Implement HSTS Best Practices

Recommendation: Implement HTTP Strict Transport Security (HSTS) on your web server.

I could not find a HSTS setting anywhere in the ALB attribute section nor in the WAF rules set... Is that setting supported on ALB or WAF or does it need to be done directly on the backend server or if I put the ALB behind the CDN ( CloudFront )?

Your help is much appreciated. Thank You

2개 답변
2
수락된 답변

HSTS is specified on the Back-end, not on the ALB. Please refer to this post for more detail.

profile pictureAWS
전문가
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
profile picture
전문가
검토됨 한 달 전
profile picture
전문가
검토됨 한 달 전
profile picture
전문가
검토됨 한 달 전
1

Besides modifying ALB listener rules to redirect HTTP to HTTPS, and adding HSTS header, you can implement HSTS with CloudFront.

Steps on CloudFront include

AWS
전문가
Mike_L
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠