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

Run a remediation action against a threat on the endpoints it affected.

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-9d8facb2-9105-ae15-b214-6775cac4dca8.html).

## Basic Parameters

| Parameter | Description |
| - | - |
| Action | The remediation action to run against the threat. **For example:** `StopAndRemove`. |
| Affected Host IDs | A comma-separated list of the IDs of the affected hosts to run the action on. |
| Process Name | The name of the process to run the action on. |
| Threat ID | The ID of the threat to remediate. Can be obtained using the `List Threats` 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": "threatRemediation",
		"id": "tr-5432",
		"attributes": {
			"success": [
				{
					"status": "200",
					"message": "in-progress",
					"affectedHostIds": [
						"99848"
					]
				}
			],
			"failed": [
				{
					"status": "404",
					"message": "Not Found",
					"affectedHostIds": [
						"99849"
					]
				}
			]
		},
		"links": {
			"self": "/edr/v2/remediation/queue-jobs/tr-5432"
		}
	}
}
```

## Workflow Library Example

[Remediate Threat with Trellix Edr and Send Results Via Email](https://library.blinkops.com/workflows/remediate-threat-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-threat-with-trellix-edr-and-send-results-via-email/canvas](https://library.blinkops.com/workflows/remediate-threat-with-trellix-edr-and-send-results-via-email/canvas)
