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

Support Wildcard Whitelists


      As users of Pipeline it is painful using scripts run through the Script Security engine, because there are frequent Script Approvals needed due to unapproved method calls.  In many cases the methods are safe, just not enumerated on the existing whitelist. 

      Generally we've tried to solve this by building a comprehensive list of method signatures, but what if we made it easier to whitelist groups of methods, by adding wildcard options for methods. 

      The simplest implementation would be to just allow * to stand in for any sequence of characters in one of the EnumeratingWhitelist entry fields - simpler than supporting full regex.

            svanoort Sam Van Oort
            svanoort Sam Van Oort
            0 Vote for this issue
            1 Start watching this issue