-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: jqs-monitoring-plugin
Problems
== Inline Script Block
Line: 150
----
<script type="text/javascript"> function widthValue(newValue) {
document.getElementById("wrange").innerHTML=newValue; }
</script>
----
== Inline Script Block
Line: 153
----
<script type="text/javascript"> function heightValue(newValue) {
document.getElementById("hrange").innerHTML=newValue; }
</script>
----
== Inline Event Handler
Line: 123
----
<input
name="histwidth"
type="range"
min="25"
max="65"
value="${it.getLocalConfig().getHistogramWidth()}"
step="1"
onchange="widthValue(this.value)" />
----
== Inline Event Handler
Line: 138
----
<input
name="histheight"
type="range"
min="250"
max="1200"
value="${it.getLocalConfig().getHistogramHeight()}"
step="10"
onchange="heightValue(this.value)" />
----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers