-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[EDR Workflows] CrowdStrike RunScript: Log Actions and UI Output #204044
Conversation
/ci |
/ci |
/ci |
/ci |
Pinging @elastic/security-defend-workflows (Team:Defend Workflows) |
# Conflicts: # x-pack/solutions/security/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/run_script_action.tsx # x-pack/solutions/security/plugins/security_solution/public/management/hooks/response_actions/use_send_run_script_endpoint_request.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM 🚀
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
cc @tomsonpl |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/12376598966 |
💔 All backports failedManual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…stic#204044) (cherry picked from commit a7addba)
#204044) (#204693) # Backport This will backport the following commits from `main` to `8.x`: - [[EDR Workflows] CrowdStrike RunScript: Log Actions and UI Output (#204044)](#204044) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Tomasz Ciecierski","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-17T15:53:03Z","message":"[EDR Workflows] CrowdStrike RunScript: Log Actions and UI Output (#204044)","sha":"a7addbadd394b33fa3212e57f55be251c1a3a371","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["v9.0.0","Team:Defend Workflows","release_note:feature","backport:version","v8.18.0"],"number":204044,"url":"https://github.com/elastic/kibana/pull/204044","mergeCommit":{"message":"[EDR Workflows] CrowdStrike RunScript: Log Actions and UI Output (#204044)","sha":"a7addbadd394b33fa3212e57f55be251c1a3a371"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204044","number":204044,"mergeCommit":{"message":"[EDR Workflows] CrowdStrike RunScript: Log Actions and UI Output (#204044)","sha":"a7addbadd394b33fa3212e57f55be251c1a3a371"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
Summary
This PR enhances CrowdStrike RTR functionality by refining command support, improving the UI, and aligning with CrowdStrike prerequisites for handling
runscript
commands.Key Changes
Save Action and Response:
Fix
--Raw
Parameter Handling:--Raw
parameter to accept both"string"
and ```multi-line strings enclosed in triple backticks```, as required by CrowdStrike for scripts with more than one word.Adjust RTR Subaction:
UI Output for
runscript
:ExecuteActionHostResponse
as the output component for therunscript
command, which meets current requirements effectively.History Log:
runscript
results in the history log for better traceability.Removed
overwriteUrl
Flag:overwriteUrl
functionality since it is safer to always use the admin permissions URL for therunscript
command.Rename API Parameters:
CapitalCase
tocamelCase
- thanks @szwarckonrad for making the suggestion:Raw
→raw
CloudFile
→cloudFile
HostPath
→hostPath
CommandLine
→commandLine
Timeout
→timeout
UI
Previous Steps
Next Steps