-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Some common signatures that can be whitelisted:
- new java.util.HashMap
- staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods sort java.util.Map java.util.Comparator
- staticMethod java.lang.System identityHashCode java.lang.Object
In addition, the below are useful to get more details when a user aborts a build:
- method jenkins.model.CauseOfInterruption getShortDescription
- method jenkins.model.CauseOfInterruption.UserInterruption getUserId
[JENKINS-66735] Whilelist some common signatures and additional signatures from CauseOfInterruption
Description |
Original:
Some common signatures that can be whitelisted:
# {{new java.util.HashMap}} # {{staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods sort java.util.Map java.util.Comparator}} In addition, the below are useful to get more details when a user aborts a build: # {{method jenkins.model.CauseOfInterruption getShortDescription}} # {{method jenkins.model.CauseOfInterruption.UserInterruption getUserId}} |
New:
Some common signatures that can be whitelisted:
# {{new java.util.HashMap}} # {{staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods sort java.util.Map java.util.Comparator}} # {{staticMethod java.lang.System identityHashCode java.lang.Object}} In addition, the below are useful to get more details when a user aborts a build: # {{method jenkins.model.CauseOfInterruption getShortDescription}} # {{method jenkins.model.CauseOfInterruption.UserInterruption getUserId}} |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Summary | Original: Whilelist some common signatures | New: Whilelist some common signatures and |
Summary | Original: Whilelist some common signatures and | New: Whilelist some common signatures and additional signatures from CauseOfInterruption |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
PR: https://github.com/jenkinsci/script-security-plugin/pull/365