Lesson 5 of 5 Security Posture Improvement

Maintaining Continuous Compliance

This lesson explains how continuous compliance evaluates resources as they change, remediates automatically where safe and keeps evidence ready for auditors, combining Config, Security Hub and Audit Manager.

Learning outcomes

After completing this lesson, you will be able to:

  • Identify the role of each compliance service.
  • Describe how AWS Config and Security Hub run at scale.
  • Explain how preventive, detective and responsive controls are layered.

Who does what

Continuous compliance combines four services with distinct roles. AWS Config records every configuration change and evaluates resources against rules, which is the raw evidence of compliance. AWS Security Hub (its posture-checking capability named Security Hub CSPM since 2025) runs security standards, AWS Foundational Security Best Practices, CIS, PCI DSS and NIST 800-53, and aggregates findings from GuardDuty, Inspector, Macie, Config and partners into one view. AWS Audit Manager maps evidence from Config, Security Hub, CloudTrail and other sources to the controls of a framework and produces audit-ready reports (it stopped accepting new customers on 30 April 2026). Control Tower controls apply guardrails by OU: preventive (SCPs and RCPs), detective (Config rules) and proactive (CloudFormation hooks). The following table summarises the roles.

ServiceRole
AWS ConfigRecords configuration changes and evaluates resources against rules
AWS Security HubRuns security standards (AWS Foundational Security Best Practices, CIS, PCI DSS, NIST 800-53) and aggregates findings from GuardDuty, Inspector, Macie, Config and partners
AWS Audit ManagerMaps evidence from Config, Security Hub, CloudTrail and others to framework controls and produces audit-ready reports
Control Tower controlsPreventive (SCPs, RCPs), detective (Config rules) and proactive (CloudFormation hooks) guardrails applied by OU

AWS Config at scale

AWS Config evaluates compliance with managed rules for common checks and custom rules written as Lambda functions or CloudFormation Guard policies. Conformance packs bundle rules and their remediations into one deployable unit, which can be deployed to every account in the organisation, so the same standard applies everywhere. An aggregator in a central account collects compliance data from every account and Region for one view.

Remediation runs Systems Manager Automation runbooks, manually or automatically, for example to enable bucket encryption or remove an open security group rule. Proactive evaluation checks a resource definition before it is created, which lets pipelines apply the same rules before deployment that Config applies afterwards.

Security Hub at scale

With a delegated administrator and central configuration, one account decides which standards and controls are enabled in which accounts and Regions, including new accounts. Cross-Region aggregation collects findings in one home Region. Automation rules update findings as they arrive (suppress, raise severity, add notes), and EventBridge sends findings to remediation workflows or ticketing.

Preventive, detective, responsive

Mature programs layer controls: prevent what can be prevented (SCPs, RCPs, proactive controls in pipelines), detect the rest continuously (Config, Security Hub), and respond automatically where the fix is safe and deterministic. Automatic remediation should be reserved for changes that cannot break workloads; others create a ticket for the owner.

Worked example

A company preparing for a PCI DSS audit must continuously check its 30 accounts against PCI controls, automatically fix unencrypted EBS default settings, and give auditors evidence mapped to each requirement with minimal manual work.

Security Hub with the PCI DSS standard, enabled by central configuration, checks every account. A Config rule with automatic SSM remediation enables EBS encryption by default. For evidence, Security Hub's PCI DSS control results and Config compliance history, exported on a schedule to the log archive, give auditors per-requirement evidence; an organisation that already uses Audit Manager, which closed to new customers on 30 April 2026, can generate the assessment report from its PCI DSS framework. Screenshots and spreadsheets fail the minimal-effort requirement.

Check yourself

What does Audit Manager add to Config and Security Hub?

Show answer

It collects their results and other evidence continuously and maps it to the controls of a framework, producing audit-ready reports.

Exam Tips

Remember for the exam

  • Config records and evaluates configuration; conformance packs deploy rule sets organisation-wide.
  • Config remediation uses Systems Manager Automation documents.
  • Security Hub runs standards and aggregates findings; use central configuration and cross-Region aggregation.
  • Audit Manager maps collected evidence to compliance frameworks, but it closed to new customers on 30 April 2026.
  • Layer preventive, detective and responsive controls; auto-remediate only safe changes.