ExportXMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: qualys-was-plugin

      Jenkins 2.539+ allows setting up Content Security Policy for the regular UI, not just user content as before:

      https://www.jenkins.io/doc/book/security/csp/

      The plugin currently has inline script blocks and inline event handlers which break with CSP enforced. There may be other problems, but these are the ones I was able to easily find statically. The plugin should be tested on Jenkins 2.539+ with CSP enforced, e.g., mvn -Djenkins.version=2.539 hpi:run or similar.

      Inline Script Blocks:

      Inline Event Handlers:

      Developer docs:

      https://www.jenkins.io/doc/developer/security/csp/#development-guidelines 

            Assignee:
            Qualys Plugins
            Reporter:
            Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: