-
Task
-
Resolution: Won't Do
-
Minor
-
None
The proposal is to add an endpoint that would:
- check that the caller has the necessary rights
- check the script compiles
- add the script to the approved script
[JENKINS-63218] Add a Rest endpoint for Groovy script approval
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Summary | Original: Add a Rest endpoint for script approval | New: Add a Rest endpoint for Groovy script approval |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Resolution | New: Won't Do [ 10001 ] | |
Status | Original: In Review [ 10005 ] | New: Closed [ 6 ] |
After discussions in the PR, it appears that this feature is not desirable given the risk of misuse. Details here https://github.com/jenkinsci/script-security-plugin/pull/305#pullrequestreview-492814620