Control Which Plugins Are Allowed or Restricted
For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append.mdto anykestra.io/docs/*URL for plain Markdown.
Available on:Enterprise EditionCloud
Configure Kestra to allow or restrict specific plugins.
Kestra comes with the full library of official plugins by default. However, in some cases you may want to restrict which plugins are available to specific teams or users. For example, you might allow a team to use only BigQuery tasks while blocking script execution. Kestra enables this by letting you define allowlists (includes) and blocklists (excludes) in your Plugins and Execution configuration.
Matching syntax
Each entry in includes or excludes supports three formats:
- Trailing wildcard (
io.kestra.*) — matches all plugins whose class name starts with the given prefix. The trailing*is stripped and the remainder is used as a prefix. - Regex (
regex:<pattern>) — matches using a full Java regular expression. Example:regex:^io\.kestra\.plugin\.core\.flow\.Parallel$. - Plain value (
io.kestra.plugin.core.flow.Parallel) — prefix match for backward compatibility. Behaves the same as adding a trailing*. Use explicit trailing wildcard orregex:for clarity.
Allowed plugins
The includes attribute allowlists specific plugins. The following example allows all plugins from the io.kestra package:
kestra: plugins: security: includes: - io.kestra.*Restricted plugins
The excludes attribute blocklists specific plugins. The following example allows all io.kestra plugins while blocking io.kestra.plugin.core.debug.Echo:
kestra: plugins: security: includes: - io.kestra.* excludes: - io.kestra.plugin.core.debug.EchoThe regex: prefix enables more precise pattern matching, such as excluding a single plugin without prefix side-effects:
kestra: plugins: security: excludes: - regex:^io\.kestra\.plugin\.core\.flow\.Parallel$Was this page helpful?