---
title: "GET /audit/mitigationactions/executions#taskId&findingId"
method: GET
path: "/audit/mitigationactions/executions#taskId&findingId"
---

# GET /audit/mitigationactions/executions#taskId&findingId

`GET /audit/mitigationactions/executions#taskId&findingId`

Gets the status of audit mitigation action tasks that were executed.

Requires permission to access the [ListAuditMitigationActionsExecutions](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action.

## Query parameters

- `taskId` string, required
- `actionStatus` 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'CANCELED' | 'SKIPPED' | 'PENDING'
- `findingId` string, required
- `maxResults` integer
- `nextToken` string

## Response `200`

Success

- ListAuditMitigationActionsExecutionsResponse
  - `actionsExecutions` AuditMitigationActionExecutionMetadata[] — A set of task execution results based on the input parameters. Details include the mitigation action applied, start time, and task status.
    - `taskId` string — The unique identifier for the task that applies the mitigation action.
    - `findingId` string — The unique identifier for the findings to which the task and associated mitigation action are applied.
    - `actionName` string — The friendly name of the mitigation action being applied by the task.
    - `actionId` string — The unique identifier for the mitigation action being applied by the task.
    - `status` 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'CANCELED' | 'SKIPPED' | 'PENDING' — The current status of the task being executed.
    - `startTime` string, date-time — The date and time when the task was started.
    - `endTime` string, date-time — The date and time when the task was completed or canceled. Blank if the task is still running.
    - `errorCode` string — If an error occurred, the code that indicates which type of error occurred.
    - `message` string — If an error occurred, a message that describes the error.
  - `nextToken` string — The token for the next set of results.

## Other responses

- `480` — InvalidRequestException
- `481` — ThrottlingException
- `482` — InternalFailureException

---

[API](https://skmtc.net/aws/apis/iot.md) · [All operations](https://skmtc.net/aws/apis/iot/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/iot/revisions/deef5c4b09f0/schema)
