What does this AWS Solutions Implementation do?

This solution is an add-on that works with AWS Security Hub and provides predefined response and remediation actions based on industry compliance standards and best practices for security threats. This solution helps AWS Security Hub customers to resolve common security findings and to improve their security posture in AWS.


AWS Security Hub integration

Initiate remediations and findings using custom actions in the Security Hub console.

One-click cross-account remediation

Easily deploy the solution across primary and member accounts.

Remediation playbooks

Access remediation playbooks supporting the Center for Internet Security (CIS) AWS Foundations benchmarks v1.2.0, AWS Foundational Security Best Practices (AFSBP) v1.0.0, and Payment Card Industry Data Security Standard (PCI-DSS) v3.2.1.

Automatic remediations

Deploy a predefined set of response and remediation actions to respond to threats automatically.

AWS Solutions Implementation overview

The diagram below presents the serverless architecture you can automatically deploy using the solution's implementation guide and accompanying AWS CloudFormation template.

AWS Security Hub Automated Response and Remediation | Architecture Diagram
 Click to enlarge

AWS Security Hub Automated Response and Remediation solution architecture

The AWS Security Hub Automated Response and Remediation solution contains the following main workflows: detect, ingest, remediate, and log.

1. Detect: AWS Security Hub provides customers with a comprehensive view of their AWS security state. It helps them to measure their environment against security industry standards and best practices. It works by collecting events and data from other AWS services, such as AWS Config, Amazon Guard Duty, and AWS Firewall Manager. These events and data are analyzed against security standards, such as CIS AWS Foundations Benchmark. Exceptions are asserted as findings in the AWS Security Hub console. New findings are sent as Amazon CloudWatch Events.

2. Ingest: AWS Security Hub Custom Actions and Amazon CloudWatch Events rules initiate Security Hub Automated Response and Remediation playbooks to address findings. Two CloudWatch Event Rules are deployed for each supported control by the solution: one rule to match the custom action event (user-initiated remediation), and one rule (disabled by default) to match the real-time finding event. Customers can use the Security Hub Custom Action menu to initiate automated remediation, or after careful testing in a non-production environment, they can enable automatic triggering for automated remediation. This decision can be made per remediation—it is not necessary to enable automatic triggers on all remediations.

3. Remediate: Using cross-account AWS Identity and Access Management (IAM) roles, the automated remediation uses the AWS API to perform the tasks needed to remediate findings. All playbooks in this solution call AWS Lambda functions. Some Lambda functions perform remediation directly. Others use AWS Systems Manager automation documents.

4. Log: The playbook logs the results to the Amazon CloudWatch Logs group for the solution, sends a notification to an Amazon Simple Notification Service (Amazon SNS) topic, and updates the Security Hub finding. An audit trail of actions taken is maintained in the finding notes. On the Security Hub dashboard, the finding workflow status is changed from NEW to either NOTIFIED or RESOLVED on the Security Hub dashboard. The security finding notes are updated to reflect the remediation performed.

AWS Security Hub Automated Response and Remediation

Version 1.3.1
Release date: 09/2021
Author: AWS

Estimated deployment time: 15 min

Use the button below to subscribe to solution updates.

Note: To subscribe to RSS updates, you must have an RSS plug-in enabled for the browser you are using.  

Did this Solutions Implementation help you?
Provide feedback 
Solving with AWS Solutions: AWS Security Hub Automated Response and Remediation
Back to top 
Build icon
Deploy a Solution yourself

Browse our library of AWS Solutions Implementations to get answers to common architectural problems.

Learn more 
Find an APN partner
Find an APN Partner

Find AWS certified consulting and technology partners to help you get started.

Learn more 
Explore icon
Explore Solutions Consulting Offers

Browse our portfolio of Consulting Offers to get AWS-vetted help with solution deployment.

Learn more