> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remediate Search Results

Run a remediation action on specific rows returned by a previous search.

Creates an asynchronous job, and returns its ID.

<Note>
  External Documentation

  To learn more, visit the [Trellix EDR documentation](https://docs.trellix.com/bundle/mvision-endpoint-detection-and-response-product-guide/page/UUID-08ec9ccf-6489-eae9-9894-d1018f32d957.html).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter     | Description                                                                                                                                                                                                                                                |
  | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Action        | The remediation action to run on the search results.<br /><br />**For example:** `killProcess`. Custom reactions are prefixed with an underscore.                                                                                                          |
  | Action Inputs | A JSON array of the name-value pairs required by the action.<br />        <br />**For example:**<br /><pre><code>\[<br />  \{<br />    "name": "pid",<br />    "value": "23451"<br />  }<br />]</code></pre>The valid names depend on the selected action. |
  | Row IDs       | A comma-separated list of the IDs of the search result rows to run the action on.                                                                                                                                                                          |
  | Search ID     | The ID of the search that returned the rows. Can be obtained using the `Create Historical Search` action.                                                                                                                                                  |
  | Type          | The type of the resource in the request body.                                                                                                                                                                                                              |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter    | Description                                                                            |
  | ------------ | -------------------------------------------------------------------------------------- |
  | MVEDR Source | The region or source of the event data.<br /><br />**For Example:** `xdrsoar:us-west`. |
  | Trace ID     | A tracking header, in the format: `workflow-id:task/step-id`.                          |
</div>

## Example Output

```json theme={"dark"}
{
	"data": {
		"type": "searchRemediation",
		"id": "sr-9132",
		"attributes": {
			"success": [
				{
					"status": "200",
					"message": "in-progress"
				}
			],
			"failed": [
				{
					"status": "500",
					"message": "Internal Server Error while submitting the remediation request"
				}
			]
		},
		"links": {
			"self": "/edr/v2/remediation/queue-jobs/sr-9132"
		}
	}
}
```

## Workflow Library Example

[Remediate Search Results with Trellix Edr and Send Results Via Email](https://library.blinkops.com/workflows/remediate-search-results-with-trellix-edr-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/remediate-search-results-with-trellix-edr-and-send-results-via-email/canvas" />
</div>
