Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractWhitelist - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
-
Convenience whitelist base class that denies everything by default.
- AbstractWhitelist() - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
- accessRejected(RejectedAccessException, ApprovalContext) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Deprecated.
- aclApproveSignature(String) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- AclAwareWhitelist - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
-
Delegating whitelist which allows certain calls to be made only when a non-
ACL.SYSTEM2
user is making them. - AclAwareWhitelist(Whitelist, Whitelist) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AclAwareWhitelist
-
Creates a delegating whitelist.
- ADMIN_AUTO_APPROVAL_ENABLED - Static variable in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
SECURITY-2450: Since 1172.v35f6a_0b_8207e, unmodified, unsandboxed scripts are no longer automatically approved when administrators submit job configuration forms.
- alias() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
- all() - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
-
Checks for all whitelists registered as
Extension
s and aggregates them. - ALLOW_ADMIN_APPROVAL_ENABLED - Static variable in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
SECURITY-3103: Since 1265.va_fb_290b_4b_d34, administrators saving jobs (e.g., when copying existing jobs with unapproved scripts) will no longer result in unapproved scripts in those configurations being approved.
- annotate(Object, MarkupText, int) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApprovalNote
- AnnotatedWhitelist - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
-
Whitelists anything marked with
Whitelisted
. - AnnotatedWhitelist() - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AnnotatedWhitelist
- ApprovalContext - Class in org.jenkinsci.plugins.scriptsecurity.scripts
-
Represents background information about who requested that a script or signature be approved and for what purpose.
- ApprovalListener - Class in org.jenkinsci.plugins.scriptsecurity.scripts
-
Receives notifications on approval-related events.
- ApprovalListener() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalListener
- approveClasspathEntry(String) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- ApprovedClasspathEntry(String, URL) - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.ApprovedClasspathEntry
- ApprovedWhitelist() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.ApprovedWhitelist
- approveScript(String) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- approveSignature(String) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
B
- beforePermits() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist
-
Called before
ProxyWhitelist.permitsMethod(java.lang.reflect.Method, java.lang.Object, java.lang.Object[])
and similar methods. - beforePermits() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.ApprovedWhitelist
- BlanketWhitelist - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
-
Whitelists everything.
- BlanketWhitelist() - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.BlanketWhitelist
C
- call(SourceUnit, GeneratorContext, ClassNode) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.RejectASTTransformsCustomizer
- checking(String, Language) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Deprecated.
- checking(String, Language, boolean) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
To be used from form validation, in a
doCheckFieldName
method. - checking(ClasspathEntry) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Like
ScriptApproval.checking(String, Language, boolean)
but for classpath entries. - checkScriptForCompilationErrors(String, GroovyClassLoader) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
-
Checks a script for compilation errors in a sandboxed environment, without going all the way to actual class creation or initialization.
- ClassLoaderWhitelist - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.groovy
-
Whitelist
that allows everything defined from a specific classloader. - ClassLoaderWhitelist(ClassLoader) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.ClassLoaderWhitelist
- ClasspathEntry - Class in org.jenkinsci.plugins.scriptsecurity.scripts
-
A classpath entry used for a script.
- ClasspathEntry(String) - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
- ClasspathEntry_path_noDirsAllowed() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ClasspathEntry.path.noDirsAllowed
:Class directories are not allowed as classpath entries.
. - ClasspathEntry_path_notApproved() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ClasspathEntry.path.notApproved
:This classpath entry is not approved. Require an approval before execution.
. - ClasspathEntry_path_notExists() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ClasspathEntry.path.notExists
:Specified path does not exist
. - ClasspathEntry.DescriptorImpl - Class in org.jenkinsci.plugins.scriptsecurity.scripts
- clearApprovedClasspathEntries() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- clearApprovedScripts() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- clearApprovedSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- clearDangerousApprovedSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- clearDeprecatedApprovedScripts() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Clears
ScriptApproval.approvedScriptHashes
from all entries not matchingScriptApproval.DEFAULT_HASHER
. - close() - Method in interface org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.Scope
- compareTo(EnumeratingWhitelist.Signature) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.Signature
- compareTo(ScriptApproval.ApprovedClasspathEntry) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.ApprovedClasspathEntry
- compareTo(ScriptApproval.PendingClasspathEntry) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingClasspathEntry
- configuring(String, Language, ApprovalContext) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Deprecated.
- configuring(String, Language, ApprovalContext, boolean) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Used when someone is configuring a script.
- configuring(ApprovalContext) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript
-
To be called in your own
DataBoundConstructor
when storing the field of this type. - configuring(ClasspathEntry, ApprovalContext) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Called when configuring a classpath entry.
- configuringWithKeyItem() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript
- configuringWithNonKeyItem() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript
- convertDeprecatedApprovedClasspathEntries() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Schedules a
Thread
task that rehashes/converts all approved classpath entries that are hashed not usingScriptApproval.DEFAULT_HASHER
. - countDeprecatedApprovedClasspathHashes() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- countDeprecatedApprovedScriptHashes() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- create() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalContext
-
Creates a new context with no information.
- createBaseCompilerConfiguration() - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
-
Prepares a compiler configuration that rejects certain AST transformations.
- createSecureClassLoader(ClassLoader) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
-
Prepares a classloader for Groovy shell for sandboxing.
- createSecureCompilerConfiguration() - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
-
Prepares a compiler configuration the sandbox.
D
- dangerous - Variable in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingSignature
- denyApprovedClasspathEntry(String) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- denyClasspathEntry(String) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- denyScript(String) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- denySignature(String) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- DescriptorImpl() - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApprovalNote.DescriptorImpl
- doApproveScriptHash(String) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- doCheckPath(String, String, boolean) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry.DescriptorImpl
- doCheckScript(String, boolean, String) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript.DescriptorImpl
E
- enter() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
-
Starts a dynamic scope within which calls will be sandboxed.
- EnumeratingWhitelist - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
-
A whitelist based on listing signatures and searching them.
- EnumeratingWhitelist() - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- EnumeratingWhitelist.FieldSignature - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
- EnumeratingWhitelist.MethodSignature - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
- EnumeratingWhitelist.NewSignature - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
- EnumeratingWhitelist.Signature - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
- equals(Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.Signature
- equals(Object) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
- equals(Object) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.ApprovedClasspathEntry
- equals(Object) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingClasspathEntry
- equals(Object) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingScript
- equals(Object) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingSignature
- evaluate(ClassLoader, Binding) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript
-
Deprecated.
- evaluate(ClassLoader, Binding, TaskListener) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript
-
Runs the Groovy script, using the sandbox if so configured.
F
- FieldSignature(Class<?>, String) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.FieldSignature
- FieldSignature(String, String) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.FieldSignature
- fieldSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- fieldSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- FormValidationPageDecorator() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.FormValidationPageDecorator
- from(URL) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
G
- GenericWhitelist - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
-
Deprecated.replaced by
StaticWhitelist.stockWhitelists()
, now used only in tests - GenericWhitelist() - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.GenericWhitelist
-
Deprecated.
- get() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyLanguage
- get() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyShellLanguage
- get() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyXmlLanguage
- get() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.JellyLanguage
- get() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.JexlLanguage
- get() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.SystemCommandLanguage
- get() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Gets the singleton instance.
- getAclApprovedSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getApprovedClasspathEntries() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getApprovedScriptHashes() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getApprovedSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getBadge() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApprovalLink
- getCategory() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getCategory() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApprovalLink
- getClasspath() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript
- getClasspathRenderInfo() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getCodeMirrorMode() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.Language
-
A CodeMirror mode string, for purposes of displaying scripts in HTML.
- getCodeMirrorMode() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyLanguage
- getCodeMirrorMode() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyXmlLanguage
- getConfigFile() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getContext() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingThing
- getDangerousApprovedSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getDescription() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApprovalLink
- getDisplayName() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript.DescriptorImpl
- getDisplayName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry.DescriptorImpl
- getDisplayName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.Language
-
Display name of the language for use in the UI.
- getDisplayName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyLanguage
- getDisplayName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyShellLanguage
- getDisplayName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyXmlLanguage
- getDisplayName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.JellyLanguage
- getDisplayName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.JexlLanguage
- getDisplayName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.SystemCommandLanguage
- getDisplayName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApprovalLink
- getHash() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.ApprovedClasspathEntry
- getHash() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingClasspathEntry
- getHash() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingScript
- getHash() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingSignature
- getHash() - Method in exception org.jenkinsci.plugins.scriptsecurity.scripts.UnapprovedClasspathException
-
Gets a token which identifies the contents of the unapproved classpath entry.
- getHash() - Method in exception org.jenkinsci.plugins.scriptsecurity.scripts.UnapprovedUsageException
-
Gets a token which identifies the actual script to be rejected.
- getIconFileName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getIconFileName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApprovalLink
- getItem() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalContext
-
Gets any associated item which should be displayed to an administrator.
- getKey() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalContext
-
Gets the unique key, if any.
- getLanguage() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingScript
- getName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.Language
-
Unique, permanent, internal identifier of this language.
- getName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyLanguage
- getName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyShellLanguage
- getName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyXmlLanguage
- getName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.JellyLanguage
- getName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.JexlLanguage
- getName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.languages.SystemCommandLanguage
- getName(Class<?>) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- getName(Object) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- getOldPath() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
- getOldScript() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript
- getPath() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
- getPendingClasspathEntries() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getPendingScripts() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getPendingSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getRequiredPermission() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApprovalLink
- getScript() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript
- getSignature() - Method in exception org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException
-
Gets the signature of the member to which access was rejected.
- getSpinnerIconClassName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getURL() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
- getURL() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.ApprovedClasspathEntry
- getURL() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingClasspathEntry
- getURL() - Method in exception org.jenkinsci.plugins.scriptsecurity.scripts.UnapprovedClasspathException
- getUrlName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- getUrlName() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApprovalLink
- getUser() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalContext
-
Gets the associated user ID, if any.
- GroovyLanguage - Class in org.jenkinsci.plugins.scriptsecurity.scripts.languages
-
Language for Groovy scripts.
- GroovyLanguage() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyLanguage
- GroovySandbox - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.groovy
-
Allows Groovy scripts (including Groovy Templates) to be run inside a sandbox.
- GroovySandbox() - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
-
Creates a sandbox with default settings.
- GroovySandbox_useOfInsecureRunOverload() - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.Messages
-
Key
GroovySandbox.useOfInsecureRunOverload
:GroovySandbox.run(Script, Whitelist) is insecure and deprecated. GroovySandbox.run(GroovyShell, String, Whitelist) should be used instead.
. - GroovySandbox.Scope - Interface in org.jenkinsci.plugins.scriptsecurity.sandbox.groovy
-
Handle for exiting the dynamic scope of the Groovy sandbox.
- GroovyShellLanguage - Class in org.jenkinsci.plugins.scriptsecurity.scripts.languages
-
Language for Groovy Template scripts generating Bourne Shell script.
- GroovyShellLanguage() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyShellLanguage
- GroovyXmlLanguage - Class in org.jenkinsci.plugins.scriptsecurity.scripts.languages
-
Language for Groovy Template scripts generating XML.
- GroovyXmlLanguage() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.languages.GroovyXmlLanguage
H
- hasDeprecatedApprovedClasspathHashes() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- hasDeprecatedApprovedScriptHashes() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- hashCode() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.Signature
- hashCode() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
- hashCode() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.ApprovedClasspathEntry
- hashCode() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingClasspathEntry
- hashCode() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingScript
- hashCode() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingSignature
I
- isBlacklisted(String) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- isClassDirectory() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
-
Checks whether the entry would be considered a class directory.
- isConvertingDeprecatedApprovedClasspathEntries() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Checks if
ScriptApproval.convertDeprecatedApprovedClasspathEntriesThread
is active. - isDangerous() - Method in exception org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException
-
True if
RejectedAccessException.getSignature()
is non-null but it would be a bad idea for an administrator to approve it. - isEntryApproved() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
- isForceSandbox() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Flag indicating whether the current system is blocking non sandbox operations for non Admin users.
- isForceSandboxForCurrentUser() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Logic to indicate if the flag
ScriptApproval.isForceSandbox()
applies for the current user. - isPermanentlyBlacklisted(String) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
-
Checks if the signature is permanently blacklisted, and so shouldn't show up in the pending approval list.
- isPermanentlyBlacklistedConstructor(Constructor) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
-
Returns true if the given constructor is permanently blacklisted in
StaticWhitelist.PERMANENTLY_BLACKLISTED_CONSTRUCTORS
- isPermanentlyBlacklistedMethod(Method) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
-
Returns true if the given method is permanently blacklisted in
StaticWhitelist.PERMANENTLY_BLACKLISTED_METHODS
- isPermanentlyBlacklistedStaticMethod(Method) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
-
Returns true if the given method is permanently blacklisted in
StaticWhitelist.PERMANENTLY_BLACKLISTED_STATIC_METHODS
- isSandbox() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript
- isScriptApproved(String, Language) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- isScriptAutoApprovalEnabled() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript
- isScriptAutoApprovalEnabled() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
- isShouldBeApproved() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
- isWildcard() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.FieldSignature
- isWildcard() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.MethodSignature
- isWildcard() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.Signature
J
- JellyLanguage - Class in org.jenkinsci.plugins.scriptsecurity.scripts.languages
-
Language for Jelly scripts.
- JellyLanguage() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.languages.JellyLanguage
- JexlLanguage - Class in org.jenkinsci.plugins.scriptsecurity.scripts.languages
-
Language for JEXL scripts.
- JexlLanguage() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.languages.JexlLanguage
L
- Language - Class in org.jenkinsci.plugins.scriptsecurity.scripts
-
A language for which we can request
ScriptApproval
. - Language() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.Language
- load() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- LOGGER - Static variable in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
M
- maybeRegister(RejectedAccessException) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- Messages - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.groovy
-
Generated localization support class.
- Messages - Class in org.jenkinsci.plugins.scriptsecurity.scripts
-
Generated localization support class.
- Messages() - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.Messages
- Messages() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
- MethodSignature(Class<?>, String, Class<?>...) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.MethodSignature
- MethodSignature(String, String, String...) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.MethodSignature
- methodSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- methodSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
N
- NewSignature(Class<?>, Class<?>...) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.NewSignature
- NewSignature(String, String...) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.NewSignature
- newSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- newSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
O
- onApproved(String) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalListener
-
Called when a script is approved.
- onApprovedClasspathEntry(String, URL) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalListener
-
Called when a classpath entry is approved.
- org.jenkinsci.plugins.scriptsecurity.sandbox - package org.jenkinsci.plugins.scriptsecurity.sandbox
- org.jenkinsci.plugins.scriptsecurity.sandbox.groovy - package org.jenkinsci.plugins.scriptsecurity.sandbox.groovy
- org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists - package org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
- org.jenkinsci.plugins.scriptsecurity.scripts - package org.jenkinsci.plugins.scriptsecurity.scripts
- org.jenkinsci.plugins.scriptsecurity.scripts.languages - package org.jenkinsci.plugins.scriptsecurity.scripts.languages
P
- parse(GroovyShell, GroovyCodeSource) - Method in interface org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.Scope
-
Variant of
GroovyShell.parse(String)
that intercepts potentially unsafe calls when the script is created. - parse(String) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
-
Parse a signature line into a
EnumeratingWhitelist.Signature
. - permitsConstructor(Constructor<?>, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.ClassLoaderWhitelist
- permitsConstructor(Constructor<?>, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
- permitsConstructor(Constructor<?>, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
- permitsConstructor(Constructor<?>, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AclAwareWhitelist
- permitsConstructor(Constructor<?>, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.BlanketWhitelist
- permitsConstructor(Constructor<?>, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- permitsConstructor(Constructor<?>, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist
- permitsFieldGet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.ClassLoaderWhitelist
- permitsFieldGet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
- permitsFieldGet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
- permitsFieldGet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AclAwareWhitelist
- permitsFieldGet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.BlanketWhitelist
- permitsFieldGet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- permitsFieldGet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist
- permitsFieldSet(Field, Object, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.ClassLoaderWhitelist
- permitsFieldSet(Field, Object, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
- permitsFieldSet(Field, Object, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
- permitsFieldSet(Field, Object, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AclAwareWhitelist
- permitsFieldSet(Field, Object, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.BlanketWhitelist
- permitsFieldSet(Field, Object, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- permitsFieldSet(Field, Object, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist
- permitsMethod(Method, Object, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.ClassLoaderWhitelist
- permitsMethod(Method, Object, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
-
Checks whether a given virtual method may be invoked.
- permitsMethod(Method, Object, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
- permitsMethod(Method, Object, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AclAwareWhitelist
- permitsMethod(Method, Object, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.BlanketWhitelist
- permitsMethod(Method, Object, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- permitsMethod(Method, Object, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist
- permitsStaticFieldGet(Field) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.ClassLoaderWhitelist
- permitsStaticFieldGet(Field) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
- permitsStaticFieldGet(Field) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
- permitsStaticFieldGet(Field) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AclAwareWhitelist
- permitsStaticFieldGet(Field) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.BlanketWhitelist
- permitsStaticFieldGet(Field) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- permitsStaticFieldGet(Field) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist
- permitsStaticFieldSet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.ClassLoaderWhitelist
- permitsStaticFieldSet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
- permitsStaticFieldSet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
- permitsStaticFieldSet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AclAwareWhitelist
- permitsStaticFieldSet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.BlanketWhitelist
- permitsStaticFieldSet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- permitsStaticFieldSet(Field, Object) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist
- permitsStaticMethod(Method, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.ClassLoaderWhitelist
- permitsStaticMethod(Method, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
- permitsStaticMethod(Method, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
- permitsStaticMethod(Method, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AclAwareWhitelist
- permitsStaticMethod(Method, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.BlanketWhitelist
- permitsStaticMethod(Method, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- permitsStaticMethod(Method, Object[]) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist
- popRegistrationCallback() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- preapprove(String, Language) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Unconditionally approve a script.
- preapproveAll() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Unconditionally approves all pending scripts.
- print(TaskListener, RejectedAccessException) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApprovalNote
- ProxyWhitelist - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
-
Aggregates several whitelists.
- ProxyWhitelist(Collection<? extends Whitelist>) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist
- ProxyWhitelist(Whitelist...) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist
- pushRegistrationCallback(Consumer<RejectedAccessException>) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
R
- RejectASTTransformsCustomizer - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.groovy
- RejectASTTransformsCustomizer() - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.RejectASTTransformsCustomizer
- RejectedAccessException - Exception in org.jenkinsci.plugins.scriptsecurity.sandbox
-
Thrown when access to a language element was not permitted.
- RejectedAccessException(String) - Constructor for exception org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException
-
Rejects access to something which the current
StaticWhitelist
format could not describe. - RejectedAccessException(String, String) - Constructor for exception org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException
-
Rejects access to a well-described script element.
- RejectedAccessException(String, String, String) - Constructor for exception org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException
-
Rejects access to a well-described script element.
- rejectField(Field) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- rejectMethod(Method) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- rejectMethod(Method, String) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- rejectNew(Constructor<?>) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- rejectStaticField(Field) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- rejectStaticMethod(Method) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- reset(Collection<? extends Whitelist>) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist
- restricted() - Element in annotation type org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.Whitelisted
-
True to only whitelist this member when invoked by an actual user.
- run(GroovyShell, String, Whitelist) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
- run(Script, Whitelist) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
-
Deprecated.
- runInSandbox(Runnable, Whitelist) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
-
Deprecated.
- runInSandbox(Callable<V>, Whitelist) - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
-
Deprecated.
- runScript(GroovyShell, String) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
-
Compiles and runs a script within the sandbox.
S
- script - Variable in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingScript
- ScriptApproval - Class in org.jenkinsci.plugins.scriptsecurity.scripts
-
Manages approved scripts.
- ScriptApproval() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- ScriptApproval_AdminUserAlert() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApproval.AdminUserAlert
:<b>Sandbox is enabled globally in the system.</b><br />
. - ScriptApproval_ForceSandBoxMessage() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApproval.ForceSandBoxMessage
:Running scripts out of the sandbox is not allowed in the system
. - ScriptApproval_PipelineMessage() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApproval.PipelineMessage
:A Jenkins administrator will need to approve this script before it can be used
. - ScriptApproval_SandboxCantBeDisabled() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApproval.SandboxCantBeDisabled
:Sandbox cannot be disabled. This Jenkins instance has been configured to not allow regular users to disable the sandbox in the system
. - ScriptApproval.ApprovedClasspathEntry - Class in org.jenkinsci.plugins.scriptsecurity.scripts
-
Approved classpath entry.
- ScriptApproval.ApprovedWhitelist - Class in org.jenkinsci.plugins.scriptsecurity.scripts
- ScriptApproval.FormValidationPageDecorator - Class in org.jenkinsci.plugins.scriptsecurity.scripts
- ScriptApproval.PendingClasspathEntry - Class in org.jenkinsci.plugins.scriptsecurity.scripts
-
A classpath entry requiring approval by an administrator.
- ScriptApproval.PendingScript - Class in org.jenkinsci.plugins.scriptsecurity.scripts
- ScriptApproval.PendingSignature - Class in org.jenkinsci.plugins.scriptsecurity.scripts
- ScriptApproval.PendingThing - Class in org.jenkinsci.plugins.scriptsecurity.scripts
- ScriptApprovalLink - Class in org.jenkinsci.plugins.scriptsecurity.scripts
- ScriptApprovalLink() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApprovalLink
- ScriptApprovalLink_dangerous(Object) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApprovalLink.dangerous
:{0} approved dangerous signatures
. - ScriptApprovalLink_outstandingClasspath(Object) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApprovalLink.outstandingClasspath
:{0} classpath entries pending approval
. - ScriptApprovalLink_outstandingScript(Object) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApprovalLink.outstandingScript
:{0} scripts pending approval
. - ScriptApprovalLink_outstandingSignature(Object) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApprovalLink.outstandingSignature
:{0} signatures pending approval
. - ScriptApprovalNote - Class in org.jenkinsci.plugins.scriptsecurity.scripts
-
Offers a link to
ScriptApproval
. - ScriptApprovalNote_message() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApprovalNote.message
:Administrators can decide whether to approve or reject this signature.
. - ScriptApprovalNote.DescriptorImpl - Class in org.jenkinsci.plugins.scriptsecurity.scripts
- ScriptApprovalNoteForceSandBox_message() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApprovalNoteForceSandBox.message
:Script signature is not in the default whitelist.
. - searchKeyFor(String) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingClasspathEntry
- SecureGroovyScript - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.groovy
-
Convenience structure encapsulating a Groovy script that may either be approved whole or sandboxed.
- SecureGroovyScript(String, boolean) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript
-
Deprecated.
- SecureGroovyScript(String, boolean, List<ClasspathEntry>) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript
- SecureGroovyScript.DescriptorImpl - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.groovy
- setApprovedScriptHashes(String[]) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- setApprovedSignatures(String[]) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- setDangerous(boolean) - Method in exception org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException
-
You may set this flag if you think it would be a security risk for this signature to be approved.
- setForceSandbox(boolean) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
- setOldPath(String) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
- setOldScript(String) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript
- setShouldBeApproved(boolean) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
- shouldHideSandbox(SecureGroovyScript) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript.DescriptorImpl
- shouldHideSandbox(T, Predicate<T>) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
All sandbox checkboxes in the system should confirm their visibility based on this flag.
It depends on the current sandbox value in the affected instance andScriptApproval.isForceSandboxForCurrentUser()
- signature - Variable in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.PendingSignature
- Signature() - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.Signature
- staticFieldSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- staticFieldSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- staticMethodSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist
- staticMethodSignatures() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- StaticWhitelist - Class in org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
-
Whitelist based on a static file.
- StaticWhitelist(Reader) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- StaticWhitelist(String...) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- StaticWhitelist(Collection<? extends String>) - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- stockWhitelists() - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist
- SystemCommandLanguage - Class in org.jenkinsci.plugins.scriptsecurity.scripts.languages
-
Language for launched processes, as per
Util.tokenize(String)
andProcessBuilder
. - SystemCommandLanguage() - Constructor for class org.jenkinsci.plugins.scriptsecurity.scripts.languages.SystemCommandLanguage
T
- toString() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.FieldSignature
- toString() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.MethodSignature
- toString() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.NewSignature
- toString() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.EnumeratingWhitelist.Signature
-
Form as in
StaticWhitelist
entries. - toString() - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist
- toString() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry
U
- UnapprovedClasspathException - Exception in org.jenkinsci.plugins.scriptsecurity.scripts
-
Exception thrown by
ScriptApproval.using(ClasspathEntry)
. - UnapprovedUsage_ForceSandBox() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
UnapprovedUsage.ForceSandBox
:Running scripts out of the sandbox is not allowed in the system
. - UnapprovedUsage_NonApproved() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
UnapprovedUsage.NonApproved
:script not yet approved for use
. - UnapprovedUsageException - Exception in org.jenkinsci.plugins.scriptsecurity.scripts
- using(String, Language) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Called when a script is about to be used (evaluated).
- using(ClasspathEntry) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
Asserts that a classpath entry is approved.
V
- validateSandbox(boolean) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval
-
All describable containing the Sandbox flag should invoke this method before saving.
It will confirm if the current user can persist the information in case the sandbox flag is disabled.
W
- Whitelist - Class in org.jenkinsci.plugins.scriptsecurity.sandbox
-
Determines which methods and similar members which scripts may call.
- Whitelist() - Constructor for class org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
- Whitelisted - Annotation Type in org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists
-
Marks a member as being whitelisted by default for purposes of sandboxed scripts.
- withApprovalContext(ApprovalContext) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
-
Specify an approval context.
- withCurrentUser() - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalContext
-
Creates a context with the user associated with the current thread.
- withItem(Item) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalContext
-
Associates an item with this approval, used only for display purposes.
- withItemAsKey(Item) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalContext
-
Associates an item with this approval for display, as well as setting a unique key based on the
Item.getFullName()
which would cancel any previous approvals for the same item. - withKey(String) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalContext
-
Associates a unique key with this approval.
- withTaskListener(TaskListener) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
-
Specify a place to print messages.
- withUser(String) - Method in class org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalContext
-
Creates a context with a specified user ID.
- withWhitelist(Whitelist) - Method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox
-
Specify a whitelist.
_
- _ClasspathEntry_path_noDirsAllowed() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ClasspathEntry.path.noDirsAllowed
:Class directories are not allowed as classpath entries.
. - _ClasspathEntry_path_notApproved() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ClasspathEntry.path.notApproved
:This classpath entry is not approved. Require an approval before execution.
. - _ClasspathEntry_path_notExists() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ClasspathEntry.path.notExists
:Specified path does not exist
. - _GroovySandbox_useOfInsecureRunOverload() - Static method in class org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.Messages
-
Key
GroovySandbox.useOfInsecureRunOverload
:GroovySandbox.run(Script, Whitelist) is insecure and deprecated. GroovySandbox.run(GroovyShell, String, Whitelist) should be used instead.
. - _ScriptApproval_AdminUserAlert() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApproval.AdminUserAlert
:<b>Sandbox is enabled globally in the system.</b><br />
. - _ScriptApproval_ForceSandBoxMessage() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApproval.ForceSandBoxMessage
:Running scripts out of the sandbox is not allowed in the system
. - _ScriptApproval_PipelineMessage() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApproval.PipelineMessage
:A Jenkins administrator will need to approve this script before it can be used
. - _ScriptApproval_SandboxCantBeDisabled() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApproval.SandboxCantBeDisabled
:Sandbox cannot be disabled. This Jenkins instance has been configured to not allow regular users to disable the sandbox in the system
. - _ScriptApprovalLink_dangerous(Object) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApprovalLink.dangerous
:{0} approved dangerous signatures
. - _ScriptApprovalLink_outstandingClasspath(Object) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApprovalLink.outstandingClasspath
:{0} classpath entries pending approval
. - _ScriptApprovalLink_outstandingScript(Object) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApprovalLink.outstandingScript
:{0} scripts pending approval
. - _ScriptApprovalLink_outstandingSignature(Object) - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApprovalLink.outstandingSignature
:{0} signatures pending approval
. - _ScriptApprovalNote_message() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApprovalNote.message
:Administrators can decide whether to approve or reject this signature.
. - _ScriptApprovalNoteForceSandBox_message() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
ScriptApprovalNoteForceSandBox.message
:Script signature is not in the default whitelist.
. - _UnapprovedUsage_ForceSandBox() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
UnapprovedUsage.ForceSandBox
:Running scripts out of the sandbox is not allowed in the system
. - _UnapprovedUsage_NonApproved() - Static method in class org.jenkinsci.plugins.scriptsecurity.scripts.Messages
-
Key
UnapprovedUsage.NonApproved
:script not yet approved for use
.
All Classes and Interfaces|All Packages|Serialized Form
GroovySandbox.enter()
.