jenkinsci / jenkinsci/workflow-cps-plugin
[JENKINS-35391] Improve UX of Groovy sandbox for Pipeline builds
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 186
- Forks
- 212
- Avg merge
- 12h 12m
- Merged PRs (30d)
- 8
Description
There are several kinds of issues with the user experience of the Groovy sandbox as applied to Pipeline especially:
- Lots of legitimate method calls are not whitelisted by default. We need to greatly expand the bundled whitelist.
- Some calls are not properly classified for script approval. Typically I fix these as they are reported, though there are some open.
- User experience of handling script security generally is sub-par.
---
Originally reported by
jglick, imported from: Improve UX of Groovy sandbox for Pipeline builds
jglick
Raw content of original issue
There are several kinds of issues with the user experience of the Groovy sandbox as applied to Pipeline especially:
- Lots of legitimate method calls are not whitelisted by default. We need to greatly expand the bundled whitelist.
- Some calls are not properly classified for script approval. Typically I fix these as they are reported, though there are some open.
- User experience of handling script security generally is sub-par.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the script-security-plugin and workflow-cps-plugin components named in the issue, then trace how Groovy sandbox whitelist and script approval handling are organized. The issue describes several broad UX goals but names no files, tests, entry point, or concrete completion criteria, so the scope must be clarified before work begins.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100