-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: artifactory-plugin
Problems
== Inline Script Block
Line: 59
----
<script>
var bindToDescriptor =
<st:bind value="${descriptor}"/>
</script>
----
== Inline Script Block
Line: 266
----
<script>
function updateViewWithCredentials() {
try {
let credentialsPluginFlag = JSON.parse(document.getElementById('useCredentialsPluginoverridingDeployerCredentials').value);
let legacyCredentials = document.getElementById('legacyoverridingDeployerCredentials');
let credentialsPlugin = document.getElementById('overridingDeployerCredentials-${uniqueId}');
legacyCredentials.style.display = credentialsPluginFlag ? 'none' : '';
credentialsPlugin.style.display = credentialsPluginFlag ? '' : 'none';
} catch (exception) {
setTimeout(updateViewWithCredentials, 0);
}
}
updateViewWithCredentials();
</script>
----
== Inline Event Handler
Line: 27
----
<select class="setting-input" name="userPluginKey" id="customStagingConfiguration-${s.artifactoryUrl}-${uniqueId}"
onchange="setStagingParamsSelectedValue(this)">
----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers