Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-74513

[stackrox-container-image-scanner] Extract inline script blocks in com/stackrox/jenkins/plugins/ViewStackroxResultsAction/index.jelly

XMLWordPrintable

      Problems

      == Inline Script Block
      Line: 26
      ----
      <script>
                      $( function() {
                      $( "#accordion" ).collapsible({
                      animate: false,
                      });
                      });
                  </script>
      ----
      
      == Inline Script Block
      Line: 55
      ----
      <script type="text/javascript">renderTabs();</script>
      ----
      
      == Inline Script Block
      Line: 65
      ----
      <script type="text/javascript">
                                                      renderPolicyViolationTable("#policy_table_${index}",
                                                      ${result.violatedPoliciesJson});
                                                  </script>
      ----
      
      == Inline Script Block
      Line: 81
      ----
      <script type="text/javascript">
                                                          renderCVETable("#cve_table_${index}", ${result.cvesJson});
                                                      </script>
      ----
      
      == Inline Script Block
      Line: 90
      ----
      <script type="text/javascript">renderTabs();</script>
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: