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

Document needed Content-Security-Policy Settings for Gatling Reports

      Per the Jenkins Wiki, Jenkins now sets a restrictive content security policy header that breaks the Gatling reports as no JavaScript is allowed to run on the pages. In our brief experimentation, we found it necessary to completely remove the header (Set -Dhudson.model.DirectoryBrowserSupport.CSP= ) in order to restore functionality.

      At a minimum setting this needs to be documented for this plugin. Ideally if you can determine a less promiscuous CSP setting that could be set so that we don't have to totally disable CSP, that would be great.

          [JENKINS-32038] Document needed Content-Security-Policy Settings for Gatling Reports

          Kenneth Baltrinic created issue -
          Kenneth Baltrinic made changes -
          Description Original: Per [the Jenkins Wiki|https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy], Jenkins now sets a restrictive content security policy header that breaks the Gatling reports as no JavaScript is allowed to run on the pages. In our brief experimentation, we found it necessary to completely remove the header (Set {{-Dhudson.model.DirectoryBrowserSupport.CSP= }}) in order to restore functionality.

          At a minimum setting this needs to be documented for this plugin. Ideally if you can determine a less promiscuous CSP setting that could be set so that we don't have to totally disable CSP, that would be great.
          New: Per [the Jenkins Wiki|https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy], Jenkins now sets a restrictive content security policy header that breaks the Gatling reports as no JavaScript is allowed to run on the pages. In our brief experimentation, we found it necessary to completely remove the header (Set -Dhudson.model.DirectoryBrowserSupport.CSP= ) in order to restore functionality.

          At a minimum setting this needs to be documented for this plugin. Ideally if you can determine a less promiscuous CSP setting that could be set so that we don't have to totally disable CSP, that would be great.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 167513 ] New: JNJira + In-Review [ 182769 ]
          Cédric Cousseran made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            Unassigned Unassigned
            kbaltrinic Kenneth Baltrinic
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: