View a markdown version of this page

Remediation tasks - AWS Assurance

Remediation tasks

A remediation task records one readiness gap that an assessment found in your environment. When AWS Assurance evaluates a control and determines that a requirement of that control is not met, it creates a task for that requirement. The task tells you which control and which requirement is affected, and what you need to do to close the gap.

AWS Assurance creates and closes remediation tasks for you. You do not create tasks, and you do not delete them. Instead, you work the tasks that an assessment produces: you set a priority and a due date, you move a task through its statuses as you make progress, and you run the assessment again so that AWS Assurance can verify your work and close the task. For more information about assessments, see Assessments.

Tasks are available in the AWS Assurance off-console web application and through the chat agent. You can see the tasks for a single control on the control page, and the tasks for all of your frameworks on the Actions page, also called the Action Center. For how to open the web application, see Signing in to the web application.

How AWS Assurance generates tasks

AWS Assurance generates remediation tasks at the end of an assessment, when it publishes the results for a control. It evaluates every requirement of that control against the evidence and scan findings that it gathered. It then creates one technical task for each requirement whose status is not met or partially met.

The unit of work is the requirement, not the control. A control that decomposes into four requirements can produce up to four separate tasks, so that you can track each gap and each remediation independently. AWS Assurance maintains exactly one open task per requirement. If a duplicate task exists for the same requirement, AWS Assurance keeps one task and cancels the others.

AWS Assurance creates two types of task:

  • Document task – Created when a control needs a document that you haven’t provided yet, or when one or more of the control’s requirements can’t be assessed (unable_to_assess) with the evidence that AWS Assurance has. A control has at most one Document task, and AWS Assurance closes it when neither case applies. The web application labels it Document and lists it on the Document related tasks tab.

  • Technical task – Created for each requirement that isn’t met or is only partly met, with steps to fix it. The web application labels it Technical and lists it on the Technical tasks tab. For a resource gap, the task names the resources to fix.

For more information, see Task types.

Each task belongs to one control in one framework version, in one project, in one environment. That linkage is fixed when AWS Assurance creates the task and does not change. Because the task identifier is derived from the control and the requirement, you can trace any task back to the exact requirement that produced it. The created-by value for every task is Assurance, because AWS Assurance creates all tasks.

Task status values

A task has one of four statuses. AWS Assurance creates every task with the status Open.

Status Label in the web application Meaning

OPEN

Open

The gap is still open. Either you have not started the remediation, or AWS Assurance has not yet verified it.

PENDING

Review

You finished the remediation and want AWS Assurance to verify it. The next assessment of the control resolves the task, whether you start the assessment or it runs automatically. Moving a task to Review doesn’t start an assessment. To verify right away, choose Run assessment.

COMPLETED

Completed

The gap is resolved. An assessment found the requirement met, or you marked the task complete.

CANCELLED

Cancelled

The task no longer applies. You cancelled it, an assessment found that it does not apply, or you marked it as not applicable.

You can move a task from any status to any other status. AWS Assurance does not enforce an order, so you can move a task directly from Open to Completed, or reopen a task that you previously cancelled.

On the Actions page, the Open status filter shows tasks with the status Open or Review. The Completed and Cancelled filters show tasks with those statuses. You can also filter tasks by priority.

The task progress indicator counts only tasks that are not cancelled. It counts a task as verified only when the task has the status Completed. Tasks in Review appear as a separate in-review portion of the indicator and do not count as verified until an assessment confirms the remediation.

Note

When you work with tasks through the AWS Assurance chat agent, the status changes you can make are limited: the agent can move a task to Review or Cancelled only. It cannot complete or reopen a task. For more information, see Chat agent.

How later assessments update tasks

Every time AWS Assurance publishes results for a control, it reconciles the existing tasks for that control against the new results. This is how a task closes, and how a task comes back.

The following table describes what AWS Assurance does to an existing task, based on what the new assessment finds.

