A collection of AWS Security controls for AWS Security Hub. Configuration items include templates to set up AWS Security Hub in an account as well as templates to enable compliance standards checking such as CIS AWS Foundations

Security Hub
Enable AWS Security Hub with Notifications and Prerequisites

A configuration package to enable AWS Security Hub in an AWS account including service prerequisites and notification. AWS Security Hub turns on CIS AWS Foundations Compliance Standards by default.

CloudFormation
Premium Only
Enable AWS Security Hub

Configuration to enable AWS Security Hub in an AWS Account, with option to configure security standards such as CIS Foundation Benchmarks.

CloudFormationTerraformAWS CLI
AWS Security Hub Automation Rule

This template creates an AWS Security Hub automation rule with the specified criteria and actions. The automation rule is used to automatically respond to security findings based on the defined criteria. The example includes all available fields for criteria and actions.

CloudFormation
AWS Security Hub with Default Standards and Consolidated Control Findings

This template creates an AWS Security Hub resource. It enables the default standards and turns on consolidated control findings.

CloudFormation
AWS Security Hub without Default Standards and with Disabled Consolidated Control Findings

This template creates an AWS Security Hub resource with the specified tags. It disables the default standards and turns off consolidated control findings.

CloudFormation
AWS Security Hub: Enabling a Compliance Standard

This template creates an AWS SecurityHub Standard resource and enables the AWS Foundational Security Best Practices (FSBP) standard with all controls enabled. The `StandardsArn` property is set to the ARN of the FSBP standard. The template also includes an output `StandardsSubscriptionArn` that references the created Standard resource.

CloudFormation
AWS Security Hub: Enabling a Compliance Standard with Some Controls Disabled

This template creates an AWS SecurityHub Standard resource and enables the FSBP standard. The `StandardsArn` property is set to the ARN of the FSBP standard. The template also includes a `DisabledStandardsControls` property that specifies the controls to be disabled in the standard. The controls are specified using their ARNs and a reason for disabling them. The template also includes an output `StandardsSubscriptionArn` that references the created Standard resource.

CloudFormation