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

CloudFormation Template

AWSTemplateFormatVersion: '2010-09-09'
Description: AWS Security Hub with Default Standards and Consolidated Control Findings
Resources:
  ExampleHubWithTags:
    Type: 'AWS::SecurityHub::Hub'
    Properties:
      Tags:
        key1: "value1"
        key2: "value2"
      EnableDefaultStandards: true
      ControlFindingGenerator: "SECURITY_CONTROL"
Outputs:
  HubArn:
    Value:
      Ref: ExampleHubWithTags