Hi,
Our Security sca
ns showed that the Atlassian DC Applications we have hosted (Jira, Confluence.. ) are lacking Security related Headers especially "Clear-Site-Data".
We have tried setting the headers on haproxy side, however it resulted in user's sessions getting timed out with each page navigation request.
This is what we have tried:
http-response set-header Clear-Site-Data: "cache", "cookies", "storage", "executionContexts", "*"
1) Is the Clear-Site-Data header required at a Global level for all page 'responses', OR should it be set only when the user tries to log out of Jira/ closes the tab ??
- If it's the former, will it clear the stored session of logged in user ?
- If it's the latter, how can we target the logout request alone ?
2) Do you have any docs/ tickets which talks about the syntax required for 'Clear-Site-Data' header to be set for Atlassian applications ?? ( I found this ticket : [https://jira.atlassian.com/browse/JRASERVER-71365\](https://jira.atlassian.com/browse/JRASERVER-71365))
Thanks,
Majo
The Clear-site-data should only be used on logging out (or timing out, but that doesn't get done by the server and browser). The cache that it causes it to clear includes the current logged in session and entered data, so having that header on most responses would destroy the ability to actually use the system.
There is only one URL that I know of that goes through a log-out, so you could either hack the code that generates the page to add the header, or tell your proxy to inject it only on that page.
I haven't found anything beyond the two links you have, I'm sorry.
Thank you @Nic Brough -Adaptavist-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.