-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: _unsorted
Problems
== Inline Script Block
Line: 9
----
<script>
function resizeIframe(obj) {
obj.contentWindow.postMessage(${it.results},'${it.reportUrl}');
}
</script>
----
== Inline Event Handler
Line: 15
----
<iframe
data-crumbtoken-field="${it.crumbRequestField}"
data-crumbtoken="${it.crumbToken}"
style="border: none;min-width: 800px; height: 100%"
id="iac-plugin-container"
width="100%" src="${it.reportUrl}"
onload="resizeIframe(this)"
/>
----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers