Actions
Bug #26033
closedOpenscap report cannot open in iframe since CSRF headers
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
It bothers me each time
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Small
Priority:
130
Name check:
To do
Fix check:
To do
Regression:
No
Description
When displaying an openscap report in 8.2, we end up having an iframe
component with a CRSF error :
This is due to the iframe
calling an Openscap API endpoint as its src
but the CSRF mitigation headers are missing.
Therefore the HTML report cannot be loaded, even though it is exists at /var/rudder/shared-files/root/files/<nodeId>/openscap_report.html
We should have a safe way to render the openscap HTML content directly into the page.
Files
Actions