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

[sysdig-secure] Extract inline script blocks and event handler in com/sysdig/jenkins/plugins/sysdig/SysdigAction/index.jelly

XMLWordPrintable

      Problems

      == Inline Script Block
      Line: 27
      ----
      <script type="text/javascript">
                          buildPolicyEvalSummaryTable("#gates_summary_table", ${it.gateSummary});
                        </script>
      ----
      
      == Inline Script Block
      Line: 34
      ----
      <script type="text/javascript">
                        buildPolicyEvalTable("#gates_table", "${it.gateOutputUrl}");
                      </script>
      ----
      
      == Inline Script Block
      Line: 97
      ----
      <script type="text/javascript">
                          buildSecurityTable("#security_table", "${it.cveListingUrl}");
                        </script>
      ----
      
      == Inline Event Handler
      Line: 88
      ----
      <button class="btn btn-primary" onclick="download_csv()">
      ----
      

      Solutions

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

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

              Created:
              Updated: