From b171b3ba363922440bdd0ea7a16f779558d939f8 Mon Sep 17 00:00:00 2001 From: Matt Sicker Date: Thu, 23 Jul 2020 09:53:01 -0500 Subject: [PATCH] [JENKINS-63171] Add more generic whitelist entries --- .../scriptsecurity/sandbox/whitelists/generic-whitelist | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist b/src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist index a41868bb8..2de2d6391 100644 --- a/src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist +++ b/src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist @@ -642,6 +642,7 @@ staticMethod org.codehaus.groovy.runtime.DateGroovyMethods upto java.util.Calend staticMethod org.codehaus.groovy.runtime.DateGroovyMethods upto java.util.Date java.util.Date groovy.lang.Closure staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods abs java.lang.Number staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods addAll java.util.Collection java.lang.Object[] +staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods and java.lang.Boolean java.lang.Boolean staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods any java.lang.Iterable groovy.lang.Closure staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods any java.lang.Object groovy.lang.Closure staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods any java.util.Map groovy.lang.Closure @@ -965,7 +966,9 @@ staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods take java.util.Lis staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods takeRight java.lang.Iterable int staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods takeRight java.util.List int staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods times java.lang.Number groovy.lang.Closure +staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toBoolean java.lang.Boolean staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toBoolean java.lang.String +staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toDouble java.lang.String staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toInteger java.lang.String staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toList boolean[] staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toList byte[]