-
Improvement
-
Resolution: Fixed
-
Minor
-
-
2.333
By using JCasC I have the plugins versions under my control.
So I don't want to disable the security warnings manually every time I create/configure a new Jenkins instance via JCasC.
It should be possible to configure it via JCasC.
The JCasC configuration could be look like this:
security:
updateSiteWarningsConfiguration:
ignoredWarnings:
- 'SECURITY-248'
- Affected class of Jenkins Core:
- Affected Jenkins configuration file:
- jenkins.security.UpdateSiteWarningsConfiguration.xml
First try to patch UpdateSiteWarningsConfiguration (using @DataBoundSetter see [JCasC Requirements - guide for plugin maintainers](https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/docs/REQUIREMENTS.md) ) has failed.
So any hint would be welcome.