-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase HSTS max-age to default to one year #10564
Increase HSTS max-age to default to one year #10564
Conversation
|
✅ Deploy Preview for kubernetes-ingress-nginx ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Welcome @migg24! |
Hi @migg24. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/lgtm |
@strongjz: once the present PR merges, I will cherry-pick it on top of release-1.9 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: migg24, strongjz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@strongjz: new pull request created: #10580 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Do we really wanna cherry-pick it? Can this be a breaking change? |
Increasing the NGINX HSTS (HTTP Strict Transport Security) max-age has the following effects on website security and users:
Maybe we can release it in the next version and alert users in the Changelog? |
What this PR does / why we need it:
Increase hsts-max-age to secure default of 1 year, as this is the required minimum duration by several tools checking for header setup (like internet.nl). Currently people have to manually set
hsts-max-age
to one year, but I think this chart should come with a secure default.It is also the minimum duration to activate
preload
(see https://hstspreload.org/).It is also the recommended max-age on https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Strict_Transport_Security_Cheat_Sheet.html
Types of changes
Not sure if this qualifies as breaking change as it technically changes existing functionality but only the duration of the header.
Which issue/s this PR fixes
How Has This Been Tested?
Not tested, replaced all occurences of
15724800
in the repo.Checklist: