jenkinsci / jenkinsci/simple-theme-plugin

Make `JsUrlThemeElement` and `CssUrlThemeElement` work with CSP in Jenkins 2.539+

Open
#280 0 comments 0 reactions 1 assignee Claimed by @daniel-beck View on GitHub
enhancement
Dominant language
Java
Stars
56
Forks
53
PR merge metrics
No merged PRs in 30d

Description

### What feature do you want to see added?

https://www.jenkins.io/changelog/2.539/ added Content Security Policy as an opt-in feature. Previously users had to install [CSP plugin](https://plugins.jenkins.io/csp/) to get that.

New core extension points allow plugins to contribute to the CSP rule set.

I think it'd be great if this plugin allowed the configured JS element out of the box; although the exact shape of that is not that straightforward.

There's a limit to what the plugin can do automatically, and https://github.com/jenkinsci/simple-theme-plugin/pull/281 describes the limitations.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.