-
Notifications
You must be signed in to change notification settings - Fork 3.4k
#2975-Suggestion-Add-Permissions-Policy-as-configurable-option-to-Sec… #3353
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would there be any value in allowing to configure permissions policies on a per route basis?
Can you resolve the merge conflicts?
|
Sure. let me tackle the conflicts. About route based configuration - I'll look into it. |
|
Thanks! |
45ccbb1 to
2fad422
Compare
|
I addressed the merge conflicts. I need some time to get back into the project regarding route based configuration. |
|
Thanks. Also make sure you sign your commit so the DCO check passes. |
cc7a36f to
c2698d6
Compare
c2698d6 to
c4b7405
Compare
|
I introduced the option to configure default security headers and permissions-policy on a per route basis. I would like to do a bit more testing / cleanup, but it behaved fair so far. |
|
Sounds good, let me know when you think it is ready to review |
|
There are some checkstyle errors and also there are a lot of public method signature changes. We cannot change public method and class signatures in a minor release. |
9eef8e7 to
81994f3
Compare
…ption-to-SecureHeaders-GatewayFilter - added Permissions-Policy header as an opt-in header & default value - updated documentation with Permissions-Policy and resources - updated tests to include Permissions-Policy - SecurityHeaders and Permissions-Policy may be configured globally / per route - updated structure of public methods and class members to match previous version structure Fixes spring-cloudgh-2975 Signed-off-by: Jörg Richter <96986086+joerg-richter-5234@users.noreply.github.com>
81994f3 to
85ab7d9
Compare
|
I tidied up the checkstyle hints & checked that the structure remains compatible. This means that e.g. that i re-introduced public constants in |
…d-Permissions-Policy-as-configurable-option-to-SecureHeaders-GatewayFilter
Added Permissions-Policy header as opt-in feature in SecureHeaders-GatewayFilter
Permissions Policy is a security header that allows web developers to manage which browser features a website can utilize.
It is an opt-in header and has to be enabled. When enabled, it applies a default that disables a comprehensive list of features.
It is recommended to configure this header to the respective environment and use case.
The documentation was updated to include information about Permissions-Policy and further resources.
The test suite was updated to include Permission-Policy.
Fixes gh-2975