Skip to content

RUN-4579: Document sshExportQuoting control - #1951

Open
ronaveva wants to merge 1 commit into
4.0.xfrom
RUN-4579-docs-ssh-export-quoting
Open

RUN-4579: Document sshExportQuoting control#1951
ronaveva wants to merge 1 commit into
4.0.xfrom
RUN-4579-docs-ssh-export-quoting

Conversation

@ronaveva

@ronaveva ronaveva commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new system control rundeck.execution.sshExportQuoting (product PR rundeck/rundeck#10534).

When enabled, values exported to remote nodes via a node's ssh-variable-export-pattern are POSIX shell-quoted, preventing command injection through job option values (RUN-4579). Opt-in, default off, system-level.

Changes

  • docs/administration/configuration/config-file-reference.md — new "SSH Exported Variable Quoting" subsection under Security: property table, opt-in/default-off semantics, that only whitespace/metacharacter-bearing values are quoted, and that patterns must reference {value} without surrounding quotes.

Scope note: only the new property is documented. The pre-existing ssh-variable-export-pattern node attribute is referenced for context but not newly documented here.

🤖 Generated with Claude Code

Add a Security-section entry for rundeck.execution.sshExportQuoting (opt-in,
default off, system-level): when enabled, values exported to remote nodes via a
node's ssh-variable-export-pattern are POSIX shell-quoted to prevent command
injection through option values. Documents the default, opt-in semantics, that
only values with whitespace/metacharacters are quoted, and that patterns must
reference {value} without surrounding quotes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ronaveva
ronaveva requested review from a team and a lite review from Copilot September 1, 2026 15:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents the new system control rundeck.execution.sshExportQuoting in the Rundeck config file reference, describing how it affects SSH variable export quoting to mitigate command injection risks when exporting values (e.g., job option values) to remote nodes.

Changes:

  • Added a new SSH Exported Variable Quoting subsection under the Security area of the config reference.
  • Documented opt-in semantics (false by default), scope (system-level), and guidance for ssh-variable-export-pattern usage.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.


| Property | Default | Description |
|----------|---------|-------------|
| `rundeck.execution.sshExportQuoting` | `false` | When `true`, values interpolated into a node's `ssh-variable-export-pattern` (the `export {key}={value}` prefix prepended to the remote SSH command) are shell-quoted before dispatch. |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants