Repository navigation
Open
Description
Background
The Scriptable engine change for ADO Bug 744282 has merged in oi-eng/PangaeaAppliance#19669, merge commit 40789f63e7056d8ac60d6b2bd1493dbdea224709, targeting bugfix_c27_w3.
It adds an optional script-facing Send.ShellCommand boolean. This is the post-merge contract synchronization follow-up requested for this change.
Required updates
- Add optional
ShellCommandto the Send component inschema/custom-platform-script.schema.json, type boolean, default false. Existing scripts omitting it must remain valid; reject non-boolean values. - Document the flag in the authoring reference and
docs/agent-reference/rsms-engine-map.md, with source citations to the merged engine implementation. - Update suitable samples to show
ShellCommand: trueonly for complete shell commands. Password responses and other interactive program input must remain unmarked/false. - Add schema validation coverage for omitted/true/false values and invalid non-booleans; run existing schema/sample checks.
Engine semantics to preserve accurately
- The bounded policy applies to the built-in
SolarisSshplatform, not all SSH connections or arbitrary custom platforms. Other platforms retain existing send behavior; setting this flag does not by itself enable the Solaris policy. - On SolarisSsh, oversized marked commands are reconstructed from literal, acknowledged chunks and evaluated once in the same shell, preserving shell variables and existing sudo/password conversation handling.
- The physical terminal input bound is 230 UTF-8 bytes including EOL and quoting overhead. Outbound command text including
Send :stays below 240 characters (excluding log metadata and received output). - Oversized unmarked input is rejected before transmission. Interactive/password data is never evaluated as a command; existing secret redaction must remain intact.
Authoritative sources
Paths in oi-eng/PangaeaAppliance at the merge commit above:
src/Service/Rsms/Modules/Modules/Scriptable/Components/Send/SendComponentModel.cssrc/Service/Rsms/Modules/Modules/Scriptable/Components/Send/SendComponent.cssrc/Service/Rsms/Modules/Modules/Scriptable/Support/Net/Ssh/BoundedShellCommand.cssrc/Service/Rsms/Modules/Modules/Scriptable/README.md
This issue is for authoring/schema/documentation alignment, not a new engine implementation or a claim that Solaris 10 acceptance has completed.
Metadata
Metadata
Assignees
Labels
No labels
Activity