> ## 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).

## Basic Parameters

| Parameter | Description |
| - | - |
| Action | The remediation action to run on the search results. **For example:** `killProcess`. Custom reactions are prefixed with an underscore. |
| Action Inputs | A JSON array of the name-value pairs required by the action.         **For example:** <pre>`[  {    "name": "pid",    "value": "23451"  }]`</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. |

## Advanced Parameters

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

## 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)

![Workflow Library](https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max\&auto=format\&n=ojHYuDeYX5FWuN8a\&q=85\&s=b8af968e71438a9499c3223c9bd29fb2)

Preview this Workflow on desktop

[https://library.blinkops.com/workflows/remediate-search-results-with-trellix-edr-and-send-results-via-email/canvas](https://library.blinkops.com/workflows/remediate-search-results-with-trellix-edr-and-send-results-via-email/canvas)
