View a markdown version of this page

Getting started with AWS Assurance - AWS Assurance

Getting started with AWS Assurance

This chapter explains how AWS Assurance works, and then walks you through creating your first environment and running your first assessment.

How AWS Assurance works

AWS Assurance consists of two main components.

AWS Management Console

You configure the environment in the AWS Management Console, where you can do the following:

  • Create the environment. Enter a name and, optionally, a custom domain prefix for your web application URL, https://prefix.assurance.region.app.aws.

  • Choose the AWS Regions to evaluate, and, for an organization, turn on trusted access.

  • Choose how AWS Assurance encrypts your evidence at rest.

  • Set up the Operator access role and, if you use IAM Identity Center, the Identity Center role. AWS Assurance creates the service-linked role that scans your resources.

  • (Optional) Enable AWS IAM Identity Center (IAM Identity Center) for user sign-in.

  • Assign permission sets to control what each user can do in the web application. For more information, see Controlling web application access with permission sets.

This is a one-time setup. After you configure the environment, you rarely return to the AWS Management Console for AWS Assurance.

AWS Assurance web application

Day-to-day compliance readiness work happens in the AWS Assurance off-console web application. How you open it depends on how you sign in:

  • IAM credentials (the default) – On the environment page in the AWS Management Console, choose Operator access. AWS Assurance signs you in with temporary credentials from the Operator access role.

  • IAM Identity Center (optional) – On the environment page, choose Open environment. You can also open the web application from your AWS access portal, or use its URL directly, without signing in to the AWS Management Console.

In the web application, you do the following:

  • Create projects – Group the resources that you want to audit together by filtering on service, resource type, account, Region, or tag. Each project has its own frameworks and readiness scores.

  • Enable frameworks – Select which compliance frameworks to assess each project against.

  • Run assessments – Evaluate controls at the framework level or the individual control level. AWS Assurance scans your resources for Automated scan controls, and asks you to upload documents for Hybrid and Document controls.

  • Work through tasks – The Action Center lists your remediation tasks. Upload documents or apply technical fixes.

  • Ask questions – Use the chat agent to get answers about your compliance readiness, investigate findings, or get remediation help.

  • View compliance readiness – Review readiness scores and historical trends, and drill down to individual controls and evidence.

Assessment flow

  1. Resource discovery – AWS Assurance discovers the in-scope resources in your accounts.

  2. Evidence collection – AWS Assurance collects configuration data, logs, and findings from your AWS environment.

  3. Technical control evaluation – AWS Assurance evaluates Automated scan controls against the collected evidence.

  4. Non-technical control evaluation – For Document and Hybrid controls, AWS Assurance asks you to upload policies or procedures. It then evaluates whether your documents meet the framework requirements.

  5. Task generation – AWS Assurance creates tasks with remediation recommendations for the gaps that it finds.

  6. Reassessment – After you resolve tasks, choose Run assessment to confirm that the requirements are met. If you don’t, AWS Assurance picks up your changes automatically, based on the framework’s assessment mode:

    • Daily – In the next daily assessment.

    • Continuous – When AWS Assurance detects the change. A change to an in-scope resource reassesses the Automated scan and Hybrid controls that evaluate the resource. A change to the evidence linked to any control reassesses that control. Continuous mode doesn’t run a daily assessment, so run an assessment yourself to pick up other changes, such as a change to a task’s status.

Setting up your environment

Complete these steps once in the AWS Management Console before you use the web application. Before you begin, complete the prerequisites in Setting up AWS Assurance.

Step 1: Open AWS Assurance in the AWS Management Console

Navigate to the AWS Assurance service page in the AWS Management Console, in the AWS Region that you want to use.

Step 2: Create your environment

Charges

Creating an environment doesn’t incur charges. Assessments use Assurance Processing Units (APUs), which you pay for. For more information, see Pricing.

Choose Create environment. Then choose a setup mode. Fast create uses recommended defaults, and Manual setup lets you choose each setting. With Manual setup, complete the following settings:

  1. Environment details – Enter a name, and optionally a custom domain prefix for your web application URL. You can’t change the prefix after you create the environment. If you leave it blank, AWS Assurance uses the environment ID. A prefix has 3–64 lowercase letters, digits, and hyphens. It starts with a letter, ends with a letter or digit, and can’t be a reserved word, such as admin.

  2. Encryption – Choose how AWS Assurance encrypts evidence at rest: SSE-S3, or SSE-KMS with a customer managed key in the same AWS Region.

  3. Service role – AWS Assurance creates the service-linked role AWSServiceRoleForAssurance with the permissions that it needs. You don’t configure this role.

  4. Operator access role – Create a new IAM role (recommended), or choose an existing role. This role opens the web application from the AWS Management Console for users who sign in with IAM credentials.

  5. Regions – Select the AWS Regions where AWS Assurance evaluates resources. If you leave this empty, AWS Assurance evaluates every Region where it’s generally available in the partition, including Regions that it adds later. If you select Regions, AWS Assurance evaluates only those. You can change the Regions later. For how AWS Assurance handles resources that aren’t in a Region, see Global resources and Region filters.

  6. IAM Identity Center – (Optional) Connect an IAM Identity Center instance in the same AWS Region so that your users can sign in with single sign-on, and create or choose the Identity Center role. AWS Assurance creates the IAM Identity Center application.

  7. AWS Organizations – (Optional) From the management account, turn on trusted access so that AWS Assurance evaluates the member accounts in your organization.

  8. Tags – (Optional) Add tags to the environment.

Then choose Create environment.

Step 3: (Optional) Add other AWS accounts

To evaluate resources in an account that isn’t part of an organization environment, choose Invite account in the Invited accounts section of the environment page. In each invited account, an administrator opens Invitations in the AWS Assurance AWS Management Console and accepts the invitation. AWS Assurance creates the service-linked role in that account and includes its resources in assessments. For details, see Setting up a cross-account connection.

If your accounts are in AWS Organizations, use an organization environment instead. An environment can use cross-account connections or organization scope, but not both.

Step 4: Open the web application

On the environment page, open the AWS Assurance off-console web application:

  • IAM credentials – Choose Operator access. The web application opens in a new tab.

  • IAM Identity Center – Choose Open environment, or open the web application from your AWS access portal. You can bookmark the web application URL.

Running your first assessment

This tutorial walks you through your first experience in the AWS Assurance web application, after setup is complete.

Step 1: Create a project

Projects let you scope resources for independent auditing.

  1. Choose Create project.

  2. Enter a name for the project.

  3. Scope resources by service, resource type, AWS account, AWS Region, or tag. AWS Assurance discovers matching resources automatically and streams them into a live preview as you refine the scope.

  4. Select one or more frameworks. For each framework, choose an assessment mode: Daily runs once a day, and Continuous reassesses when AWS Assurance detects a change. For more information, see Choosing an assessment mode.

  5. Choose Create project.

You can create multiple projects in one environment, and the same resources can belong to multiple projects.

Step 2: Review your enabled frameworks

  1. In the navigation pane, choose Compliance Readiness, and then choose the Frameworks tab.

  2. Choose an enabled framework to see its description, compliance readiness score, historical trend, and controls.

To add another framework later, choose Enable on it.

Step 3: Run your first assessment

  1. Choose any control.

  2. Review the control description and its atomic requirements.

  3. Choose Run assessment.

What happens next depends on the control type:

  • Automated scan – AWS Assurance scans your resources. You don’t need to do anything.

  • Document – Upload the required policy or procedure on the control page, or attach it in the chat agent. AWS Assurance evaluates the document against the control’s requirements. If a document is missing, AWS Assurance creates a document task in the Action Center. For more information, see Uploading evidence in the web application.

  • Hybrid – AWS Assurance scans what it can, and asks you to upload documentation for the remaining requirements.

Step 4: Review assessment results

After your assessment completes, review how AWS Assurance evaluated each atomic requirement and which evidence it used. For how to open the results, see Reviewing assessment results.

The control’s readiness status is Finished, Needs Attention, or N/A. If the status is Needs Attention, AWS Assurance creates tasks in the Action Center. The framework’s compliance readiness score updates on the Compliance Readiness page.

Step 5: Work through tasks

  1. In the navigation pane, choose Actions to open the Action Center and see your tasks.

  2. Complete each task according to its type. Upload the required document for a document task, or apply the fix for a technical task.

After you resolve the tasks for a control, choose Run assessment on the control to update its readiness status. If the framework uses Continuous mode, AWS Assurance reassesses the control automatically when you fix an in-scope resource or change the evidence that’s linked to the control. A task closes when its whole requirement is met. A partial fix can update a task without closing it.

Step 6: (Optional) Create a custom framework

  1. Choose Create, and then choose Create a new framework.

  2. Upload a framework document file (.pdf, .docx, .xlsx, .csv, or .json), or enter the controls yourself. You can also ask the chat agent to build the framework from a document.

  3. If you uploaded a document, review the extracted controls, and edit them if needed.

  4. Publish the framework. You can enable only a published framework in a project.

  5. Enable the framework in your project.

For more information, see Custom framework lifecycle and Custom frameworks and controls.

Step 7: Clean up

AWS Assurance keeps assessing the frameworks that you enabled, and each assessment uses APUs, which you pay for. When you finish evaluating AWS Assurance, delete what you created in this tutorial.

Deletion is permanent

Deleting a project or an environment permanently deletes its assessments, tasks, and evidence. You can’t restore them.

To clean up
  1. In the web application, open the project menu, and then choose Delete project. AWS Assurance permanently deletes the project and its data, and stops its assessments.

  2. In the AWS Assurance AWS Management Console, open the environment, and then choose Delete.

  3. In the IAM console, delete the IAM roles that you created for this tutorial, such as the Operator access role.

For more information, see Deleting an environment in AWS Assurance. To delete the service-linked role, see Deleting the service-linked role.