cisagov / crossfeed

External monitoring for organization assets
https://docs.crossfeed.cyber.dhs.gov
Creative Commons Zero v1.0 Universal
364 stars 54 forks source link

Enforce HTTP Strict Transport Security (HSTS) #2474

Closed schmelz21 closed 7 months ago

schmelz21 commented 7 months ago

💡 Summary

Site should only be accessed by HTTPS.

Motivation and context

Enable HTTP Strict Transport Security (HSTS) by adding the following value to the response header: “Strict-Transport-Security” followed by “max-age=expireTime” where the expire time is the time in seconds that the browsers should remember that the site should only be accessed using HTTPS.

Implementation notes

Acceptance criteria