-
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
fix(security_response_headers): update Permissions-Policy default val… #205039
Conversation
…ue for fullscreen
/ci |
@Ruby-rc, thank you for the contribution! The changes LGTM. But before approving, I'd love it if @elastic/kibana-security could take a look. |
Pinging @elastic/kibana-core (Team:Core) |
💔 Build Failed
Failed CI Steps
Test Failures
Metrics [docs]
History |
Thank you! There are some uncertainties that need further discussion. I’ve just noticed an issue with this commit — the property value was incorrect, and some test files were not updated. I’ve made the necessary fixes and committed the changes again. However, I’m not sure if setting the fullscreen value to allow same-origin (self) and specific sources would be a better approach. Additionally, I noticed that the docs/setup/settings.asciidoc file contains instructions on how to modify the Permissions-Policy. The exact approach for modifying it should be discussed further.
|
Hey @Ruby-rc, Thanks a lot for the contribution!
Is this the only video source you wanted to relax the I’m also tagging @agusruidiazgd, who I believe added this link in https://github.com/elastic/kibana/pull/190696/files#diff-ac85eb4cd1c126a214648960cb92a88735f61adcac7972c8670bc338fca22b4fR20, to understand the expected lifetime of this link, whether we plan to add more, and if vidyard.com is our video hosting service of choice for stuff like this (e.g. to consider switching from |
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.
Requesting changes for this one per Oleg's comment
Thank you for your response. The reason I'm quoting the specific video URL is to discuss whether there's a more appropriate way to write the video source configuration, so we can optimize the setup. I fully agree with your point, especially when considering the choice of video hosting service and the details of how to handle the fullscreen restriction. |
Hey @elena-shostak The changes have been made as per comment(sorry , I'm not entirely sure which one is Oleg's 🤔). However, notice that the Permissions-Policy needs to explicitly specify the protocol, so I have added the specific domain names for both http and https. |
@elasticmachine merge upstream |
Sorry, I didn't realize this might be a topic for discussion earlier. If the internal solution hasn't been decided yet, feel free to close my PR for now. |
@Ruby-rc No need to apologize, and sorry that it might take a bit longer to resolve! You’ve found a valid bug and proposed a reasonable solution, we just need a bit more time to ensure we handle it the right way for the long term. Let’s keep your PR open for now until we hear from @agusruidiazgd and have had a chance to discuss this internally. It’s the holiday season, and many people are out, but we’ll get back to you as soon as we’ve discussed it with all stakeholders. Thanks!
That's me (#205039 (comment)) 🙂 |
Hi @Ruby-rc thanks for your contribution! |
Hey @Ruby-rc @azasypkin this is a duplicate of #177777 (comment). |
Hi @agusruidiazgd, @azasypkin, Thanks for your feedback and for pointing out the related discussions. After reviewing them, I think this PR might not fully address all the considerations currently being discussed. To avoid confusion and keep things aligned with the team's direction, I’ll close this PR for now. Once the team reaches a conclusion, I’d be happy to revisit this if needed. Thanks for your guidance! |
Summary
Closes #204721
Screen recording after modification:
20241220-191850.mp4