-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Potential Link Executor Selection #2842
Comments
Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/ |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
Describe the bug
When adding a potential link to an operation, the executor is automatically selected to be the first match between the agent's executor name and one of the ability's executor names. This can lead to the wrong platform being selected if the ability has two executors with the same name (i.e. "sh") on different platforms (i.e. "darwin" and "linux").
To Reproduce
Steps to reproduce the behavior:
pip install stormssh && storm list
)Expected behavior
Following the steps above, the pre-populated command should be the linux command:
pip install -q stormssh 2> /dev/null && storm list | sed 's/\x1b\[[0-9;]*m//g'
Reference: Parse ssh config ability file
Desktop (please complete the following information):
Fix
I have created a bug fix and will be linking my pr to this issue
The text was updated successfully, but these errors were encountered: