Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60210

Whitelist all java.util.Collections methods

    Details

    • Similar Issues:

      Description

      We currently only have Collections.sort whiltelisted, but every method in this class is a static utility method that is safe. Also need to whitelist a couple of Throwable.printStackTrace variations. JENKINS-57344 already whitelisted a few java.io methods to make it possible to write to a StringWriter, so together this will make it possible to log more detailed error messages that include exception stacktraces and make it easier to troubleshoot some issues.

        Attachments

          Activity

          Show
          haridsv Hari Dara added a comment - PR:  https://github.com/jenkinsci/script-security-plugin/pull/280

            People

            • Assignee:
              haridsv Hari Dara
              Reporter:
              haridsv Hari Dara
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: