AWS-102 · Lesson 11 of 12 · 19 min

Compliance: AWS Artifact, audit and governance

▶ Video coming soon A video version of this lesson is on the way.

In mid-November, Cascade Ridge's insurer sent its annual cyber questionnaire. It ran to eleven pages. Question 4 asked how physical access to servers holding client data was controlled. Question 7 asked whether the company's service providers held independent security certifications. Question 12 asked for evidence that data was encrypted at rest. Lorraine forwarded it to Hannah with a single line: "Can we answer this now that we are in the cloud?"

Hannah had answered the same questionnaire every year by guessing about the old server room. This year she could do better, and this lesson explains how. It covers compliance on AWS: the certifications and attestations AWS holds, where to find them with AWS Artifact, why compliance needs vary by location, industry and service, and the services that help customers govern their own side and gather evidence.

Compliance and governance

Compliance means meeting external requirements: laws, regulations, industry standards and contracts. Governance means the internal rules and processes an organization uses to direct and control its activities, including how it makes sure it stays compliant. On AWS, both follow the shared responsibility model from lesson 1. AWS demonstrates that its infrastructure and services meet many standards. The customer is responsible for how it uses those services and for showing that its own configuration, processes and people meet its obligations.

AWS compliance programs

AWS participates in a large number of compliance programs. Independent auditors assess AWS against standards, and AWS publishes the results. Some programs are global, some apply to particular countries or industries.

Examples of AWS compliance programs. Check the AWS compliance pages for the current list.
Program (examples)What it covers
SOC 1, SOC 2 and SOC 3 reportsIndependent auditor reports on AWS controls for financial reporting, security, availability and confidentiality
ISO/IEC 27001 and related standardsAn internationally recognized information security management system, with extensions for cloud security and privacy
PCI DSSSecurity requirements for handling payment card data; AWS is assessed as a service provider
HIPAA eligibilityUS health information: AWS signs a business associate agreement and lists eligible services
FedRAMP authorizationUS federal government cloud security authorization

These programs matter to Cascade Ridge in different ways. The SOC 2 and ISO 27001 reports answer the insurer's questions about the service provider's controls. PCI DSS matters because BookVet takes deposits for some procedures by card. FedRAMP is not a requirement for a private veterinary group, but it shows how AWS services are assessed for US government workloads.

AWS Artifact

AWS Artifact is the self-service portal in the AWS console where customers download AWS's compliance reports and review and accept agreements. It has two parts.

  • Artifact Reports provide on-demand access to AWS security and compliance documents, such as SOC reports, ISO certificates, PCI attestations of compliance and many regional assessments. Some reports require accepting terms that restrict how they may be shared, because they describe AWS's controls in detail.
  • Artifact Agreements let customers review, accept and manage agreements with AWS for an individual account or for all accounts in an organization, such as a business associate addendum for HIPAA workloads in the US.

Hannah downloaded the latest SOC 2 report and ISO 27001 certificate from Artifact and attached them to the insurer's questionnaire for questions 4 and 7. She wrote beside question 4: "Physical access controls for the infrastructure are performed by AWS and independently audited; see attached report." That is the shared responsibility model working as intended: an inherited control, evidenced by the provider's audit.

Diagram: three sources at the top, AWS Artifact with AWS audit reports and agreements, AWS Config with setting history and rules, and CloudTrail with who did what and when, all feed into a box labeled Audit Manager and your own policies: controls mapped to evidence. A note says AWS reports cover the AWS side; you still prove your own side.
Building audit evidence: AWS's reports for inherited controls, and the customer's own records for its controls.

Compliance needs vary

The exam guide expects candidates to understand that compliance needs differ by geography, by industry and by service.

Geography. Privacy and data protection laws differ from place to place. In the US, privacy is governed by a mix of sector laws, such as HIPAA for health care, and state laws, such as Colorado's consumer privacy law. Some laws or contracts require data to stay in a particular country. AWS lets customers choose the Regions where data is stored and does not move it out of the chosen Region without the customer's action, which is why Cascade Ridge chose US West (Oregon) and US East (Ohio).

Industry. Health care, finance, government and payments each have their own frameworks. A veterinary group is not covered by human health privacy rules, but card payments bring PCI DSS, and insurers and partners bring their own expectations.

Service. Not every AWS service is in scope for every program. AWS publishes services in scope lists for each compliance program, and a workload that must meet a standard should use services that are in scope for it. Before Kwame added a new service to the payment flow in phase two, Hannah planned to check the PCI DSS in-scope list.

Governance services

AWS provides several services that help customers govern their accounts and gather evidence for their side of the model.

Services that support governance and audit.
ServiceGovernance role
AWS OrganizationsGroups accounts, centralizes billing and applies service control policies (SCPs) that set maximum permissions for accounts
AWS Control TowerSets up and governs a multi-account environment with preconfigured guardrails, called controls, based on best practices
AWS ConfigRecords configuration history and checks resources against rules; conformance packs group rules for a standard
AWS CloudTrailProvides an audit trail of API activity for investigations and evidence
AWS Audit ManagerContinuously collects evidence from AWS services and maps it to the controls of frameworks such as PCI DSS or ISO 27001
IAM access reportsCredential reports and last-accessed information show who has access and whether they use it

Service control policies deserve a second look. An SCP attached to an account or an organizational unit sets the maximum permissions for every identity in it, including administrators. Gwen used SCPs for three organization-wide rules: deny actions outside the approved Regions, deny turning off CloudTrail or deleting its logs, and deny leaving the organization. These are governance decisions expressed as code, and no local administrator can override them.

AWS Audit Manager helps with the most time-consuming part of compliance: collecting evidence. It provides prebuilt frameworks, continuously gathers evidence such as Config rule results and CloudTrail activity, and organizes it by control, so that when an auditor asks for proof, much of it is already collected and timestamped. The exam guide also mentions access reports, which in practice means the IAM credential report from lesson 2 and the last-accessed information from lesson 4.

Python Example
# Map sample controls to the evidence Cascade Ridge holds, and who provides it.
controls = [
    ("Physical access to servers is restricted", "AWS", "SOC 2 report from AWS Artifact"),
    ("Data is encrypted at rest", "Customer", "AWS Config rule results: encrypted volumes and buckets"),
    ("Admin access requires MFA", "Customer", "Identity Center settings and IAM credential report"),
    ("Changes are logged and retained", "Customer", "Organization CloudTrail trail in the log archive account"),
    ("Storage media is destroyed securely", "AWS", "ISO 27001 certificate and SOC 2 report"),
]
for name, owner, evidence in controls:
    print(f"[{owner:8}] {name}\n           evidence: {evidence}")
print(sum(1 for c in controls if c[1] == "Customer"), "of", len(controls), "controls are proven by Cascade Ridge itself")
Output
[AWS     ] Physical access to servers is restricted
           evidence: SOC 2 report from AWS Artifact
[Customer] Data is encrypted at rest
           evidence: AWS Config rule results: encrypted volumes and buckets
[Customer] Admin access requires MFA
           evidence: Identity Center settings and IAM credential report
[Customer] Changes are logged and retained
           evidence: Organization CloudTrail trail in the log archive account
[AWS     ] Storage media is destroyed securely
           evidence: ISO 27001 certificate and SOC 2 report
3 of 5 controls are proven by Cascade Ridge itself

What this code does

It lists sample compliance controls, who is responsible for each one (AWS or the customer) and the evidence that proves it, such as an AWS audit report or the company's own logs and settings. It prints each control with its owner and evidence and then counts how many the company must prove itself. This reflects the shared responsibility model: AWS's reports cover the physical data centers, but most controls depend on how the customer configures its own accounts.

The output makes the shared model concrete. Inherited controls are proven with AWS's reports; customer controls are proven with the customer's own configuration and records. An audit needs both columns.

Answering the questionnaire

Hannah worked through the insurer's eleven pages in an afternoon, a task that used to take her a week of guesswork. Physical security and the provider's certifications: AWS's reports from Artifact. Encryption at rest: Config rule results showing every volume and bucket encrypted, plus the KMS key policy from lesson 8. Multi-factor authentication for administrators: Identity Center settings and the credential report. Logging: the organization trail and its protected bucket. Vulnerability management: Inspector's coverage report. Incident response: the plan she had been drafting since lesson 2.

Only one question stumped her: whether staff received annual security awareness training. That one was not in AWS at all. It was a shared control in Cascade Ridge's own layer, and she added a training program to next year's plan.

Where to find more

AWS publishes compliance information on its compliance pages, including lists of programs and services in scope, and in whitepapers on security and compliance topics. The AWS Security Center and AWS Security Blog cover new features and guidance, and AWS Knowledge Center answers common how-to questions. For legal interpretation, such as exactly what a privacy law requires, organizations still need their own legal and compliance advice; AWS documents what its services do, not what a given law means for a given company.

Common mistakes

  • MistakeAssuming AWS's certifications make the customer compliant.

    InsteadAWS's reports cover inherited controls; the customer must still prove its own configuration and processes.

  • MistakeLooking for AWS's SOC reports on a public web page.

    InsteadDownload them from AWS Artifact in the console; some require accepting terms first.

  • MistakeAssuming every AWS service is in scope for every program.

    InsteadCheck the services in scope list for the relevant program before using a service for regulated data.

  • MistakeExpecting an SCP to grant permissions.

    InsteadSCPs only set the maximum; identities still need IAM policies that allow actions.

AWS Control Tower and landing zones

Organizations with more than a few accounts often use AWS Control Tower to set up what AWS calls a landing zone: a well-architected multi-account environment created from a blueprint. Control Tower creates the core accounts, typically a management account, a log archive account and an audit account, sets up IAM Identity Center, and applies controls, the Control Tower name for guardrails. Preventive controls use service control policies to stop actions, such as disabling CloudTrail. Detective controls use AWS Config rules to report problems, such as public buckets. Proactive controls check resources before they are created. Control Tower's Account Factory creates new accounts that start out compliant.

Gwen considered Control Tower for Cascade Ridge and decided to adopt it during the spring cutover, once the pilot had proved the account design. For a small company, she explained, building the first few accounts by hand is a good way to understand what Control Tower automates; for a growing one, Control Tower keeps every new account consistent without relying on memory.

Continuous compliance

Traditional compliance happened once a year: an audit, a scramble for evidence, a report, and then eleven months of drift. In the cloud, the configuration of every resource is recorded and can be checked at any moment, which makes continuous compliance possible. Config rules and conformance packs flag drift as it happens, Security Hub scores the account against standards every day, Audit Manager keeps collecting evidence, and service control policies prevent the most serious deviations entirely. Hannah's goal for the next insurer questionnaire is to answer most questions with a link to a live report rather than a screenshot taken the week before.

Continuous compliance does not remove the need for people. Someone still decides which rules matter, reviews exceptions, signs off risk decisions and talks to auditors. What it removes is the gap between the day of the audit and every other day, which is exactly the gap that attackers and accidents exploit.

Worked problem

Who provides each piece of evidence?

An auditor asks Cascade Ridge for four things: (1) proof that the data centers holding pet records have fire suppression; (2) a list of everyone who can administer production; (3) proof that no S3 bucket is public; (4) AWS's PCI DSS attestation. Where does each come from?

Show solution
  1. Fire suppression is an AWS physical control: AWS's reports in Artifact, such as the SOC 2 report.
  2. Administrators are a customer control: Identity Center assignments for the production account and the group membership in the directory.
  3. Public bucket settings are a customer control: Config rule results, S3 Block Public Access settings and Security Hub findings.
  4. AWS's PCI DSS attestation of compliance: AWS Artifact Reports.

Answer: Items 1 and 4 come from AWS through Artifact; items 2 and 3 come from Cascade Ridge's own configuration and records.

Summary and key terms

  • Compliance means meeting external requirements; governance is the internal control that keeps an organization compliant.
  • AWS participates in compliance programs such as SOC reports, ISO/IEC 27001, PCI DSS, HIPAA eligibility and government assessments, and publishes the results.
  • AWS Artifact provides on-demand access to AWS compliance reports (Artifact Reports) and lets customers accept agreements (Artifact Agreements).
  • Compliance needs vary by geography, industry and service; customers choose Regions for data residency and check services in scope lists.
  • Governance services include AWS Organizations with service control policies, AWS Control Tower, AWS Config with conformance packs, AWS CloudTrail, AWS Audit Manager and IAM access reports.
  • AWS's reports evidence inherited controls; customers must evidence their own.
Compliance
Meeting external requirements such as laws, standards and contracts.
Governance
The internal rules and processes that direct and control an organization's activities.
AWS Artifact
The console portal for downloading AWS compliance reports and managing agreements.
Compliance program
An external standard or assessment that AWS is audited against.
Services in scope
The list of AWS services covered by a particular compliance program.
Service control policy
An AWS Organizations policy that sets maximum permissions for accounts.
AWS Audit Manager
A service that continuously collects evidence and maps it to compliance controls.
AWS Control Tower
A service that sets up and governs a multi-account environment with controls.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Where do customers download AWS's SOC reports?

    Show answer

    AWS Artifact.

  2. Does an SCP grant permissions?

    Show answer

    No; it only limits the maximum permissions in an account.

  3. Name a service that collects audit evidence automatically.

    Show answer

    AWS Audit Manager.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz