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 Antworten
2
Akzeptierte Antwort

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

profile pictureAWS
EXPERTE
beantwortet vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat
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
EXPERTE
Mike_L
beantwortet vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen