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

## Basic Parameters

<div className="integrations-table">
  | Parameter         | Description                                                                                    |
  | ----------------- | ---------------------------------------------------------------------------------------------- |
  | Action            | The remediation action to run against the threat.<br /><br />**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.                                                  |
</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": "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)

<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-threat-with-trellix-edr-and-send-results-via-email/canvas" />
</div>
