jenkinsci / jenkinsci/script-security-plugin

[JENKINS-66735] Whilelist some common signatures and additional signatures from CauseOfInterruption

Open
#869 1 comment 0 reactions 0 assignees View on GitHub
component:script-security-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
76
Forks
181
Avg merge
14h 55m
Merged PRs (30d)
3

Description

Some common signatures that can be whitelisted:


  1. new java.util.HashMap

  2. staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods sort java.util.Map java.util.Comparator

  3. staticMethod java.lang.System identityHashCode java.lang.Object

In addition, the below are useful to get more details when a user aborts a build:


  1. method jenkins.model.CauseOfInterruption getShortDescription

  2. method jenkins.model.CauseOfInterruption.UserInterruption getUserId

---
Originally reported by haridsv, imported from: Whilelist some common signatures and additional signatures from CauseOfInterruption


  • assignee: haridsv
  • status: In Review
  • priority: Minor
  • component(s): script-security-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-09

Raw content of original issue

Some common signatures that can be whitelisted:


  1. new java.util.HashMap

  2. staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods sort java.util.Map java.util.Comparator

  3. staticMethod java.lang.System identityHashCode java.lang.Object

In addition, the below are useful to get more details when a user aborts a build:


  1. method jenkins.model.CauseOfInterruption getShortDescription

  2. method jenkins.model.CauseOfInterruption.UserInterruption getUserId

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.