[EDR Workflows] CrowdStrike RunScript: Log Actions and UI Output#204044
Merged
tomsonpl merged 18 commits intoelastic:mainfrom Dec 17, 2024
Merged
[EDR Workflows] CrowdStrike RunScript: Log Actions and UI Output#204044tomsonpl merged 18 commits intoelastic:mainfrom
tomsonpl merged 18 commits intoelastic:mainfrom
Conversation
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
|
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
Contributor
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
cc @tomsonpl |
Contributor
|
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/12376598966 |
Contributor
💔 All backports failedManual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
Contributor
Author
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
tomsonpl
added a commit
to tomsonpl/kibana
that referenced
this pull request
Dec 18, 2024
…stic#204044) (cherry picked from commit a7addba)
tomsonpl
added a commit
that referenced
this pull request
Dec 18, 2024
#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":"tomasz.ciecierski@elastic.co"},"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-->
JoseLuisGJ
pushed a commit
to JoseLuisGJ/kibana
that referenced
this pull request
Dec 19, 2024
benakansara
pushed a commit
to benakansara/kibana
that referenced
this pull request
Jan 2, 2025
viduni94
pushed a commit
to viduni94/kibana
that referenced
this pull request
Jan 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR enhances CrowdStrike RTR functionality by refining command support, improving the UI, and aligning with CrowdStrike prerequisites for handling
runscriptcommands.Key Changes
Save Action and Response:
Fix
--RawParameter Handling:--Rawparameter 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:ExecuteActionHostResponseas the output component for therunscriptcommand, which meets current requirements effectively.History Log:
runscriptresults in the history log for better traceability.Removed
overwriteUrlFlag:overwriteUrlfunctionality since it is safer to always use the admin permissions URL for therunscriptcommand.Rename API Parameters:
CapitalCasetocamelCase- thanks @szwarckonrad for making the suggestion:Raw→rawCloudFile→cloudFileHostPath→hostPathCommandLine→commandLineTimeout→timeoutUI
Previous Steps
Next Steps