What the assessment finds What AWS Assurance does to the task

The requirement is now met.

Sets the task to Completed, from any other status, including Cancelled.

The requirement no longer applies to your environment.

Sets the task to Cancelled, unless the task is already Completed or Cancelled.

The requirement is still a gap.

Sets the task to Open, and replaces the task title and description with the text from the new assessment.

The requirement is no longer part of the control.

Sets the task to Cancelled, unless the task is already Completed or Cancelled.

The control now passes every requirement.

Sets every remaining task for the control to Completed.

Two consequences of this behavior are important to how you use tasks:

  • Assessments decide a task’s status. If you complete a task but the next assessment still finds the gap, AWS Assurance reopens the task. If you cancel a task but the next assessment finds the requirement met, AWS Assurance completes the task.

  • Running the assessment is how you finish a task that is in Review. When the only remaining work for a control is in review, the web application changes the assessment button to Run assessment to finish review.

Because AWS Assurance replaces the title and description when it reopens a task, record any notes you want to keep in the task comments rather than in the task description.

Edit a task

You can change the following fields on a task:

  • Status – Choose any of the four statuses. Use Review to indicate that you finished the remediation and want AWS Assurance to verify it on the next assessment.

  • Priority – Choose High, Medium, or Low. The AI evaluator sets the priority of each technical task, based on how much of the control is met. Document tasks are always High. Later assessments don’t change the priority of an open task, but you can change it at any time.

  • Due date – Set the date by which you intend to close the gap. Changing the priority of an existing task does not change its due date.

The task title and the task description come from the assessment and are read-only. If you try to change them, the request fails with an access-denied error, and the message states that the field is set by the assessment.

The task identifier, control, framework, framework version, project, and environment identify the task and do not change.

To change the status of a task, use the status control on the task row or the task detail page. To change the priority or due date, open the task and edit those fields.

When AWS Assurance creates a task, it sets a default due date from the priority: 30 days for High, 3 months for Medium, and 6 months for Low. When an assessment reopens a completed or cancelled task, the task gets a new priority and a new default due date.

Task history

AWS Assurance records an entry in the task history every time a task is created or updated. Each entry includes:

  • A summary of the change, such as Created task: <title> or Updated fields: priority, dueDate.

  • Who made the change. Entries read Customer for changes you make, and Assessment <assessment ID> for changes an assessment makes.

  • The time of the change.

History entries appear newest first.

Note

Task history shows which fields changed and who changed them, but not the earlier or new values. To keep a record of why a change was made, such as a due-date extension, add a task comment.

AWS Assurance writes a history entry even when an update changes nothing. That entry reads No fields changed.

Task comments

You can add comments to a task to record context that the task fields do not capture, such as the change record for a remediation or a reason for a due-date extension. A comment can also apply to a control rather than to a single task, in which case it appears with the control instead of with one of its tasks.

AWS Assurance records the identity of the comment author from your sign-in credentials. You cannot set the author. Only the author of a comment can edit or delete it. A comment can contain up to 4,096 characters.

Because AWS Assurance replaces the title and description of a task when it reopens the task, use comments for anything you need to persist across assessment runs.

Permissions for tasks

Access to tasks follows the access controls of the project that the task belongs to. You need the following IAM actions:

  • To view tasks, task history, and comments – assurance:GetTask, assurance:BatchGetTask, assurance:ListTasks, assurance:ListTaskHistory, assurance:GetComment, assurance:BatchGetComment, and assurance:ListComments.

  • To change a task and to add, edit, and delete comments – assurance:UpdateTask, assurance:CreateComment, assurance:UpdateComment, and assurance:DeleteComment.

If you sign in with IAM Identity Center, your permission set must also allow these actions. The View assessments permission covers viewing, and the Run assessments permission also covers changes. For more information, see Identity and access management for AWS Assurance and Controlling web application access with permission sets.