[amazon-inspector-image-scanner] Extract inline event handler in com/amazon/inspector/jenkins/amazoninspectorbuildstep/AmazonInspectorBuilder/config.jelly

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Problem

      == Inline Event Handler
      Line: 84
      ----
      <f:checkbox id="isThresholdEnabled" class="bold" checked="false"
                          title="Enable Vulnerability Thresholds"
                          tooltip="Specifies whether scanned vulnerabilities exceeding a value will cause a build failure."
                          onclick='document.getElementById("isThresholdEnabled").checked ?
                  document.getElementById("thresholds").style.display = "block" :
                  document.getElementById("thresholds").style.display = "none"'/>
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers

            Assignee:
            Unassigned
            Reporter:
            Basil Crow
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: