cdklabs.cdk-validator-cfnguard


Namecdklabs.cdk-validator-cfnguard JSON
Version 0.0.58 PyPI version JSON
download
home_pagehttps://github.com/cdklabs/cdk-validator-cfnguard.git
Summary@cdklabs/cdk-validator-cfnguard
upload_time2023-12-12 10:11:12
maintainer
docs_urlNone
authorAmazon Web Services<aws-cdk-dev@amazon.com>
requires_python~=3.8
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CDK CFN Guard Validator Plugin

<!--BEGIN STABILITY BANNER-->---


![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)

> The APIs of higher level constructs in this module are experimental and under active development.
> They are subject to non-backward compatible changes or removal in any future version. These are
> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be
> announced in the release notes. This means that while you may use them, you may need to update
> your source code when upgrading to a newer version of this package.

---
<!--END STABILITY BANNER-->

## Installing

### TypeScript/JavaScript

```bash
npm install @cdklabs/cdk-validator-cfnguard
```

### Python

```bash
pip install cdklabs.cdk-validator-cfnguard
```

### Java

```xml
// add this to your pom.xml
<dependency>
    <groupId>io.github.cdklabs</groupId>
    <artifactId>cdk-validator-cfnguard</artifactId>
    <version>0.0.0</version> // replace with version
</dependency>
```

### .NET

```bash
dotnet add package Cdklabs.CdkValidatorCfnGuard --version X.X.X
```

## Usage

To use this plugin in your CDK application add it to the CDK App.

```python
App(
    policy_validation_beta1=[
        CfnGuardValidator()
    ]
)
```

By default the `CfnGuardValidator` plugin comes with the [Control Tower
proactive
controls](https://docs.aws.amazon.com/controltower/latest/userguide/proactive-controls.html)
enabled. In order to disable these rules you can use the
`controlTowerRulesEnabled: false` property.

```python
CfnGuardValidator(
    control_tower_rules_enabled=False
)
```

It is also possible to disable individual rules.

```python
CfnGuardValidator(
    disabled_rules=["ct-s3-pr-1"
    ]
)
```

### Additional rules

To provide additional rules to the plugin, provide a list of local
file or directory paths.

```python
CfnGuardValidator(
    rules=["path/to/local-rules-directory", "path/to/s3/local-rules/my-rule.guard"
    ]
)
```

If the path provided is a directory then the directory must only
contain guard rule files, and all rules within the directory will be used.

## Using the bundled Control Tower proactive controls in CDK

The bundled Control Tower proactive controls use CloudFormation Guard
policies that are also used in managed controls from the Control Tower
service. You can use these CDK bundled controls without having a Control
Tower environment in AWS, but there are many benefits to using the two together.

When you enable Control Tower proactive controls in your Control Tower environment,
the controls can stop the deployment of non-compliant resources deployed via
CloudFormation. For more information about managed proactive controls and how they work,
see the [Control Tower documentation](https://docs.aws.amazon.com/controltower/latest/userguide/proactive-controls.html).

These CDK bundled controls and managed Control Tower proactive controls are best used together.
In this scenario you can configure this validation plugin with the same proactive controls that
are active in your Control Tower cloud environment. You can then quickly gain confidence
that your CDK application will pass the Control Tower controls by running cdk synth locally
or in a pipeline as described above.

Regardless of whether you or your organization use Control Tower, however, you should
understand the following things about these bundled controls when run locally using this plugin:

1. These CloudFormation guard policies accept a limited subset of CloudFormation syntax
   for the properties they evaluate. For instance, a property called EncryptionEnabled may
   pass if it is specified with the literal value true, but it may fail if it is specified with
   a reference to a CloudFormation stack parameter instead. Similarly, if a rule checks for a string
   value, it may fail for Fn::Join objects. If you discover that a rule can be bypassed with a
   particular configuration of a resource, please file an issue.
2. Some rules may check references to other resources, but this reference checking is limited.
   For instance, a rule may require that an access logging bucket is specified for each S3 bucket.
   In this case, the rule can check whether you have passed a reference to a bucket in the same
   template, but it cannot verify that a hardcoded bucket name like "examplebucket" actually refers
   to a real bucket or a bucket you own.

You can add a layer of security protection by enabling the same proactive controls in your Control Tower
cloud environment. There are different considerations for using these controls since they operate in a
different way. For more information, see the [Control Tower proactive controls documentation](https://docs.aws.amazon.com/controltower/latest/userguide/proactive-controls.html).

If you do not yet have a Control Tower environment, see [What is AWS Control Tower?](https://docs.aws.amazon.com/controltower/latest/userguide/what-is-control-tower.html).

### Bundled Control Tower Rules

| ID                                                                                                                                                     | Name                                                                                                                                                                                     | Evaluated Resource Types                                                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| [CT.ACM.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/acm-rules.html#ct-acm-pr-1-description)                                        | Require an AWS Private CA certificate to have a single domain name                                                                                                                       | `AWS::CertificateManager::Certificate`<br/>                                                         |
| [CT.APIGATEWAY.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/api-gateway-rules.html#ct-apigateway-pr-1-description)                  | Require an Amazon API Gateway REST and WebSocket API to have logging activated                                                                                                           | `AWS::ApiGateway::Stage`<br/>                                                                       |
| [CT.APIGATEWAY.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/api-gateway-rules.html#ct-apigateway-pr-2-description)                  | Require an Amazon API Gateway REST API stage to have AWS X-Ray tracing activated                                                                                                         | `AWS::ApiGateway::Stage`<br/>                                                                       |
| [CT.APIGATEWAY.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/api-gateway-rules.html#ct-apigateway-pr-3-description)                  | Require that an Amazon API Gateway REST API stage has encryption at rest configured for cache data                                                                                       | `AWS::ApiGateway::Stage`<br/>                                                                       |
| [CT.APIGATEWAY.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/api-gateway-rules.html#ct-apigateway-pr-4-description)                  | Require an Amazon API Gateway V2 stage to have access logging activated                                                                                                                  | `AWS::ApiGatewayV2::Stage`<br/>                                                                     |
| [CT.APIGATEWAY.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/api-gateway-rules.html#ct-apigateway-pr-5-description)                  | Require Amazon API Gateway V2 Websocket and HTTP routes to specify an authorization type                                                                                                 | `AWS::ApiGatewayV2::Route`<br/>`AWS::ApiGatewayV2::ApiGatewayManagedOverrides`<br/>                 |
| [CT.APIGATEWAY.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/api-gateway-rules.html#ct-apigateway-pr-6-description)                  | Require an Amazon API Gateway REST domain to use a security policy that specifies a minimum TLS protocol version of TLSv1.2                                                              | `AWS::ApiGateway::DomainName`<br/>                                                                  |
| [CT.APPSYNC.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/appsync-rules.html#ct-appsync-pr-1-description)                            | Require an AWS AppSync GraphQL API to have logging enabled                                                                                                                               | `AWS::AppSync::GraphQLApi`<br/>                                                                     |
| [CT.APPSYNC.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/appsync-rules.html#ct-appsync-pr-2-description)                            | Require an AWS AppSync GraphQL API to be configured with private visibility                                                                                                              | `AWS::AppSync::GraphQLApi`<br/>                                                                     |
| [CT.APPSYNC.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/appsync-rules.html#ct-appsync-pr-3-description)                            | Require that an AWS AppSync GraphQL API is not authenticated with API keys                                                                                                               | `AWS::AppSync::GraphQLApi`<br/>                                                                     |
| [CT.APPSYNC.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/appsync-rules.html#ct-appsync-pr-4-description)                            | Require an AWS AppSync GraphQL API cache to have encryption in transit enabled.                                                                                                          | `AWS::AppSync::ApiCache`<br/>                                                                       |
| [CT.APPSYNC.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/appsync-rules.html#ct-appsync-pr-5-description)                            | Require an AWS AppSync GraphQL API cache to have encryption at rest enabled.                                                                                                             | `AWS::AppSync::ApiCache`<br/>                                                                       |
| [CT.ATHENA.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/athena-rules.html#ct-athena-pr-1-description)                               | Require an Amazon Athena workgroup to encrypt Athena query results at rest                                                                                                               | `AWS::Athena::WorkGroup`<br/>                                                                       |
| [CT.ATHENA.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/athena-rules.html#ct-athena-pr-2-description)                               | Require an Amazon Athena workgroup to encrypt Athena query results at rest with an AWS Key Management Service (KMS) key                                                                  | `AWS::Athena::WorkGroup`<br/>                                                                       |
| [CT.AUTOSCALING.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-1-description)           | Require an Amazon EC2 Auto Scaling group to have multiple Availability Zones                                                                                                             | `AWS::AutoScaling::AutoScalingGroup`<br/>                                                           |
| [CT.AUTOSCALING.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-2-description)           | Require an Amazon EC2 Auto Scaling group launch configuration to configure Amazon EC2 instances for IMDSv2                                                                               | `AWS::AutoScaling::LaunchConfiguration`<br/>                                                        |
| [CT.AUTOSCALING.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-3-description)           | Require an Amazon EC2 Auto Scaling launch configuration to have a single-hop metadata response limit                                                                                     | `AWS::AutoScaling::LaunchConfiguration`<br/>                                                        |
| [CT.AUTOSCALING.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-4-description)           | Require an Amazon EC2 Auto Scaling group associated with an AWS Elastic Load Balancer (ELB) to have ELB health checks activated                                                          | `AWS::AutoScaling::AutoScalingGroup`<br/>                                                           |
| [CT.AUTOSCALING.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-5-description)           | Require that an Amazon EC2 Auto Scaling group launch configuration does not have Amazon EC2 instances with public IP addresses                                                           | `AWS::AutoScaling::LaunchConfiguration`<br/>                                                        |
| [CT.AUTOSCALING.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-6-description)           | Require any Amazon EC2 Auto Scaling groups to use multiple instance types                                                                                                                | `AWS::AutoScaling::AutoScalingGroup`<br/>                                                           |
| [CT.AUTOSCALING.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-8-description)           | Require an Amazon EC2 Auto Scaling group to have EC2 launch templates configured                                                                                                         | `AWS::AutoScaling::AutoScalingGroup`<br/>                                                           |
| [CT.AUTOSCALING.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-9-description)           | Require an Amazon EBS volume configured through an Amazon EC2 Auto Scaling launch configuration to encrypt data at rest                                                                  | `AWS::AutoScaling::LaunchConfiguration`<br/>                                                        |
| [CT.AUTOSCALING.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-10-description)         | Require an Amazon EC2 Auto Scaling group to use only AWS Nitro instance types when overriding a launch template                                                                          | `AWS::AutoScaling::AutoScalingGroup`<br/>                                                           |
| [CT.AUTOSCALING.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-11-description)         | Require only AWS Nitro instance types that support network traffic encryption between instances to be added to an Amazon EC2 Auto Scaling group, when overriding a launch template       | `AWS::AutoScaling::AutoScalingGroup`<br/>                                                           |
| [CT.CLOUDFRONT.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-1-description)                   | Require an Amazon CloudFront distribution to have a default root object configured                                                                                                       | `AWS::CloudFront::Distribution`<br/>                                                                |
| [CT.CLOUDFRONT.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-3-description)                   | Require an Amazon CloudFront distribution to have encryption in transit configured                                                                                                       | `AWS::CloudFront::Distribution`<br/>                                                                |
| [CT.CLOUDFRONT.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-4-description)                   | Require an Amazon CloudFront distribution to have origin failover configured                                                                                                             | `AWS::CloudFront::Distribution`<br/>                                                                |
| [CT.CLOUDFRONT.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-5-description)                   | Require any Amazon CloudFront distribution to have logging enabled                                                                                                                       | `AWS::CloudFront::Distribution`<br/>                                                                |
| [CT.CLOUDFRONT.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-6-description)                   | Require an Amazon CloudFront distribution to use custom SSL/TLS certificates                                                                                                             | `AWS::CloudFront::Distribution`<br/>                                                                |
| [CT.CLOUDFRONT.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-7-description)                   | Require an Amazon CloudFront distribution to use SNI to serve HTTPS requests                                                                                                             | `AWS::CloudFront::Distribution`<br/>                                                                |
| [CT.CLOUDFRONT.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-8-description)                   | Require an Amazon CloudFront distribution to encrypt traffic to custom origins                                                                                                           | `AWS::CloudFront::Distribution`<br/>                                                                |
| [CT.CLOUDFRONT.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-9-description)                   | Require an Amazon CloudFront distribution to have a security policy of TLSv1.2 as a minimum                                                                                              | `AWS::CloudFront::Distribution`<br/>                                                                |
| [CT.CLOUDFRONT.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-10-description)                 | Require any Amazon CloudFront distributions with Amazon S3 backed origins to have origin access control configured                                                                       | `AWS::CloudFront::Distribution`<br/>                                                                |
| [CT.CLOUDFRONT.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-11-description)                 | Require an Amazon CloudFront distribution to use updated SSL protocols between edge locations and custom origins                                                                         | `AWS::CloudFront::Distribution`<br/>                                                                |
| [CT.CLOUDTRAIL.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/cloudtrail-rules.html#ct-cloudtrail-pr-1-description)                   | Require an AWS CloudTrail trail to have encryption at rest activated                                                                                                                     | `AWS::CloudTrail::Trail`<br/>                                                                       |
| [CT.CLOUDTRAIL.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/cloudtrail-rules.html#ct-cloudtrail-pr-2-description)                   | Require an AWS CloudTrail trail to have log file validation activated                                                                                                                    | `AWS::CloudTrail::Trail`<br/>                                                                       |
| [CT.CLOUDTRAIL.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/cloudtrail-rules.html#ct-cloudtrail-pr-3-description)                   | Require an AWS CloudTrail trail to have an Amazon CloudWatch log group configuration                                                                                                     | `AWS::CloudTrail::Trail`<br/>                                                                       |
| [CT.CLOUDTRAIL.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/cloudtrail-rules.html#ct-cloudtrail-pr-4-description)                   | Require an AWS CloudTrail Lake event data store to enable encryption at rest with an AWS KMS key                                                                                         | `AWS::CloudTrail::EventDataStore`<br/>                                                              |
| [CT.CLOUDWATCH.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/cloudwatch-rules.html#ct-cloudwatch-pr-1-description)                   | Require an Amazon CloudWatch alarm to have an action configured for the alarm state                                                                                                      | `AWS::CloudWatch::Alarm`<br/>                                                                       |
| [CT.CLOUDWATCH.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/cloudwatch-rules.html#ct-cloudwatch-pr-2-description)                   | Require an Amazon CloudWatch log group to be retained for at least one year                                                                                                              | `AWS::Logs::LogGroup`<br/>                                                                          |
| [CT.CLOUDWATCH.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/cloudwatch-rules.html#ct-cloudwatch-pr-3-description)                   | Require an Amazon CloudWatch log group to be encrypted at rest with an AWS KMS key                                                                                                       | `AWS::Logs::LogGroup`<br/>                                                                          |
| [CT.CLOUDWATCH.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/cloudwatch-rules.html#ct-cloudwatch-pr-4-description)                   | Require an Amazon CloudWatch alarm to have actions activated                                                                                                                             | `AWS::CloudWatch::Alarm`<br/>                                                                       |
| [CT.CODEBUILD.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/codebuild-rules.html#ct-codebuild-pr-1-description)                      | Require OAuth on GitHub or Bitbucket source repository URLs for AWS CodeBuild projects                                                                                                   | `AWS::CodeBuild::Project`<br/>                                                                      |
| [CT.CODEBUILD.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/codebuild-rules.html#ct-codebuild-pr-2-description)                      | Require any AWS CodeBuild project environment variable to encrypt credentials in environment variables                                                                                   | `AWS::CodeBuild::Project`<br/>                                                                      |
| [CT.CODEBUILD.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/codebuild-rules.html#ct-codebuild-pr-3-description)                      | Require any AWS CodeBuild project environment to have logging configured                                                                                                                 | `AWS::CodeBuild::Project`<br/>                                                                      |
| [CT.CODEBUILD.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/codebuild-rules.html#ct-codebuild-pr-4-description)                      | Require any AWS CodeBuild project to deactivate privileged mode when running                                                                                                             | `AWS::CodeBuild::Project`<br/>                                                                      |
| [CT.CODEBUILD.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/codebuild-rules.html#ct-codebuild-pr-5-description)                      | Require encryption on all AWS CodeBuild project artifacts                                                                                                                                | `AWS::CodeBuild::Project`<br/>                                                                      |
| [CT.CODEBUILD.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/codebuild-rules.html#ct-codebuild-pr-6-description)                      | Require encryption on all Amazon S3 logs for AWS CodeBuild projects                                                                                                                      | `AWS::CodeBuild::Project`<br/>                                                                      |
| [CT.DAX.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/dax-rules.html#ct-dax-pr-1-description)                                        | Require encryption at rest for all Amazon DynamoDB Accelerator (DAX) clusters                                                                                                            | `AWS::DAX::Cluster`<br/>                                                                            |
| [CT.DAX.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/dax-rules.html#ct-dax-pr-2-description)                                        | Require an Amazon DAX cluster to deploy nodes to at least three Availability Zones                                                                                                       | `AWS::DAX::Cluster`<br/>                                                                            |
| [CT.DAX.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/dax-rules.html#ct-dax-pr-3-description)                                        | Require an Amazon DAX cluster to encrypt data in transit with Transport Layer Security (TLS)                                                                                             | `AWS::DAX::Cluster`<br/>                                                                            |
| [CT.DMS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/dms-rules.html#ct-dms-pr-1-description)                                        | Require that a public AWS DMS replication instance is not public                                                                                                                         | `AWS::DMS::ReplicationInstance`<br/>                                                                |
| [CT.DMS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/dms-rules.html#ct-dms-pr-2-description)                                        | Require an AWS Database Migration Service (DMS) Endpoint to encrypt connections for source and target endpoints                                                                          | `AWS::DMS::Endpoint`<br/>                                                                           |
| [CT.DOCUMENTDB.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/documentdb-rules.html#ct-documentdb-pr-1-description)                   | Require an Amazon DocumentDB cluster to be encrypted at rest                                                                                                                             | `AWS::DocDB::DBCluster`<br/>                                                                        |
| [CT.DOCUMENTDB.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/documentdb-rules.html#ct-documentdb-pr-2-description)                   | Require an Amazon DocumentDB cluster to have a backup retention period greater than or equal to seven days                                                                               | `AWS::DocDB::DBCluster`<br/>                                                                        |
| [CT.DYNAMODB.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/dynamodb-rules.html#ct-dynamodb-pr-1-description)                         | Require that point-in-time recovery for an Amazon DynamoDB table is activated                                                                                                            | `AWS::DynamoDB::Table`<br/>                                                                         |
| [CT.DYNAMODB.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/dynamodb-rules.html#ct-dynamodb-pr-2-description)                         | Require an Amazon DynamoDB table to be encrypted at rest using an AWS KMS key                                                                                                            | `AWS::DynamoDB::Table`<br/>                                                                         |
| [CT.EC2.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-1-description)                                        | Require an Amazon EC2 launch template to have IMDSv2 configured                                                                                                                          | `AWS::EC2::LaunchTemplate`<br/>                                                                     |
| [CT.EC2.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-2-description)                                        | Require that Amazon EC2 launch templates restrict the token hop limit to a maximum of one                                                                                                | `AWS::EC2::LaunchTemplate`<br/>                                                                     |
| [CT.EC2.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-3-description)                                        | Require that any Amazon EC2 security group rule does not use the source IP range 0.0.0.0/0 or ::/0 for ports other than 80 and 443                                                       | `AWS::EC2::SecurityGroup`<br/>`AWS::EC2::SecurityGroupIngress`<br/>                                 |
| [CT.EC2.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-4-description)                                        | Require that any Amazon EC2 security group rule does not use the source IP range 0.0.0.0/0 or ::/0 for specific high-risk ports                                                          | `AWS::EC2::SecurityGroup`<br/>`AWS::EC2::SecurityGroupIngress`<br/>                                 |
| [CT.EC2.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-5-description)                                        | Require any Amazon EC2 network ACL to prevent ingress from 0.0.0.0/0 to port 22 or port 3389                                                                                             | `AWS::EC2::NetworkAclEntry`<br/>                                                                    |
| [CT.EC2.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-6-description)                                        | Require that Amazon EC2 transit gateways refuse automatic Amazon VPC attachment requests                                                                                                 | `AWS::EC2::TransitGateway`<br/>                                                                     |
| [CT.EC2.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-7-description)                                        | Require an Amazon EBS volume resource to be encrypted at rest when defined by means of the AWS::EC2::Instance BlockDeviceMappings property or AWS::EC2::Volume resource type             | `AWS::EC2::Instance`<br/>`AWS::EC2::Volume`<br/>                                                    |
| [CT.EC2.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-8-description)                                        | Require an Amazon EC2 instance to set AssociatePublicIpAddress to false on a new network interface created by means of the NetworkInterfaces property in the AWS::EC2::Instance resource | `AWS::EC2::Instance`<br/>                                                                           |
| [CT.EC2.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-9-description)                                        | Require any Amazon EC2 launch template not to auto-assign public IP addresses to network interfaces                                                                                      | `AWS::EC2::LaunchTemplate`<br/>                                                                     |
| [CT.EC2.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-10-description)                                      | Require Amazon EC2 launch templates to have Amazon CloudWatch detailed monitoring activated                                                                                              | `AWS::EC2::LaunchTemplate`<br/>                                                                     |
| [CT.EC2.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-11-description)                                      | Require that an Amazon EC2 subnet does not automatically assign public IP addresses                                                                                                      | `AWS::EC2::Subnet`<br/>                                                                             |
| [CT.EC2.PR.12](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-12-description)                                      | Require an Amazon EC2 instance to specify at most one network interface by means of the NetworkInterfaces property in the AWS::EC2::Instance resource                                    | `AWS::EC2::Instance`<br/>                                                                           |
| [CT.EC2.PR.13](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-13-description)                                      | Require an Amazon EC2 instance to have detailed monitoring enabled                                                                                                                       | `AWS::EC2::Instance`<br/>                                                                           |
| [CT.EC2.PR.14](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-14-description)                                      | Require an Amazon EBS volume configured through an Amazon EC2 launch template to encrypt data at rest                                                                                    | `AWS::EC2::LaunchTemplate`<br/>                                                                     |
| [CT.EC2.PR.15](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-15-description)                                      | Require an Amazon EC2 instance to use an AWS Nitro instance type when creating from the 'AWS::EC2::LaunchTemplate' resource type                                                         | `AWS::EC2::LaunchTemplate`<br/>                                                                     |
| [CT.EC2.PR.16](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-16-description)                                      | Require an Amazon EC2 instance to use an AWS Nitro instance type when created using the 'AWS::EC2::Instance' resource type                                                               | `AWS::EC2::Instance`<br/>                                                                           |
| [CT.EC2.PR.17](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-17-description)                                      | Require an Amazon EC2 dedicated host to use an AWS Nitro instance type                                                                                                                   | `AWS::EC2::Host`<br/>                                                                               |
| [CT.EC2.PR.18](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-18-description)                                      | Require an Amazon EC2 fleet to override only those launch templates with AWS Nitro instance types                                                                                        | `AWS::EC2::EC2Fleet`<br/>                                                                           |
| [CT.EC2.PR.19](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-19-description)                                      | Require an EC2 instance to use an AWS Nitro instance type that supports encryption in-transit between instances when created using the AWS::EC2::Instance resource type                  | `AWS::EC2::Instance`<br/>                                                                           |
| [CT.EC2.PR.20](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-20-description)                                      | Require an Amazon EC2 fleet to override only those launch templates with AWS Nitro instance types that support encryption in transit between instances                                   | `AWS::EC2::EC2Fleet`<br/>                                                                           |
| [CT.ECR.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/ecr-rules.html#ct-ecr-pr-1-description)                                        | Require Amazon ECR repositories to have a lifecycle policy configured                                                                                                                    | `AWS::ECR::Repository`<br/>                                                                         |
| [CT.ECR.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/ecr-rules.html#ct-ecr-pr-2-description)                                        | Require Amazon ECR private repositories to have image scanning enabled                                                                                                                   | `AWS::ECR::Repository`<br/>                                                                         |
| [CT.ECR.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/ecr-rules.html#ct-ecr-pr-3-description)                                        | Require Amazon ECR private repositories to have tag immutability enabled                                                                                                                 | `AWS::ECR::Repository`<br/>                                                                         |
| [CT.ECS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-1-description)                                        | Require AWS ECS Fargate Services to run on the latest Fargate platform version                                                                                                           | `AWS::ECS::Service`<br/>                                                                            |
| [CT.ECS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-2-description)                                        | Require any Amazon ECS cluster to have container insights activated                                                                                                                      | `AWS::ECS::Cluster`<br/>                                                                            |
| [CT.ECS.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-3-description)                                        | Require any Amazon ECS task definition to specify a user that is not the root                                                                                                            | `AWS::ECS::TaskDefinition`<br/>                                                                     |
| [CT.ECS.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-4-description)                                        | Require Amazon ECS tasks to use 'awsvpc' networking mode                                                                                                                                 | `AWS::ECS::TaskDefinition`<br/>                                                                     |
| [CT.ECS.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-5-description)                                        | Require an active Amazon ECS task definition to have a logging configuration                                                                                                             | `AWS::ECS::TaskDefinition`<br/>                                                                     |
| [CT.ECS.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-6-description)                                        | Require Amazon ECS containers to allow read-only access to the root filesystem                                                                                                           | `AWS::ECS::TaskDefinition`<br/>                                                                     |
| [CT.ECS.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-7-description)                                        | Require an Amazon ECS task definition to have a specific memory usage limit                                                                                                              | `AWS::ECS::TaskDefinition`<br/>                                                                     |
| [CT.ECS.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-8-description)                                        | Require Amazon ECS task definitions to have secure networking modes and user definitions                                                                                                 | `AWS::ECS::TaskDefinition`<br/>                                                                     |
| [CT.ECS.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-9-description)                                        | Require Amazon ECS services not to assign public IP addresses automatically                                                                                                              | `AWS::ECS::Service`<br/>                                                                            |
| [CT.ECS.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-10-description)                                      | Require that Amazon ECS task definitions do not share the host's process namespace                                                                                                       | `AWS::ECS::TaskDefinition`<br/>                                                                     |
| [CT.ECS.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-11-description)                                      | Require an Amazon ECS container to run as non-privileged                                                                                                                                 | `AWS::ECS::TaskDefinition`<br/>                                                                     |
| [CT.ECS.PR.12](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-12-description)                                      | Require that Amazon ECS task definitions do not pass secrets as container environment variables                                                                                          | `AWS::ECS::TaskDefinition`<br/>                                                                     |
| [CT.EKS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/eks-rules.html#ct-eks-pr-1-description)                                        | Require an Amazon EKS cluster to be configured with public access disabled to the cluster Kubernetes API server endpoint.                                                                | `AWS::EKS::Cluster`<br/>                                                                            |
| [CT.EKS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/eks-rules.html#ct-eks-pr-2-description)                                        | Require an Amazon EKS cluster to be configured with secret encryption using AWS Key Management Service (KMS) keys                                                                        | `AWS::EKS::Cluster`<br/>                                                                            |
| [CT.ELASTICACHE.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-1-description)                | Require an Amazon ElastiCache for Redis cluster to have automatic backups activated                                                                                                      | `AWS::ElastiCache::CacheCluster`<br/>                                                               |
| [CT.ELASTICACHE.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-2-description)                | Require an Amazon ElastiCache for Redis cluster to have automatic minor version upgrades activated                                                                                       | `AWS::ElastiCache::CacheCluster`<br/>                                                               |
| [CT.ELASTICACHE.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-3-description)                | Require an Amazon ElastiCache for Redis replication group to have automatic failover activated                                                                                           | `AWS::ElastiCache::ReplicationGroup`<br/>                                                           |
| [CT.ELASTICACHE.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-4-description)                | Require an Amazon ElastiCache replication group to have encryption at rest activated                                                                                                     | `AWS::ElastiCache::ReplicationGroup`<br/>                                                           |
| [CT.ELASTICACHE.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-5-description)                | Require an Amazon ElastiCache for Redis replication group to have encryption in transit activated                                                                                        | `AWS::ElastiCache::ReplicationGroup`<br/>                                                           |
| [CT.ELASTICACHE.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-6-description)                | Require an Amazon ElastiCache cache cluster to use a custom subnet group                                                                                                                 | `AWS::ElastiCache::CacheCluster`<br/>                                                               |
| [CT.ELASTICACHE.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-7-description)                | Require an Amazon ElastiCache replication group of earlier Redis versions to have Redis AUTH activated                                                                                   | `AWS::ElastiCache::ReplicationGroup`<br/>                                                           |
| [CT.ELASTICACHE.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-8-description)                | Require an Amazon ElastiCache replication group of later Redis versions to have RBAC authentication activated                                                                            | `AWS::ElastiCache::ReplicationGroup`<br/>                                                           |
| [CT.ELASTICBEANSTALK.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/ebs-rules.html#ct-elasticbeanstalk-pr-1-description)              | Require AWS Elastic Beanstalk environments to have enhanced health reporting enabled                                                                                                     | `AWS::ElasticBeanstalk::Environment`<br/>`AWS::ElasticBeanstalk::ConfigurationTemplate`<br/>        |
| [CT.ELASTICBEANSTALK.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/ebs-rules.html#ct-elasticbeanstalk-pr-2-description)              | Require an AWS Elastic Beanstalk environment to have managed platform updates configured                                                                                                 | `AWS::ElasticBeanstalk::Environment`<br/>`AWS::ElasticBeanstalk::ConfigurationTemplate`<br/>        |
| [CT.ELASTICBEANSTALK.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/ebs-rules.html#ct-elasticbeanstalk-pr-3-description)              | Require an AWS Elastic Beanstalk environment to have a logging configuration                                                                                                             | `AWS::ElasticBeanstalk::Environment`<br/>`AWS::ElasticBeanstalk::ConfigurationTemplate`<br/>        |
| [CT.ELASTICFILESYSYSTEM.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/efs-rules.html#ct-elasticfilesysystem-pr-1-description)        | Require an Amazon EFS file system to encrypt file data at rest using AWS KMS                                                                                                             | `AWS::EFS::FileSystem`<br/>                                                                         |
| [CT.ELASTICFILESYSYSTEM.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/efs-rules.html#ct-elasticfilesysystem-pr-2-description)        | Require an Amazon EFS volume to have an automated backup plan                                                                                                                            | `AWS::EFS::FileSystem`<br/>                                                                         |
| [CT.ELASTICFILESYSYSTEM.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/efs-rules.html#ct-elasticfilesysystem-pr-3-description)        | Require Amazon EFS access points to have a root directory                                                                                                                                | `AWS::EFS::AccessPoint`<br/>                                                                        |
| [CT.ELASTICFILESYSYSTEM.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/efs-rules.html#ct-elasticfilesysystem-pr-4-description)        | Require Amazon EFS access points to enforce a user identity                                                                                                                              | `AWS::EFS::AccessPoint`<br/>                                                                        |
| [CT.ELASTICLOADBALANCING.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-1-description)      | Require any application load balancer listener default actions to redirect all HTTP requests to HTTPS                                                                                    | `AWS::ElasticLoadBalancingV2::Listener`<br/>                                                        |
| [CT.ELASTICLOADBALANCING.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-2-description)      | Require any Amazon ELB application or network load balancer to have an AWS Certificate Manager certificate                                                                               | `AWS::ElasticLoadBalancingV2::Listener`<br/>`AWS::ElasticLoadBalancingV2::ListenerCertificate`<br/> |
| [CT.ELASTICLOADBALANCING.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-3-description)      | Require any application load balancer to have defensive or strictest desync mitigation mode activated                                                                                    | `AWS::ElasticLoadBalancingV2::LoadBalancer`<br/>                                                    |
| [CT.ELASTICLOADBALANCING.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-4-description)      | Require that any application load balancer must be configured to drop HTTP headers                                                                                                       | `AWS::ElasticLoadBalancingV2::LoadBalancer`<br/>                                                    |
| [CT.ELASTICLOADBALANCING.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-5-description)      | Require that application load balancer deletion protection is activated                                                                                                                  | `AWS::ElasticLoadBalancingV2::LoadBalancer`<br/>                                                    |
| [CT.ELASTICLOADBALANCING.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-6-description)      | Require that application and network load balancer access logging is activated                                                                                                           | `AWS::ElasticLoadBalancingV2::LoadBalancer`<br/>                                                    |
| [CT.ELASTICLOADBALANCING.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-7-description)      | Require any classic load balancer to have multiple Availability Zones configured                                                                                                         | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |
| [CT.ELASTICLOADBALANCING.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-8-description)      | Require any classic load balancer SSL/HTTPS listener to have a certificate provided by AWS Certificate Manager                                                                           | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |
| [CT.ELASTICLOADBALANCING.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-9-description)      | Require that an AWS ELB application or classic load balancer listener is configured with HTTPS or TLS termination                                                                        | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |
| [CT.ELASTICLOADBALANCING.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-10-description)    | Require an ELB application or classic load balancer to have logging activated                                                                                                            | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |
| [CT.ELASTICLOADBALANCING.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-11-description)    | Require any ELB classic load balancer to have connection draining activated                                                                                                              | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |
| [CT.ELASTICLOADBALANCING.PR.12](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-12-description)    | Require any ELB classic load balancer SSL/HTTPS listener to have a predefined security policy with a strong configuration                                                                | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |
| [CT.ELASTICLOADBALANCING.PR.13](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-13-description)    | Require any ELB classic load balancer to have cross-zone load balancing activated                                                                                                        | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |
| [CT.ELASTICLOADBALANCING.PR.14](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-14-description)    | Require a Network Load Balancer to have cross-zone load balancing activated                                                                                                              | `AWS::ElasticLoadBalancingV2::LoadBalancer`<br/>                                                    |
| [CT.ELASTICLOADBALANCING.PR.15](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-15-description)    | Require that an Elastic Load Balancing v2 target group does not explicitly disable cross-zone load balancing                                                                             | `AWS::ElasticLoadBalancingV2::TargetGroup`<br/>                                                     |
| [CT.EMR.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/emr-rules.html#ct-emr-pr-1-description)                                        | Require that an Amazon Elastic MapReduce (EMR) security configuration is configured to encrypt data at rest in Amazon S3                                                                 | `AWS::EMR::SecurityConfiguration`<br/>                                                              |
| [CT.EMR.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/emr-rules.html#ct-emr-pr-2-description)                                        | Require that an Amazon Elastic MapReduce (EMR) security configuration is configured to encrypt data at rest in Amazon S3 with an AWS KMS key                                             | `AWS::EMR::SecurityConfiguration`<br/>                                                              |
| [CT.EMR.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/emr-rules.html#ct-emr-pr-3-description)                                        | Require that an Amazon Elastic MapReduce (EMR) security configuration is configured with EBS volume local disk encryption using an AWS KMS key                                           | `AWS::EMR::SecurityConfiguration`<br/>                                                              |
| [CT.EMR.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/emr-rules.html#ct-emr-pr-4-description)                                        | Require that an Amazon Elastic MapReduce (EMR) security configuration is configured to encrypt data in transit                                                                           | `AWS::EMR::SecurityConfiguration`<br/>                                                              |
| [CT.GLUE.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/glue-rules.html#ct-glue-pr-1-description)                                     | Require an AWS Glue job to have an associated security configuration                                                                                                                     | `AWS::Glue::Job`<br/>                                                                               |
| [CT.GUARDDUTY.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/guard-duty-rules.html#ct-guardduty-pr-1-description)                     | Require an Amazon GuardDuty detector to have Amazon S3 protection activated                                                                                                              | `AWS::GuardDuty::Detector`<br/>                                                                     |
| [CT.IAM.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/iam-rules.html#ct-iam-pr-1-description)                                        | Require that an AWS Identity and Access Management (IAM) inline policy does not have a statement that includes "*" in the Action and Resource elements                                   | `AWS::IAM::Policy`<br/>`AWS::IAM::Role`<br/>`AWS::IAM::User`<br/>`AWS::IAM::Group`<br/>             |
| [CT.IAM.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/iam-rules.html#ct-iam-pr-2-description)                                        | Require that AWS Identity and Access Management (IAM) customer-managed policies do not contain a statement that includes "*" in the Action and Resource elements                         | `AWS::IAM::ManagedPolicy`<br/>                                                                      |
| [CT.IAM.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/iam-rules.html#ct-iam-pr-3-description)                                        | Require that AWS Identity and Access Management (IAM) customer-managed policies do not have wildcard service actions                                                                     | `AWS::IAM::ManagedPolicy`<br/>                                                                      |
| [CT.IAM.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/iam-rules.html#ct-iam-pr-4-description)                                        | Require that an AWS Identity and Access Management (IAM) user does not have an inline or managed policy attached attached                                                                | `AWS::IAM::User`<br/>`AWS::IAM::Policy`<br/>`AWS::IAM::ManagedPolicy`<br/>                          |
| [CT.IAM.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/iam-rules.html#ct-iam-pr-5-description)                                        | Require that AWS Identity and Access Management (IAM) inline policies do not have wildcard service actions                                                                               | `AWS::IAM::Policy`<br/>`AWS::IAM::Role`<br/>`AWS::IAM::User`<br/>`AWS::IAM::Group`<br/>             |
| [CT.KINESIS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/kinesis-rules.html#ct-kinesis-pr-1-description)                            | Require any Amazon Kinesis data stream to have encryption at rest configured                                                                                                             | `AWS::Kinesis::Stream`<br/>                                                                         |
| [CT.KMS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/kms-rules.html#ct-kms-pr-1-description)                                        | Require any AWS KMS key to have rotation configured                                                                                                                                      | `AWS::KMS::Key`<br/>                                                                                |
| [CT.KMS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/kms-rules.html#ct-kms-pr-2-description)                                        | Require that an AWS KMS asymmetric key with RSA key material used for encryption has a key length greater than 2048 bits                                                                 | `AWS::KMS::Key`<br/>                                                                                |
| [CT.KMS.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/kms-rules.html#ct-kms-pr-3-description)                                        | Require an AWS KMS key policy to have a statement that limits creation of AWS KMS grants to AWS services                                                                                 | `AWS::KMS::Key`<br/>                                                                                |
| [CT.LAMBDA.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/lambda-rules.html#ct-lambda-pr-2-description)                               | Require AWS Lambda function policies to prohibit public access                                                                                                                           | `AWS::Lambda::Permission`<br/>                                                                      |
| [CT.LAMBDA.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/lambda-rules.html#ct-lambda-pr-3-description)                               | Require an AWS Lambda function to be in a customer-managed Amazon Virtual Private Cloud (VPC)                                                                                            | `AWS::Lambda::Function`<br/>                                                                        |
| [CT.LAMBDA.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/lambda-rules.html#ct-lambda-pr-4-description)                               | Require an AWS Lambda layer permission to grant access to an AWS organization or specific AWS account                                                                                    | `AWS::Lambda::LayerVersionPermission`<br/>                                                          |
| [CT.LAMBDA.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/lambda-rules.html#ct-lambda-pr-5-description)                               | Require an AWS Lambda function URL to use AWS IAM-based authentication                                                                                                                   | `AWS::Lambda::Url`<br/>                                                                             |
| [CT.LAMBDA.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/lambda-rules.html#ct-lambda-pr-6-description)                               | Require an AWS Lambda function URL CORS policy to restrict access to specific origins                                                                                                    | `AWS::Lambda::Url`<br/>                                                                             |
| [CT.MQ.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/mq-rules.html#ct-mq-pr-1-description)                                           | Require an Amazon MQ ActiveMQ broker to use use active/standby deployment mode for high availability                                                                                     | `AWS::AmazonMQ::Broker`<br/>                                                                        |
| [CT.MQ.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/mq-rules.html#ct-mq-pr-2-description)                                           | Require an Amazon MQ Rabbit MQ broker to use Multi-AZ cluster mode for high availability                                                                                                 | `AWS::AmazonMQ::Broker`<br/>                                                                        |
| [CT.MSK.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/msk-rules.html#ct-msk-pr-1-description)                                        | Require an Amazon Managed Streaming for Apache Kafka (MSK) cluster to enforce encryption in transit between cluster broker nodes                                                         | `AWS::MSK::Cluster`<br/>                                                                            |
| [CT.MSK.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/msk-rules.html#ct-msk-pr-2-description)                                        | Require an Amazon Managed Streaming for Apache Kafka (MSK) cluster to be configured with PublicAccess disabled                                                                           | `AWS::MSK::Cluster`<br/>                                                                            |
| [CT.NEPTUNE.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/neptune-rules.html#ct-neptune-pr-1-description)                            | Require an Amazon Neptune DB cluster to have AWS Identity and Access Management (IAM) database authentication enabled                                                                    | `AWS::Neptune::DBCluster`<br/>                                                                      |
| [CT.NEPTUNE.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/neptune-rules.html#ct-neptune-pr-2-description)                            | Require an Amazon Neptune DB cluster to have deletion protection enabled                                                                                                                 | `AWS::Neptune::DBCluster`<br/>                                                                      |
| [CT.NEPTUNE.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/neptune-rules.html#ct-neptune-pr-3-description)                            | Require an Amazon Neptune DB cluster to have storage encryption enabled                                                                                                                  | `AWS::Neptune::DBCluster`<br/>                                                                      |
| [CT.NEPTUNE.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/neptune-rules.html#ct-neptune-pr-4-description)                            | Require an Amazon Neptune DB cluster to enable Amazon CloudWatch log export for audit logs                                                                                               | `AWS::Neptune::DBCluster`<br/>                                                                      |
| [CT.NEPTUNE.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/neptune-rules.html#ct-neptune-pr-5-description)                            | Require an Amazon Neptune DB cluster to set a backup retention period greater than or equal to seven days                                                                                | `AWS::Neptune::DBCluster`<br/>                                                                      |
| [CT.NETWORK-FIREWALL.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/network-firewall-rules.html#ct-network-firewall-pr-1-description) | Require any AWS Network Firewall firewall policy to have an associated rule group                                                                                                        | `AWS::NetworkFirewall::FirewallPolicy`<br/>                                                         |
| [CT.NETWORK-FIREWALL.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/network-firewall-rules.html#ct-network-firewall-pr-2-description) | Require any AWS Network Firewall firewall policy to drop or forward stateless full packets by default when they do not match a rule                                                      | `AWS::NetworkFirewall::FirewallPolicy`<br/>                                                         |
| [CT.NETWORK-FIREWALL.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/network-firewall-rules.html#ct-network-firewall-pr-3-description) | Require any AWS Network Firewall firewall policy to drop or forward fragmented packets by default when they do not match a stateless rule                                                | `AWS::NetworkFirewall::FirewallPolicy`<br/>                                                         |
| [CT.NETWORK-FIREWALL.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/network-firewall-rules.html#ct-network-firewall-pr-4-description) | Require any AWS Network Firewall rule group to contain at least one rule                                                                                                                 | `AWS::NetworkFirewall::RuleGroup`<br/>                                                              |
| [CT.NETWORK-FIREWALL.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/network-firewall-rules.html#ct-network-firewall-pr-5-description) | Require an AWS Network Firewall firewall to be deployed across multiple Availability Zones                                                                                               | `AWS::NetworkFirewall::Firewall`<br/>                                                               |
| [CT.OPENSEARCH.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-1-description)                   | Require an Elasticsearch domain to encrypt data at rest                                                                                                                                  | `AWS::Elasticsearch::Domain`<br/>                                                                   |
| [CT.OPENSEARCH.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-2-description)                   | Require an Elasticsearch domain to be created in a user-specified Amazon VPC                                                                                                             | `AWS::Elasticsearch::Domain`<br/>                                                                   |
| [CT.OPENSEARCH.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-3-description)                   | Require an Elasticsearch domain to encrypt data sent between nodes                                                                                                                       | `AWS::Elasticsearch::Domain`<br/>                                                                   |
| [CT.OPENSEARCH.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-4-description)                   | Require an Elasticsearch domain to send error logs to Amazon CloudWatch Logs                                                                                                             | `AWS::Elasticsearch::Domain`<br/>                                                                   |
| [CT.OPENSEARCH.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-5-description)                   | Require an Elasticsearch domain to send audit logs to Amazon CloudWatch Logs                                                                                                             | `AWS::Elasticsearch::Domain`<br/>                                                                   |
| [CT.OPENSEARCH.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-6-description)                   | Require an Elasticsearch domain to have zone awareness and at least three data nodes                                                                                                     | `AWS::Elasticsearch::Domain`<br/>                                                                   |
| [CT.OPENSEARCH.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-7-description)                   | Require an Elasticsearch domain to have at least three dedicated master nodes                                                                                                            | `AWS::Elasticsearch::Domain`<br/>                                                                   |
| [CT.OPENSEARCH.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-8-description)                   | Require an Elasticsearch Service domain to use TLSv1.2                                                                                                                                   | `AWS::Elasticsearch::Domain`<br/>                                                                   |
| [CT.OPENSEARCH.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-9-description)                   | Require an Amazon OpenSearch Service domain to encrypt data at rest                                                                                                                      | `AWS::OpenSearchService::Domain`<br/>                                                               |
| [CT.OPENSEARCH.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-10-description)                 | Require an Amazon OpenSearch Service domain to be created in a user-specified Amazon VPC                                                                                                 | `AWS::OpenSearchService::Domain`<br/>                                                               |
| [CT.OPENSEARCH.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-11-description)                 | Require an Amazon OpenSearch Service domain to encrypt data sent between nodes                                                                                                           | `AWS::OpenSearchService::Domain`<br/>                                                               |
| [CT.OPENSEARCH.PR.12](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-12-description)                 | Require an Amazon OpenSearch Service domain to send error logs to Amazon CloudWatch Logs                                                                                                 | `AWS::OpenSearchService::Domain`<br/>                                                               |
| [CT.OPENSEARCH.PR.13](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-13-description)                 | Require an Amazon OpenSearch Service domain to send audit logs to Amazon CloudWatch Logs                                                                                                 | `AWS::OpenSearchService::Domain`<br/>                                                               |
| [CT.OPENSEARCH.PR.14](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-14-description)                 | Require an Amazon OpenSearch Service domain to have zone awareness and at least three data nodes                                                                                         | `AWS::OpenSearchService::Domain`<br/>                                                               |
| [CT.OPENSEARCH.PR.15](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-15-description)                 | Require an Amazon OpenSearch Service domain to use fine-grained access control                                                                                                           | `AWS::OpenSearchService::Domain`<br/>                                                               |
| [CT.OPENSEARCH.PR.16](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-16-description)                 | Require an Amazon OpenSearch Service domain to use TLSv1.2                                                                                                                               | `AWS::OpenSearchService::Domain`<br/>                                                               |
| [CT.RDS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-1-description)                                        | Require that an Amazon RDS database instance is configured with multiple Availability Zones                                                                                              | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.RDS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-2-description)                                        | Require an Amazon RDS database instance or cluster to have enhanced monitoring configured                                                                                                | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.RDS.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-3-description)                                        | Require an Amazon RDS cluster to have deletion protection configured                                                                                                                     | `AWS::RDS::DBCluster`<br/>                                                                          |
| [CT.RDS.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-4-description)                                        | Require an Amazon RDS database cluster to have AWS IAM database authentication configured                                                                                                | `AWS::RDS::DBCluster`<br/>                                                                          |
| [CT.RDS.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-5-description)                                        | Require an Amazon RDS database instance to have minor version upgrades configured                                                                                                        | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.RDS.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-6-description)                                        | Require an Amazon RDS database cluster to have backtracking configured                                                                                                                   | `AWS::RDS::DBCluster`<br/>                                                                          |
| [CT.RDS.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-7-description)                                        | Require Amazon RDS database instances to have AWS IAM authentication configured                                                                                                          | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.RDS.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-8-description)                                        | Require an Amazon RDS database instance to have automatic backups configured                                                                                                             | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.RDS.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-9-description)                                        | Require an Amazon RDS database cluster to copy tags to snapshots                                                                                                                         | `AWS::RDS::DBCluster`<br/>                                                                          |
| [CT.RDS.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-10-description)                                      | Require an Amazon RDS database instance to copy tags to snapshots                                                                                                                        | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.RDS.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-11-description)                                      | Require an Amazon RDS database instance to have a VPC configuration                                                                                                                      | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.RDS.PR.12](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-12-description)                                      | Require an Amazon RDS event subscription to have critical cluster events configured                                                                                                      | `AWS::RDS::EventSubscription`<br/>                                                                  |
| [CT.RDS.PR.13](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-13-description)                                      | Require any Amazon RDS instance to have deletion protection configured                                                                                                                   | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.RDS.PR.14](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-14-description)                                      | Require an Amazon RDS database instance to export logs to Amazon CloudWatch Logs by means of the EnableCloudwatchLogsExports property                                                    | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.RDS.PR.15](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-15-description)                                      | Require that an Amazon RDS instance does not create DB security groups                                                                                                                   | `AWS::RDS::DBInstance`<br/>`AWS::RDS::DBSecurityGroup`<br/>                                         |
| [CT.RDS.PR.16](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-16-description)                                      | Require an Amazon RDS database cluster to have encryption at rest configured                                                                                                             | `AWS::RDS::DBCluster`<br/>                                                                          |
| [CT.RDS.PR.17](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-17-description)                                      | Require an Amazon RDS event notification subscription to have critical database instance events configured                                                                               | `AWS::RDS::EventSubscription`<br/>                                                                  |
| [CT.RDS.PR.18](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-18-description)                                      | Require an Amazon RDS event notification subscription to have critical database parameter group events configured                                                                        | `AWS::RDS::EventSubscription`<br/>                                                                  |
| [CT.RDS.PR.19](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-19-description)                                      | Require an Amazon RDS event notifications subscription to have critical database security group events configured                                                                        | `AWS::RDS::EventSubscription`<br/>                                                                  |
| [CT.RDS.PR.20](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-20-description)                                      | Require an Amazon RDS database instance not to use a database engine default port                                                                                                        | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.RDS.PR.21](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-21-description)                                      | Require an Amazon RDS DB cluster to have a unique administrator username                                                                                                                 | `AWS::RDS::DBCluster`<br/>                                                                          |
| [CT.RDS.PR.22](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-22-description)                                      | Require an Amazon RDS database instance to have a unique administrator username                                                                                                          | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.RDS.PR.23](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-23-description)                                      | Require an Amazon RDS database instance to not be publicly accessible                                                                                                                    | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.RDS.PR.24](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-24-description)                                      | Require an Amazon RDS database instance to have encryption at rest configured                                                                                                            | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.RDS.PR.25](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-25-description)                                      | Require an Amazon RDS database cluster to export logs to Amazon CloudWatch Logs by means of the EnableCloudwatchLogsExports property                                                     | `AWS::RDS::DBCluster`<br/>                                                                          |
| [CT.RDS.PR.26](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-26-description)                                      | Require an Amazon RDS DB Proxy to require Transport Layer Security (TLS) connections                                                                                                     | `AWS::RDS::DBProxy`<br/>                                                                            |
| [CT.RDS.PR.27](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-27-description)                                      | Require an Amazon RDS DB cluster parameter group to require Transport Layer Security (TLS) connections for supported engine types                                                        | `AWS::RDS::DBClusterParameterGroup`<br/>                                                            |
| [CT.RDS.PR.28](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-28-description)                                      | Require an Amazon RDS DB parameter group to require Transport Layer Security (TLS) connections for supported engine types                                                                | `AWS::RDS::DBParameterGroup`<br/>                                                                   |
| [CT.RDS.PR.29](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-29-description)                                      | Require an Amazon RDS cluster not be configured to be publicly accessible by means of the 'PubliclyAccessible' property                                                                  | `AWS::RDS::DBCluster`<br/>                                                                          |
| [CT.RDS.PR.30](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-30-description)                                      | Require that an Amazon RDS database instance has encryption at rest configured to use a KMS key that you specify for supported engine types                                              | `AWS::RDS::DBInstance`<br/>                                                                         |
| [CT.REDSHIFT.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-1-description)                         | Require an Amazon Redshift cluster to prohibit public access                                                                                                                             | `AWS::Redshift::Cluster`<br/>                                                                       |
| [CT.REDSHIFT.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-2-description)                         | Require an Amazon Redshift cluster to have automatic snapshots configured                                                                                                                | `AWS::Redshift::Cluster`<br/>                                                                       |
| [CT.REDSHIFT.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-3-description)                         | Require an Amazon Redshift cluster to have audit logging configured                                                                                                                      | `AWS::Redshift::Cluster`<br/>                                                                       |
| [CT.REDSHIFT.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-4-description)                         | Require an Amazon Redshift cluster to have automatic upgrades to major versions configured                                                                                               | `AWS::Redshift::Cluster`<br/>                                                                       |
| [CT.REDSHIFT.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-5-description)                         | Require an Amazon Redshift cluster to have enhanced VPC routing                                                                                                                          | `AWS::Redshift::Cluster`<br/>                                                                       |
| [CT.REDSHIFT.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-6-description)                         | Require an Amazon Redshift cluster to have a unique administrator username                                                                                                               | `AWS::Redshift::Cluster`<br/>                                                                       |
| [CT.REDSHIFT.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-7-description)                         | Require an Amazon Redshift cluster to have a unique database name                                                                                                                        | `AWS::Redshift::Cluster`<br/>                                                                       |
| [CT.REDSHIFT.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-8-description)                         | Require an Amazon Redshift cluster to be encrypted                                                                                                                                       | `AWS::Redshift::Cluster`<br/>                                                                       |
| [CT.REDSHIFT.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-9-description)                         | Require that an Amazon Redshift cluster parameter group is configured to use Secure Sockets Layer (SSL) for encryption of data in transit                                                | `AWS::Redshift::ClusterParameterGroup`<br/>                                                         |
| [CT.S3.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-1-description)                                           | Require an Amazon S3 bucket to have block public access settings configured                                                                                                              | `AWS::S3::Bucket`<br/>                                                                              |
| [CT.S3.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-2-description)                                           | Require an Amazon S3 bucket to have server access logging configured                                                                                                                     | `AWS::S3::Bucket`<br/>                                                                              |
| [CT.S3.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-3-description)                                           | Require an Amazon S3 buckets to have versioning configured and a lifecycle policy                                                                                                        | `AWS::S3::Bucket`<br/>                                                                              |
| [CT.S3.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-4-description)                                           | Require an Amazon S3 bucket to have event notifications configured                                                                                                                       | `AWS::S3::Bucket`<br/>                                                                              |
| [CT.S3.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-5-description)                                           | Require that an Amazon S3 bucket does not manage user access with an access control list (ACL)                                                                                           | `AWS::S3::Bucket`<br/>                                                                              |
| [CT.S3.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-6-description)                                           | Require an Amazon S3 bucket to have lifecycle policies configured                                                                                                                        | `AWS::S3::Bucket`<br/>                                                                              |
| [CT.S3.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-8-description)                                           | Require that Amazon S3 bucket requests use Secure Sockets Layer                                                                                                                          | `AWS::S3::BucketPolicy`<br/>                                                                        |
| [CT.S3.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-9-description)                                           | Require that an Amazon S3 bucket has S3 Object Lock activated                                                                                                                            | `AWS::S3::Bucket`<br/>                                                                              |
| [CT.S3.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-10-description)                                         | Require an Amazon S3 bucket to have server-side encryption configured using an AWS KMS key                                                                                               | `AWS::S3::Bucket`<br/>                                                                              |
| [CT.S3.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-11-description)                                         | Require an Amazon S3 bucket to have versioning enabled                                                                                                                                   | `AWS::S3::Bucket`<br/>                                                                              |
| [CT.S3.PR.12](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-12-description)                                         | Require an Amazon S3 access point to have a Block Public Access (BPA) configuration with all options set to true                                                                         | `AWS::S3::AccessPoint`<br/>                                                                         |
| [CT.SAGEMAKER.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/sagemaker-rules.html#ct-sagemaker-pr-1-description)                      | Require an Amazon SageMaker notebook instance to prevent direct internet access                                                                                                          | `AWS::SageMaker::NotebookInstance`<br/>                                                             |
| [CT.SAGEMAKER.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/sagemaker-rules.html#ct-sagemaker-pr-2-description)                      | Require Amazon SageMaker notebook instances to be deployed within a custom Amazon VPC                                                                                                    | `AWS::SageMaker::NotebookInstance`<br/>                                                             |
| [CT.SAGEMAKER.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/sagemaker-rules.html#ct-sagemaker-pr-3-description)                      | Require Amazon SageMaker notebook instances to have root access disallowed                                                                                                               | `AWS::SageMaker::NotebookInstance`<br/>                                                             |
| [CT.SQS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/sqs-rules.html#ct-sqs-pr-1-description)                                        | Require any Amazon SQS queue to have a dead-letter queue configured                                                                                                                      | `AWS::SQS::Queue`<br/>                                                                              |
| [CT.SQS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/sqs-rules.html#ct-sqs-pr-2-description)                                        | Require any Amazon SQS queue to have encryption at rest configured                                                                                                                       | `AWS::SQS::Queue`<br/>                                                                              |
| [CT.STEPFUNCTIONS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/stepfunctions-rules.html#ct-stepfunctions-pr-1-description)          | Require an AWS Step Functions state machine to have logging activated                                                                                                                    | `AWS::StepFunctions::StateMachine`<br/>                                                             |
| [CT.STEPFUNCTIONS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/stepfunctions-rules.html#ct-stepfunctions-pr-2-description)          | Require an AWS Step Functions state machine to have AWS X-Ray tracing activated                                                                                                          | `AWS::StepFunctions::StateMachine`<br/>                                                             |
| [CT.WAF-REGIONAL.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/waf-regional-rules.html#ct-waf-regional-pr-1-description)             | Require any AWS WAF Classic regional rule to have a condition                                                                                                                            | `AWS::WAFRegional::Rule`<br/>                                                                       |
| [CT.WAF-REGIONAL.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/waf-regional-rules.html#ct-waf-regional-pr-2-description)             | Require any AWS WAF Classic regional web access control list (ACL) to have a rule or rule group                                                                                          | `AWS::WAFRegional::WebACL`<br/>                                                                     |
| [CT.WAF.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/waf-rules.html#ct-waf-pr-1-description)                                        | Require any AWS WAF Classic global rule to have a condition                                                                                                                              | `AWS::WAF::Rule`<br/>                                                                               |
| [CT.WAF.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/waf-rules.html#ct-waf-pr-2-description)                                        | Require any AWS WAF Classic global web ACL to have a rule or rule group                                                                                                                  | `AWS::WAF::WebACL`<br/>                                                                             |
| [CT.WAFV2.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/wafv2-rules.html#ct-wafv2-pr-1-description)                                  | Require an AWS WAF web ACL to be non-empty                                                                                                                                               | `AWS::WAFv2::WebACL`<br/>                                                                           |
| [CT.WAFV2.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/wafv2-rules.html#ct-wafv2-pr-2-description)                                  | Require an AWS WAF rule group to be non-empty                                                                                                                                            | `AWS::WAFv2::RuleGroup`<br/>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/cdklabs/cdk-validator-cfnguard.git",
    "name": "cdklabs.cdk-validator-cfnguard",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Amazon Web Services<aws-cdk-dev@amazon.com>",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/a4/dd/7447f4b2985ed7b3deb24adaca971aa6058a245afa7669e8ce5cce8eb129/cdklabs.cdk-validator-cfnguard-0.0.58.tar.gz",
    "platform": null,
    "description": "# CDK CFN Guard Validator Plugin\n\n<!--BEGIN STABILITY BANNER-->---\n\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n<!--END STABILITY BANNER-->\n\n## Installing\n\n### TypeScript/JavaScript\n\n```bash\nnpm install @cdklabs/cdk-validator-cfnguard\n```\n\n### Python\n\n```bash\npip install cdklabs.cdk-validator-cfnguard\n```\n\n### Java\n\n```xml\n// add this to your pom.xml\n<dependency>\n    <groupId>io.github.cdklabs</groupId>\n    <artifactId>cdk-validator-cfnguard</artifactId>\n    <version>0.0.0</version> // replace with version\n</dependency>\n```\n\n### .NET\n\n```bash\ndotnet add package Cdklabs.CdkValidatorCfnGuard --version X.X.X\n```\n\n## Usage\n\nTo use this plugin in your CDK application add it to the CDK App.\n\n```python\nApp(\n    policy_validation_beta1=[\n        CfnGuardValidator()\n    ]\n)\n```\n\nBy default the `CfnGuardValidator` plugin comes with the [Control Tower\nproactive\ncontrols](https://docs.aws.amazon.com/controltower/latest/userguide/proactive-controls.html)\nenabled. In order to disable these rules you can use the\n`controlTowerRulesEnabled: false` property.\n\n```python\nCfnGuardValidator(\n    control_tower_rules_enabled=False\n)\n```\n\nIt is also possible to disable individual rules.\n\n```python\nCfnGuardValidator(\n    disabled_rules=[\"ct-s3-pr-1\"\n    ]\n)\n```\n\n### Additional rules\n\nTo provide additional rules to the plugin, provide a list of local\nfile or directory paths.\n\n```python\nCfnGuardValidator(\n    rules=[\"path/to/local-rules-directory\", \"path/to/s3/local-rules/my-rule.guard\"\n    ]\n)\n```\n\nIf the path provided is a directory then the directory must only\ncontain guard rule files, and all rules within the directory will be used.\n\n## Using the bundled Control Tower proactive controls in CDK\n\nThe bundled Control Tower proactive controls use CloudFormation Guard\npolicies that are also used in managed controls from the Control Tower\nservice. You can use these CDK bundled controls without having a Control\nTower environment in AWS, but there are many benefits to using the two together.\n\nWhen you enable Control Tower proactive controls in your Control Tower environment,\nthe controls can stop the deployment of non-compliant resources deployed via\nCloudFormation. For more information about managed proactive controls and how they work,\nsee the [Control Tower documentation](https://docs.aws.amazon.com/controltower/latest/userguide/proactive-controls.html).\n\nThese CDK bundled controls and managed Control Tower proactive controls are best used together.\nIn this scenario you can configure this validation plugin with the same proactive controls that\nare active in your Control Tower cloud environment. You can then quickly gain confidence\nthat your CDK application will pass the Control Tower controls by running cdk synth locally\nor in a pipeline as described above.\n\nRegardless of whether you or your organization use Control Tower, however, you should\nunderstand the following things about these bundled controls when run locally using this plugin:\n\n1. These CloudFormation guard policies accept a limited subset of CloudFormation syntax\n   for the properties they evaluate. For instance, a property called EncryptionEnabled may\n   pass if it is specified with the literal value true, but it may fail if it is specified with\n   a reference to a CloudFormation stack parameter instead. Similarly, if a rule checks for a string\n   value, it may fail for Fn::Join objects. If you discover that a rule can be bypassed with a\n   particular configuration of a resource, please file an issue.\n2. Some rules may check references to other resources, but this reference checking is limited.\n   For instance, a rule may require that an access logging bucket is specified for each S3 bucket.\n   In this case, the rule can check whether you have passed a reference to a bucket in the same\n   template, but it cannot verify that a hardcoded bucket name like \"examplebucket\" actually refers\n   to a real bucket or a bucket you own.\n\nYou can add a layer of security protection by enabling the same proactive controls in your Control Tower\ncloud environment. There are different considerations for using these controls since they operate in a\ndifferent way. For more information, see the [Control Tower proactive controls documentation](https://docs.aws.amazon.com/controltower/latest/userguide/proactive-controls.html).\n\nIf you do not yet have a Control Tower environment, see [What is AWS Control Tower?](https://docs.aws.amazon.com/controltower/latest/userguide/what-is-control-tower.html).\n\n### Bundled Control Tower Rules\n\n| ID                                                                                                                                                     | Name                                                                                                                                                                                     | Evaluated Resource Types                                                                            |\n| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |\n| [CT.ACM.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/acm-rules.html#ct-acm-pr-1-description)                                        | Require an AWS Private CA certificate to have a single domain name                                                                                                                       | `AWS::CertificateManager::Certificate`<br/>                                                         |\n| [CT.APIGATEWAY.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/api-gateway-rules.html#ct-apigateway-pr-1-description)                  | Require an Amazon API Gateway REST and WebSocket API to have logging activated                                                                                                           | `AWS::ApiGateway::Stage`<br/>                                                                       |\n| [CT.APIGATEWAY.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/api-gateway-rules.html#ct-apigateway-pr-2-description)                  | Require an Amazon API Gateway REST API stage to have AWS X-Ray tracing activated                                                                                                         | `AWS::ApiGateway::Stage`<br/>                                                                       |\n| [CT.APIGATEWAY.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/api-gateway-rules.html#ct-apigateway-pr-3-description)                  | Require that an Amazon API Gateway REST API stage has encryption at rest configured for cache data                                                                                       | `AWS::ApiGateway::Stage`<br/>                                                                       |\n| [CT.APIGATEWAY.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/api-gateway-rules.html#ct-apigateway-pr-4-description)                  | Require an Amazon API Gateway V2 stage to have access logging activated                                                                                                                  | `AWS::ApiGatewayV2::Stage`<br/>                                                                     |\n| [CT.APIGATEWAY.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/api-gateway-rules.html#ct-apigateway-pr-5-description)                  | Require Amazon API Gateway V2 Websocket and HTTP routes to specify an authorization type                                                                                                 | `AWS::ApiGatewayV2::Route`<br/>`AWS::ApiGatewayV2::ApiGatewayManagedOverrides`<br/>                 |\n| [CT.APIGATEWAY.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/api-gateway-rules.html#ct-apigateway-pr-6-description)                  | Require an Amazon API Gateway REST domain to use a security policy that specifies a minimum TLS protocol version of TLSv1.2                                                              | `AWS::ApiGateway::DomainName`<br/>                                                                  |\n| [CT.APPSYNC.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/appsync-rules.html#ct-appsync-pr-1-description)                            | Require an AWS AppSync GraphQL API to have logging enabled                                                                                                                               | `AWS::AppSync::GraphQLApi`<br/>                                                                     |\n| [CT.APPSYNC.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/appsync-rules.html#ct-appsync-pr-2-description)                            | Require an AWS AppSync GraphQL API to be configured with private visibility                                                                                                              | `AWS::AppSync::GraphQLApi`<br/>                                                                     |\n| [CT.APPSYNC.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/appsync-rules.html#ct-appsync-pr-3-description)                            | Require that an AWS AppSync GraphQL API is not authenticated with API keys                                                                                                               | `AWS::AppSync::GraphQLApi`<br/>                                                                     |\n| [CT.APPSYNC.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/appsync-rules.html#ct-appsync-pr-4-description)                            | Require an AWS AppSync GraphQL API cache to have encryption in transit enabled.                                                                                                          | `AWS::AppSync::ApiCache`<br/>                                                                       |\n| [CT.APPSYNC.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/appsync-rules.html#ct-appsync-pr-5-description)                            | Require an AWS AppSync GraphQL API cache to have encryption at rest enabled.                                                                                                             | `AWS::AppSync::ApiCache`<br/>                                                                       |\n| [CT.ATHENA.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/athena-rules.html#ct-athena-pr-1-description)                               | Require an Amazon Athena workgroup to encrypt Athena query results at rest                                                                                                               | `AWS::Athena::WorkGroup`<br/>                                                                       |\n| [CT.ATHENA.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/athena-rules.html#ct-athena-pr-2-description)                               | Require an Amazon Athena workgroup to encrypt Athena query results at rest with an AWS Key Management Service (KMS) key                                                                  | `AWS::Athena::WorkGroup`<br/>                                                                       |\n| [CT.AUTOSCALING.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-1-description)           | Require an Amazon EC2 Auto Scaling group to have multiple Availability Zones                                                                                                             | `AWS::AutoScaling::AutoScalingGroup`<br/>                                                           |\n| [CT.AUTOSCALING.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-2-description)           | Require an Amazon EC2 Auto Scaling group launch configuration to configure Amazon EC2 instances for IMDSv2                                                                               | `AWS::AutoScaling::LaunchConfiguration`<br/>                                                        |\n| [CT.AUTOSCALING.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-3-description)           | Require an Amazon EC2 Auto Scaling launch configuration to have a single-hop metadata response limit                                                                                     | `AWS::AutoScaling::LaunchConfiguration`<br/>                                                        |\n| [CT.AUTOSCALING.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-4-description)           | Require an Amazon EC2 Auto Scaling group associated with an AWS Elastic Load Balancer (ELB) to have ELB health checks activated                                                          | `AWS::AutoScaling::AutoScalingGroup`<br/>                                                           |\n| [CT.AUTOSCALING.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-5-description)           | Require that an Amazon EC2 Auto Scaling group launch configuration does not have Amazon EC2 instances with public IP addresses                                                           | `AWS::AutoScaling::LaunchConfiguration`<br/>                                                        |\n| [CT.AUTOSCALING.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-6-description)           | Require any Amazon EC2 Auto Scaling groups to use multiple instance types                                                                                                                | `AWS::AutoScaling::AutoScalingGroup`<br/>                                                           |\n| [CT.AUTOSCALING.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-8-description)           | Require an Amazon EC2 Auto Scaling group to have EC2 launch templates configured                                                                                                         | `AWS::AutoScaling::AutoScalingGroup`<br/>                                                           |\n| [CT.AUTOSCALING.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-9-description)           | Require an Amazon EBS volume configured through an Amazon EC2 Auto Scaling launch configuration to encrypt data at rest                                                                  | `AWS::AutoScaling::LaunchConfiguration`<br/>                                                        |\n| [CT.AUTOSCALING.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-10-description)         | Require an Amazon EC2 Auto Scaling group to use only AWS Nitro instance types when overriding a launch template                                                                          | `AWS::AutoScaling::AutoScalingGroup`<br/>                                                           |\n| [CT.AUTOSCALING.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-auto-scaling-rules.html#ct-autoscaling-pr-11-description)         | Require only AWS Nitro instance types that support network traffic encryption between instances to be added to an Amazon EC2 Auto Scaling group, when overriding a launch template       | `AWS::AutoScaling::AutoScalingGroup`<br/>                                                           |\n| [CT.CLOUDFRONT.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-1-description)                   | Require an Amazon CloudFront distribution to have a default root object configured                                                                                                       | `AWS::CloudFront::Distribution`<br/>                                                                |\n| [CT.CLOUDFRONT.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-3-description)                   | Require an Amazon CloudFront distribution to have encryption in transit configured                                                                                                       | `AWS::CloudFront::Distribution`<br/>                                                                |\n| [CT.CLOUDFRONT.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-4-description)                   | Require an Amazon CloudFront distribution to have origin failover configured                                                                                                             | `AWS::CloudFront::Distribution`<br/>                                                                |\n| [CT.CLOUDFRONT.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-5-description)                   | Require any Amazon CloudFront distribution to have logging enabled                                                                                                                       | `AWS::CloudFront::Distribution`<br/>                                                                |\n| [CT.CLOUDFRONT.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-6-description)                   | Require an Amazon CloudFront distribution to use custom SSL/TLS certificates                                                                                                             | `AWS::CloudFront::Distribution`<br/>                                                                |\n| [CT.CLOUDFRONT.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-7-description)                   | Require an Amazon CloudFront distribution to use SNI to serve HTTPS requests                                                                                                             | `AWS::CloudFront::Distribution`<br/>                                                                |\n| [CT.CLOUDFRONT.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-8-description)                   | Require an Amazon CloudFront distribution to encrypt traffic to custom origins                                                                                                           | `AWS::CloudFront::Distribution`<br/>                                                                |\n| [CT.CLOUDFRONT.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-9-description)                   | Require an Amazon CloudFront distribution to have a security policy of TLSv1.2 as a minimum                                                                                              | `AWS::CloudFront::Distribution`<br/>                                                                |\n| [CT.CLOUDFRONT.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-10-description)                 | Require any Amazon CloudFront distributions with Amazon S3 backed origins to have origin access control configured                                                                       | `AWS::CloudFront::Distribution`<br/>                                                                |\n| [CT.CLOUDFRONT.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/cloudfront-rules.html#ct-cloudfront-pr-11-description)                 | Require an Amazon CloudFront distribution to use updated SSL protocols between edge locations and custom origins                                                                         | `AWS::CloudFront::Distribution`<br/>                                                                |\n| [CT.CLOUDTRAIL.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/cloudtrail-rules.html#ct-cloudtrail-pr-1-description)                   | Require an AWS CloudTrail trail to have encryption at rest activated                                                                                                                     | `AWS::CloudTrail::Trail`<br/>                                                                       |\n| [CT.CLOUDTRAIL.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/cloudtrail-rules.html#ct-cloudtrail-pr-2-description)                   | Require an AWS CloudTrail trail to have log file validation activated                                                                                                                    | `AWS::CloudTrail::Trail`<br/>                                                                       |\n| [CT.CLOUDTRAIL.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/cloudtrail-rules.html#ct-cloudtrail-pr-3-description)                   | Require an AWS CloudTrail trail to have an Amazon CloudWatch log group configuration                                                                                                     | `AWS::CloudTrail::Trail`<br/>                                                                       |\n| [CT.CLOUDTRAIL.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/cloudtrail-rules.html#ct-cloudtrail-pr-4-description)                   | Require an AWS CloudTrail Lake event data store to enable encryption at rest with an AWS KMS key                                                                                         | `AWS::CloudTrail::EventDataStore`<br/>                                                              |\n| [CT.CLOUDWATCH.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/cloudwatch-rules.html#ct-cloudwatch-pr-1-description)                   | Require an Amazon CloudWatch alarm to have an action configured for the alarm state                                                                                                      | `AWS::CloudWatch::Alarm`<br/>                                                                       |\n| [CT.CLOUDWATCH.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/cloudwatch-rules.html#ct-cloudwatch-pr-2-description)                   | Require an Amazon CloudWatch log group to be retained for at least one year                                                                                                              | `AWS::Logs::LogGroup`<br/>                                                                          |\n| [CT.CLOUDWATCH.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/cloudwatch-rules.html#ct-cloudwatch-pr-3-description)                   | Require an Amazon CloudWatch log group to be encrypted at rest with an AWS KMS key                                                                                                       | `AWS::Logs::LogGroup`<br/>                                                                          |\n| [CT.CLOUDWATCH.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/cloudwatch-rules.html#ct-cloudwatch-pr-4-description)                   | Require an Amazon CloudWatch alarm to have actions activated                                                                                                                             | `AWS::CloudWatch::Alarm`<br/>                                                                       |\n| [CT.CODEBUILD.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/codebuild-rules.html#ct-codebuild-pr-1-description)                      | Require OAuth on GitHub or Bitbucket source repository URLs for AWS CodeBuild projects                                                                                                   | `AWS::CodeBuild::Project`<br/>                                                                      |\n| [CT.CODEBUILD.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/codebuild-rules.html#ct-codebuild-pr-2-description)                      | Require any AWS CodeBuild project environment variable to encrypt credentials in environment variables                                                                                   | `AWS::CodeBuild::Project`<br/>                                                                      |\n| [CT.CODEBUILD.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/codebuild-rules.html#ct-codebuild-pr-3-description)                      | Require any AWS CodeBuild project environment to have logging configured                                                                                                                 | `AWS::CodeBuild::Project`<br/>                                                                      |\n| [CT.CODEBUILD.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/codebuild-rules.html#ct-codebuild-pr-4-description)                      | Require any AWS CodeBuild project to deactivate privileged mode when running                                                                                                             | `AWS::CodeBuild::Project`<br/>                                                                      |\n| [CT.CODEBUILD.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/codebuild-rules.html#ct-codebuild-pr-5-description)                      | Require encryption on all AWS CodeBuild project artifacts                                                                                                                                | `AWS::CodeBuild::Project`<br/>                                                                      |\n| [CT.CODEBUILD.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/codebuild-rules.html#ct-codebuild-pr-6-description)                      | Require encryption on all Amazon S3 logs for AWS CodeBuild projects                                                                                                                      | `AWS::CodeBuild::Project`<br/>                                                                      |\n| [CT.DAX.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/dax-rules.html#ct-dax-pr-1-description)                                        | Require encryption at rest for all Amazon DynamoDB Accelerator (DAX) clusters                                                                                                            | `AWS::DAX::Cluster`<br/>                                                                            |\n| [CT.DAX.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/dax-rules.html#ct-dax-pr-2-description)                                        | Require an Amazon DAX cluster to deploy nodes to at least three Availability Zones                                                                                                       | `AWS::DAX::Cluster`<br/>                                                                            |\n| [CT.DAX.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/dax-rules.html#ct-dax-pr-3-description)                                        | Require an Amazon DAX cluster to encrypt data in transit with Transport Layer Security (TLS)                                                                                             | `AWS::DAX::Cluster`<br/>                                                                            |\n| [CT.DMS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/dms-rules.html#ct-dms-pr-1-description)                                        | Require that a public AWS DMS replication instance is not public                                                                                                                         | `AWS::DMS::ReplicationInstance`<br/>                                                                |\n| [CT.DMS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/dms-rules.html#ct-dms-pr-2-description)                                        | Require an AWS Database Migration Service (DMS) Endpoint to encrypt connections for source and target endpoints                                                                          | `AWS::DMS::Endpoint`<br/>                                                                           |\n| [CT.DOCUMENTDB.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/documentdb-rules.html#ct-documentdb-pr-1-description)                   | Require an Amazon DocumentDB cluster to be encrypted at rest                                                                                                                             | `AWS::DocDB::DBCluster`<br/>                                                                        |\n| [CT.DOCUMENTDB.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/documentdb-rules.html#ct-documentdb-pr-2-description)                   | Require an Amazon DocumentDB cluster to have a backup retention period greater than or equal to seven days                                                                               | `AWS::DocDB::DBCluster`<br/>                                                                        |\n| [CT.DYNAMODB.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/dynamodb-rules.html#ct-dynamodb-pr-1-description)                         | Require that point-in-time recovery for an Amazon DynamoDB table is activated                                                                                                            | `AWS::DynamoDB::Table`<br/>                                                                         |\n| [CT.DYNAMODB.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/dynamodb-rules.html#ct-dynamodb-pr-2-description)                         | Require an Amazon DynamoDB table to be encrypted at rest using an AWS KMS key                                                                                                            | `AWS::DynamoDB::Table`<br/>                                                                         |\n| [CT.EC2.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-1-description)                                        | Require an Amazon EC2 launch template to have IMDSv2 configured                                                                                                                          | `AWS::EC2::LaunchTemplate`<br/>                                                                     |\n| [CT.EC2.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-2-description)                                        | Require that Amazon EC2 launch templates restrict the token hop limit to a maximum of one                                                                                                | `AWS::EC2::LaunchTemplate`<br/>                                                                     |\n| [CT.EC2.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-3-description)                                        | Require that any Amazon EC2 security group rule does not use the source IP range 0.0.0.0/0 or ::/0 for ports other than 80 and 443                                                       | `AWS::EC2::SecurityGroup`<br/>`AWS::EC2::SecurityGroupIngress`<br/>                                 |\n| [CT.EC2.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-4-description)                                        | Require that any Amazon EC2 security group rule does not use the source IP range 0.0.0.0/0 or ::/0 for specific high-risk ports                                                          | `AWS::EC2::SecurityGroup`<br/>`AWS::EC2::SecurityGroupIngress`<br/>                                 |\n| [CT.EC2.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-5-description)                                        | Require any Amazon EC2 network ACL to prevent ingress from 0.0.0.0/0 to port 22 or port 3389                                                                                             | `AWS::EC2::NetworkAclEntry`<br/>                                                                    |\n| [CT.EC2.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-6-description)                                        | Require that Amazon EC2 transit gateways refuse automatic Amazon VPC attachment requests                                                                                                 | `AWS::EC2::TransitGateway`<br/>                                                                     |\n| [CT.EC2.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-7-description)                                        | Require an Amazon EBS volume resource to be encrypted at rest when defined by means of the AWS::EC2::Instance BlockDeviceMappings property or AWS::EC2::Volume resource type             | `AWS::EC2::Instance`<br/>`AWS::EC2::Volume`<br/>                                                    |\n| [CT.EC2.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-8-description)                                        | Require an Amazon EC2 instance to set AssociatePublicIpAddress to false on a new network interface created by means of the NetworkInterfaces property in the AWS::EC2::Instance resource | `AWS::EC2::Instance`<br/>                                                                           |\n| [CT.EC2.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-9-description)                                        | Require any Amazon EC2 launch template not to auto-assign public IP addresses to network interfaces                                                                                      | `AWS::EC2::LaunchTemplate`<br/>                                                                     |\n| [CT.EC2.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-10-description)                                      | Require Amazon EC2 launch templates to have Amazon CloudWatch detailed monitoring activated                                                                                              | `AWS::EC2::LaunchTemplate`<br/>                                                                     |\n| [CT.EC2.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-11-description)                                      | Require that an Amazon EC2 subnet does not automatically assign public IP addresses                                                                                                      | `AWS::EC2::Subnet`<br/>                                                                             |\n| [CT.EC2.PR.12](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-12-description)                                      | Require an Amazon EC2 instance to specify at most one network interface by means of the NetworkInterfaces property in the AWS::EC2::Instance resource                                    | `AWS::EC2::Instance`<br/>                                                                           |\n| [CT.EC2.PR.13](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-13-description)                                      | Require an Amazon EC2 instance to have detailed monitoring enabled                                                                                                                       | `AWS::EC2::Instance`<br/>                                                                           |\n| [CT.EC2.PR.14](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-14-description)                                      | Require an Amazon EBS volume configured through an Amazon EC2 launch template to encrypt data at rest                                                                                    | `AWS::EC2::LaunchTemplate`<br/>                                                                     |\n| [CT.EC2.PR.15](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-15-description)                                      | Require an Amazon EC2 instance to use an AWS Nitro instance type when creating from the 'AWS::EC2::LaunchTemplate' resource type                                                         | `AWS::EC2::LaunchTemplate`<br/>                                                                     |\n| [CT.EC2.PR.16](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-16-description)                                      | Require an Amazon EC2 instance to use an AWS Nitro instance type when created using the 'AWS::EC2::Instance' resource type                                                               | `AWS::EC2::Instance`<br/>                                                                           |\n| [CT.EC2.PR.17](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-17-description)                                      | Require an Amazon EC2 dedicated host to use an AWS Nitro instance type                                                                                                                   | `AWS::EC2::Host`<br/>                                                                               |\n| [CT.EC2.PR.18](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-18-description)                                      | Require an Amazon EC2 fleet to override only those launch templates with AWS Nitro instance types                                                                                        | `AWS::EC2::EC2Fleet`<br/>                                                                           |\n| [CT.EC2.PR.19](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-19-description)                                      | Require an EC2 instance to use an AWS Nitro instance type that supports encryption in-transit between instances when created using the AWS::EC2::Instance resource type                  | `AWS::EC2::Instance`<br/>                                                                           |\n| [CT.EC2.PR.20](https://docs.aws.amazon.com/controltower/latest/userguide/ec2-rules.html#ct-ec2-pr-20-description)                                      | Require an Amazon EC2 fleet to override only those launch templates with AWS Nitro instance types that support encryption in transit between instances                                   | `AWS::EC2::EC2Fleet`<br/>                                                                           |\n| [CT.ECR.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/ecr-rules.html#ct-ecr-pr-1-description)                                        | Require Amazon ECR repositories to have a lifecycle policy configured                                                                                                                    | `AWS::ECR::Repository`<br/>                                                                         |\n| [CT.ECR.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/ecr-rules.html#ct-ecr-pr-2-description)                                        | Require Amazon ECR private repositories to have image scanning enabled                                                                                                                   | `AWS::ECR::Repository`<br/>                                                                         |\n| [CT.ECR.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/ecr-rules.html#ct-ecr-pr-3-description)                                        | Require Amazon ECR private repositories to have tag immutability enabled                                                                                                                 | `AWS::ECR::Repository`<br/>                                                                         |\n| [CT.ECS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-1-description)                                        | Require AWS ECS Fargate Services to run on the latest Fargate platform version                                                                                                           | `AWS::ECS::Service`<br/>                                                                            |\n| [CT.ECS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-2-description)                                        | Require any Amazon ECS cluster to have container insights activated                                                                                                                      | `AWS::ECS::Cluster`<br/>                                                                            |\n| [CT.ECS.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-3-description)                                        | Require any Amazon ECS task definition to specify a user that is not the root                                                                                                            | `AWS::ECS::TaskDefinition`<br/>                                                                     |\n| [CT.ECS.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-4-description)                                        | Require Amazon ECS tasks to use 'awsvpc' networking mode                                                                                                                                 | `AWS::ECS::TaskDefinition`<br/>                                                                     |\n| [CT.ECS.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-5-description)                                        | Require an active Amazon ECS task definition to have a logging configuration                                                                                                             | `AWS::ECS::TaskDefinition`<br/>                                                                     |\n| [CT.ECS.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-6-description)                                        | Require Amazon ECS containers to allow read-only access to the root filesystem                                                                                                           | `AWS::ECS::TaskDefinition`<br/>                                                                     |\n| [CT.ECS.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-7-description)                                        | Require an Amazon ECS task definition to have a specific memory usage limit                                                                                                              | `AWS::ECS::TaskDefinition`<br/>                                                                     |\n| [CT.ECS.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-8-description)                                        | Require Amazon ECS task definitions to have secure networking modes and user definitions                                                                                                 | `AWS::ECS::TaskDefinition`<br/>                                                                     |\n| [CT.ECS.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-9-description)                                        | Require Amazon ECS services not to assign public IP addresses automatically                                                                                                              | `AWS::ECS::Service`<br/>                                                                            |\n| [CT.ECS.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-10-description)                                      | Require that Amazon ECS task definitions do not share the host's process namespace                                                                                                       | `AWS::ECS::TaskDefinition`<br/>                                                                     |\n| [CT.ECS.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-11-description)                                      | Require an Amazon ECS container to run as non-privileged                                                                                                                                 | `AWS::ECS::TaskDefinition`<br/>                                                                     |\n| [CT.ECS.PR.12](https://docs.aws.amazon.com/controltower/latest/userguide/ecs-rules.html#ct-ecs-pr-12-description)                                      | Require that Amazon ECS task definitions do not pass secrets as container environment variables                                                                                          | `AWS::ECS::TaskDefinition`<br/>                                                                     |\n| [CT.EKS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/eks-rules.html#ct-eks-pr-1-description)                                        | Require an Amazon EKS cluster to be configured with public access disabled to the cluster Kubernetes API server endpoint.                                                                | `AWS::EKS::Cluster`<br/>                                                                            |\n| [CT.EKS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/eks-rules.html#ct-eks-pr-2-description)                                        | Require an Amazon EKS cluster to be configured with secret encryption using AWS Key Management Service (KMS) keys                                                                        | `AWS::EKS::Cluster`<br/>                                                                            |\n| [CT.ELASTICACHE.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-1-description)                | Require an Amazon ElastiCache for Redis cluster to have automatic backups activated                                                                                                      | `AWS::ElastiCache::CacheCluster`<br/>                                                               |\n| [CT.ELASTICACHE.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-2-description)                | Require an Amazon ElastiCache for Redis cluster to have automatic minor version upgrades activated                                                                                       | `AWS::ElastiCache::CacheCluster`<br/>                                                               |\n| [CT.ELASTICACHE.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-3-description)                | Require an Amazon ElastiCache for Redis replication group to have automatic failover activated                                                                                           | `AWS::ElastiCache::ReplicationGroup`<br/>                                                           |\n| [CT.ELASTICACHE.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-4-description)                | Require an Amazon ElastiCache replication group to have encryption at rest activated                                                                                                     | `AWS::ElastiCache::ReplicationGroup`<br/>                                                           |\n| [CT.ELASTICACHE.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-5-description)                | Require an Amazon ElastiCache for Redis replication group to have encryption in transit activated                                                                                        | `AWS::ElastiCache::ReplicationGroup`<br/>                                                           |\n| [CT.ELASTICACHE.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-6-description)                | Require an Amazon ElastiCache cache cluster to use a custom subnet group                                                                                                                 | `AWS::ElastiCache::CacheCluster`<br/>                                                               |\n| [CT.ELASTICACHE.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-7-description)                | Require an Amazon ElastiCache replication group of earlier Redis versions to have Redis AUTH activated                                                                                   | `AWS::ElastiCache::ReplicationGroup`<br/>                                                           |\n| [CT.ELASTICACHE.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/elasticache-rules.html#ct-elasticache-pr-8-description)                | Require an Amazon ElastiCache replication group of later Redis versions to have RBAC authentication activated                                                                            | `AWS::ElastiCache::ReplicationGroup`<br/>                                                           |\n| [CT.ELASTICBEANSTALK.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/ebs-rules.html#ct-elasticbeanstalk-pr-1-description)              | Require AWS Elastic Beanstalk environments to have enhanced health reporting enabled                                                                                                     | `AWS::ElasticBeanstalk::Environment`<br/>`AWS::ElasticBeanstalk::ConfigurationTemplate`<br/>        |\n| [CT.ELASTICBEANSTALK.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/ebs-rules.html#ct-elasticbeanstalk-pr-2-description)              | Require an AWS Elastic Beanstalk environment to have managed platform updates configured                                                                                                 | `AWS::ElasticBeanstalk::Environment`<br/>`AWS::ElasticBeanstalk::ConfigurationTemplate`<br/>        |\n| [CT.ELASTICBEANSTALK.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/ebs-rules.html#ct-elasticbeanstalk-pr-3-description)              | Require an AWS Elastic Beanstalk environment to have a logging configuration                                                                                                             | `AWS::ElasticBeanstalk::Environment`<br/>`AWS::ElasticBeanstalk::ConfigurationTemplate`<br/>        |\n| [CT.ELASTICFILESYSYSTEM.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/efs-rules.html#ct-elasticfilesysystem-pr-1-description)        | Require an Amazon EFS file system to encrypt file data at rest using AWS KMS                                                                                                             | `AWS::EFS::FileSystem`<br/>                                                                         |\n| [CT.ELASTICFILESYSYSTEM.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/efs-rules.html#ct-elasticfilesysystem-pr-2-description)        | Require an Amazon EFS volume to have an automated backup plan                                                                                                                            | `AWS::EFS::FileSystem`<br/>                                                                         |\n| [CT.ELASTICFILESYSYSTEM.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/efs-rules.html#ct-elasticfilesysystem-pr-3-description)        | Require Amazon EFS access points to have a root directory                                                                                                                                | `AWS::EFS::AccessPoint`<br/>                                                                        |\n| [CT.ELASTICFILESYSYSTEM.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/efs-rules.html#ct-elasticfilesysystem-pr-4-description)        | Require Amazon EFS access points to enforce a user identity                                                                                                                              | `AWS::EFS::AccessPoint`<br/>                                                                        |\n| [CT.ELASTICLOADBALANCING.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-1-description)      | Require any application load balancer listener default actions to redirect all HTTP requests to HTTPS                                                                                    | `AWS::ElasticLoadBalancingV2::Listener`<br/>                                                        |\n| [CT.ELASTICLOADBALANCING.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-2-description)      | Require any Amazon ELB application or network load balancer to have an AWS Certificate Manager certificate                                                                               | `AWS::ElasticLoadBalancingV2::Listener`<br/>`AWS::ElasticLoadBalancingV2::ListenerCertificate`<br/> |\n| [CT.ELASTICLOADBALANCING.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-3-description)      | Require any application load balancer to have defensive or strictest desync mitigation mode activated                                                                                    | `AWS::ElasticLoadBalancingV2::LoadBalancer`<br/>                                                    |\n| [CT.ELASTICLOADBALANCING.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-4-description)      | Require that any application load balancer must be configured to drop HTTP headers                                                                                                       | `AWS::ElasticLoadBalancingV2::LoadBalancer`<br/>                                                    |\n| [CT.ELASTICLOADBALANCING.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-5-description)      | Require that application load balancer deletion protection is activated                                                                                                                  | `AWS::ElasticLoadBalancingV2::LoadBalancer`<br/>                                                    |\n| [CT.ELASTICLOADBALANCING.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-6-description)      | Require that application and network load balancer access logging is activated                                                                                                           | `AWS::ElasticLoadBalancingV2::LoadBalancer`<br/>                                                    |\n| [CT.ELASTICLOADBALANCING.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-7-description)      | Require any classic load balancer to have multiple Availability Zones configured                                                                                                         | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |\n| [CT.ELASTICLOADBALANCING.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-8-description)      | Require any classic load balancer SSL/HTTPS listener to have a certificate provided by AWS Certificate Manager                                                                           | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |\n| [CT.ELASTICLOADBALANCING.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-9-description)      | Require that an AWS ELB application or classic load balancer listener is configured with HTTPS or TLS termination                                                                        | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |\n| [CT.ELASTICLOADBALANCING.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-10-description)    | Require an ELB application or classic load balancer to have logging activated                                                                                                            | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |\n| [CT.ELASTICLOADBALANCING.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-11-description)    | Require any ELB classic load balancer to have connection draining activated                                                                                                              | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |\n| [CT.ELASTICLOADBALANCING.PR.12](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-12-description)    | Require any ELB classic load balancer SSL/HTTPS listener to have a predefined security policy with a strong configuration                                                                | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |\n| [CT.ELASTICLOADBALANCING.PR.13](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-13-description)    | Require any ELB classic load balancer to have cross-zone load balancing activated                                                                                                        | `AWS::ElasticLoadBalancing::LoadBalancer`<br/>                                                      |\n| [CT.ELASTICLOADBALANCING.PR.14](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-14-description)    | Require a Network Load Balancer to have cross-zone load balancing activated                                                                                                              | `AWS::ElasticLoadBalancingV2::LoadBalancer`<br/>                                                    |\n| [CT.ELASTICLOADBALANCING.PR.15](https://docs.aws.amazon.com/controltower/latest/userguide/elb-rules.html#ct-elasticloadbalancing-pr-15-description)    | Require that an Elastic Load Balancing v2 target group does not explicitly disable cross-zone load balancing                                                                             | `AWS::ElasticLoadBalancingV2::TargetGroup`<br/>                                                     |\n| [CT.EMR.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/emr-rules.html#ct-emr-pr-1-description)                                        | Require that an Amazon Elastic MapReduce (EMR) security configuration is configured to encrypt data at rest in Amazon S3                                                                 | `AWS::EMR::SecurityConfiguration`<br/>                                                              |\n| [CT.EMR.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/emr-rules.html#ct-emr-pr-2-description)                                        | Require that an Amazon Elastic MapReduce (EMR) security configuration is configured to encrypt data at rest in Amazon S3 with an AWS KMS key                                             | `AWS::EMR::SecurityConfiguration`<br/>                                                              |\n| [CT.EMR.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/emr-rules.html#ct-emr-pr-3-description)                                        | Require that an Amazon Elastic MapReduce (EMR) security configuration is configured with EBS volume local disk encryption using an AWS KMS key                                           | `AWS::EMR::SecurityConfiguration`<br/>                                                              |\n| [CT.EMR.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/emr-rules.html#ct-emr-pr-4-description)                                        | Require that an Amazon Elastic MapReduce (EMR) security configuration is configured to encrypt data in transit                                                                           | `AWS::EMR::SecurityConfiguration`<br/>                                                              |\n| [CT.GLUE.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/glue-rules.html#ct-glue-pr-1-description)                                     | Require an AWS Glue job to have an associated security configuration                                                                                                                     | `AWS::Glue::Job`<br/>                                                                               |\n| [CT.GUARDDUTY.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/guard-duty-rules.html#ct-guardduty-pr-1-description)                     | Require an Amazon GuardDuty detector to have Amazon S3 protection activated                                                                                                              | `AWS::GuardDuty::Detector`<br/>                                                                     |\n| [CT.IAM.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/iam-rules.html#ct-iam-pr-1-description)                                        | Require that an AWS Identity and Access Management (IAM) inline policy does not have a statement that includes \"*\" in the Action and Resource elements                                   | `AWS::IAM::Policy`<br/>`AWS::IAM::Role`<br/>`AWS::IAM::User`<br/>`AWS::IAM::Group`<br/>             |\n| [CT.IAM.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/iam-rules.html#ct-iam-pr-2-description)                                        | Require that AWS Identity and Access Management (IAM) customer-managed policies do not contain a statement that includes \"*\" in the Action and Resource elements                         | `AWS::IAM::ManagedPolicy`<br/>                                                                      |\n| [CT.IAM.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/iam-rules.html#ct-iam-pr-3-description)                                        | Require that AWS Identity and Access Management (IAM) customer-managed policies do not have wildcard service actions                                                                     | `AWS::IAM::ManagedPolicy`<br/>                                                                      |\n| [CT.IAM.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/iam-rules.html#ct-iam-pr-4-description)                                        | Require that an AWS Identity and Access Management (IAM) user does not have an inline or managed policy attached attached                                                                | `AWS::IAM::User`<br/>`AWS::IAM::Policy`<br/>`AWS::IAM::ManagedPolicy`<br/>                          |\n| [CT.IAM.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/iam-rules.html#ct-iam-pr-5-description)                                        | Require that AWS Identity and Access Management (IAM) inline policies do not have wildcard service actions                                                                               | `AWS::IAM::Policy`<br/>`AWS::IAM::Role`<br/>`AWS::IAM::User`<br/>`AWS::IAM::Group`<br/>             |\n| [CT.KINESIS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/kinesis-rules.html#ct-kinesis-pr-1-description)                            | Require any Amazon Kinesis data stream to have encryption at rest configured                                                                                                             | `AWS::Kinesis::Stream`<br/>                                                                         |\n| [CT.KMS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/kms-rules.html#ct-kms-pr-1-description)                                        | Require any AWS KMS key to have rotation configured                                                                                                                                      | `AWS::KMS::Key`<br/>                                                                                |\n| [CT.KMS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/kms-rules.html#ct-kms-pr-2-description)                                        | Require that an AWS KMS asymmetric key with RSA key material used for encryption has a key length greater than 2048 bits                                                                 | `AWS::KMS::Key`<br/>                                                                                |\n| [CT.KMS.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/kms-rules.html#ct-kms-pr-3-description)                                        | Require an AWS KMS key policy to have a statement that limits creation of AWS KMS grants to AWS services                                                                                 | `AWS::KMS::Key`<br/>                                                                                |\n| [CT.LAMBDA.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/lambda-rules.html#ct-lambda-pr-2-description)                               | Require AWS Lambda function policies to prohibit public access                                                                                                                           | `AWS::Lambda::Permission`<br/>                                                                      |\n| [CT.LAMBDA.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/lambda-rules.html#ct-lambda-pr-3-description)                               | Require an AWS Lambda function to be in a customer-managed Amazon Virtual Private Cloud (VPC)                                                                                            | `AWS::Lambda::Function`<br/>                                                                        |\n| [CT.LAMBDA.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/lambda-rules.html#ct-lambda-pr-4-description)                               | Require an AWS Lambda layer permission to grant access to an AWS organization or specific AWS account                                                                                    | `AWS::Lambda::LayerVersionPermission`<br/>                                                          |\n| [CT.LAMBDA.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/lambda-rules.html#ct-lambda-pr-5-description)                               | Require an AWS Lambda function URL to use AWS IAM-based authentication                                                                                                                   | `AWS::Lambda::Url`<br/>                                                                             |\n| [CT.LAMBDA.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/lambda-rules.html#ct-lambda-pr-6-description)                               | Require an AWS Lambda function URL CORS policy to restrict access to specific origins                                                                                                    | `AWS::Lambda::Url`<br/>                                                                             |\n| [CT.MQ.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/mq-rules.html#ct-mq-pr-1-description)                                           | Require an Amazon MQ ActiveMQ broker to use use active/standby deployment mode for high availability                                                                                     | `AWS::AmazonMQ::Broker`<br/>                                                                        |\n| [CT.MQ.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/mq-rules.html#ct-mq-pr-2-description)                                           | Require an Amazon MQ Rabbit MQ broker to use Multi-AZ cluster mode for high availability                                                                                                 | `AWS::AmazonMQ::Broker`<br/>                                                                        |\n| [CT.MSK.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/msk-rules.html#ct-msk-pr-1-description)                                        | Require an Amazon Managed Streaming for Apache Kafka (MSK) cluster to enforce encryption in transit between cluster broker nodes                                                         | `AWS::MSK::Cluster`<br/>                                                                            |\n| [CT.MSK.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/msk-rules.html#ct-msk-pr-2-description)                                        | Require an Amazon Managed Streaming for Apache Kafka (MSK) cluster to be configured with PublicAccess disabled                                                                           | `AWS::MSK::Cluster`<br/>                                                                            |\n| [CT.NEPTUNE.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/neptune-rules.html#ct-neptune-pr-1-description)                            | Require an Amazon Neptune DB cluster to have AWS Identity and Access Management (IAM) database authentication enabled                                                                    | `AWS::Neptune::DBCluster`<br/>                                                                      |\n| [CT.NEPTUNE.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/neptune-rules.html#ct-neptune-pr-2-description)                            | Require an Amazon Neptune DB cluster to have deletion protection enabled                                                                                                                 | `AWS::Neptune::DBCluster`<br/>                                                                      |\n| [CT.NEPTUNE.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/neptune-rules.html#ct-neptune-pr-3-description)                            | Require an Amazon Neptune DB cluster to have storage encryption enabled                                                                                                                  | `AWS::Neptune::DBCluster`<br/>                                                                      |\n| [CT.NEPTUNE.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/neptune-rules.html#ct-neptune-pr-4-description)                            | Require an Amazon Neptune DB cluster to enable Amazon CloudWatch log export for audit logs                                                                                               | `AWS::Neptune::DBCluster`<br/>                                                                      |\n| [CT.NEPTUNE.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/neptune-rules.html#ct-neptune-pr-5-description)                            | Require an Amazon Neptune DB cluster to set a backup retention period greater than or equal to seven days                                                                                | `AWS::Neptune::DBCluster`<br/>                                                                      |\n| [CT.NETWORK-FIREWALL.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/network-firewall-rules.html#ct-network-firewall-pr-1-description) | Require any AWS Network Firewall firewall policy to have an associated rule group                                                                                                        | `AWS::NetworkFirewall::FirewallPolicy`<br/>                                                         |\n| [CT.NETWORK-FIREWALL.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/network-firewall-rules.html#ct-network-firewall-pr-2-description) | Require any AWS Network Firewall firewall policy to drop or forward stateless full packets by default when they do not match a rule                                                      | `AWS::NetworkFirewall::FirewallPolicy`<br/>                                                         |\n| [CT.NETWORK-FIREWALL.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/network-firewall-rules.html#ct-network-firewall-pr-3-description) | Require any AWS Network Firewall firewall policy to drop or forward fragmented packets by default when they do not match a stateless rule                                                | `AWS::NetworkFirewall::FirewallPolicy`<br/>                                                         |\n| [CT.NETWORK-FIREWALL.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/network-firewall-rules.html#ct-network-firewall-pr-4-description) | Require any AWS Network Firewall rule group to contain at least one rule                                                                                                                 | `AWS::NetworkFirewall::RuleGroup`<br/>                                                              |\n| [CT.NETWORK-FIREWALL.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/network-firewall-rules.html#ct-network-firewall-pr-5-description) | Require an AWS Network Firewall firewall to be deployed across multiple Availability Zones                                                                                               | `AWS::NetworkFirewall::Firewall`<br/>                                                               |\n| [CT.OPENSEARCH.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-1-description)                   | Require an Elasticsearch domain to encrypt data at rest                                                                                                                                  | `AWS::Elasticsearch::Domain`<br/>                                                                   |\n| [CT.OPENSEARCH.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-2-description)                   | Require an Elasticsearch domain to be created in a user-specified Amazon VPC                                                                                                             | `AWS::Elasticsearch::Domain`<br/>                                                                   |\n| [CT.OPENSEARCH.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-3-description)                   | Require an Elasticsearch domain to encrypt data sent between nodes                                                                                                                       | `AWS::Elasticsearch::Domain`<br/>                                                                   |\n| [CT.OPENSEARCH.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-4-description)                   | Require an Elasticsearch domain to send error logs to Amazon CloudWatch Logs                                                                                                             | `AWS::Elasticsearch::Domain`<br/>                                                                   |\n| [CT.OPENSEARCH.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-5-description)                   | Require an Elasticsearch domain to send audit logs to Amazon CloudWatch Logs                                                                                                             | `AWS::Elasticsearch::Domain`<br/>                                                                   |\n| [CT.OPENSEARCH.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-6-description)                   | Require an Elasticsearch domain to have zone awareness and at least three data nodes                                                                                                     | `AWS::Elasticsearch::Domain`<br/>                                                                   |\n| [CT.OPENSEARCH.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-7-description)                   | Require an Elasticsearch domain to have at least three dedicated master nodes                                                                                                            | `AWS::Elasticsearch::Domain`<br/>                                                                   |\n| [CT.OPENSEARCH.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-8-description)                   | Require an Elasticsearch Service domain to use TLSv1.2                                                                                                                                   | `AWS::Elasticsearch::Domain`<br/>                                                                   |\n| [CT.OPENSEARCH.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-9-description)                   | Require an Amazon OpenSearch Service domain to encrypt data at rest                                                                                                                      | `AWS::OpenSearchService::Domain`<br/>                                                               |\n| [CT.OPENSEARCH.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-10-description)                 | Require an Amazon OpenSearch Service domain to be created in a user-specified Amazon VPC                                                                                                 | `AWS::OpenSearchService::Domain`<br/>                                                               |\n| [CT.OPENSEARCH.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-11-description)                 | Require an Amazon OpenSearch Service domain to encrypt data sent between nodes                                                                                                           | `AWS::OpenSearchService::Domain`<br/>                                                               |\n| [CT.OPENSEARCH.PR.12](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-12-description)                 | Require an Amazon OpenSearch Service domain to send error logs to Amazon CloudWatch Logs                                                                                                 | `AWS::OpenSearchService::Domain`<br/>                                                               |\n| [CT.OPENSEARCH.PR.13](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-13-description)                 | Require an Amazon OpenSearch Service domain to send audit logs to Amazon CloudWatch Logs                                                                                                 | `AWS::OpenSearchService::Domain`<br/>                                                               |\n| [CT.OPENSEARCH.PR.14](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-14-description)                 | Require an Amazon OpenSearch Service domain to have zone awareness and at least three data nodes                                                                                         | `AWS::OpenSearchService::Domain`<br/>                                                               |\n| [CT.OPENSEARCH.PR.15](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-15-description)                 | Require an Amazon OpenSearch Service domain to use fine-grained access control                                                                                                           | `AWS::OpenSearchService::Domain`<br/>                                                               |\n| [CT.OPENSEARCH.PR.16](https://docs.aws.amazon.com/controltower/latest/userguide/opensearch-rules.html#ct-opensearch-pr-16-description)                 | Require an Amazon OpenSearch Service domain to use TLSv1.2                                                                                                                               | `AWS::OpenSearchService::Domain`<br/>                                                               |\n| [CT.RDS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-1-description)                                        | Require that an Amazon RDS database instance is configured with multiple Availability Zones                                                                                              | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.RDS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-2-description)                                        | Require an Amazon RDS database instance or cluster to have enhanced monitoring configured                                                                                                | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.RDS.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-3-description)                                        | Require an Amazon RDS cluster to have deletion protection configured                                                                                                                     | `AWS::RDS::DBCluster`<br/>                                                                          |\n| [CT.RDS.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-4-description)                                        | Require an Amazon RDS database cluster to have AWS IAM database authentication configured                                                                                                | `AWS::RDS::DBCluster`<br/>                                                                          |\n| [CT.RDS.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-5-description)                                        | Require an Amazon RDS database instance to have minor version upgrades configured                                                                                                        | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.RDS.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-6-description)                                        | Require an Amazon RDS database cluster to have backtracking configured                                                                                                                   | `AWS::RDS::DBCluster`<br/>                                                                          |\n| [CT.RDS.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-7-description)                                        | Require Amazon RDS database instances to have AWS IAM authentication configured                                                                                                          | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.RDS.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-8-description)                                        | Require an Amazon RDS database instance to have automatic backups configured                                                                                                             | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.RDS.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-9-description)                                        | Require an Amazon RDS database cluster to copy tags to snapshots                                                                                                                         | `AWS::RDS::DBCluster`<br/>                                                                          |\n| [CT.RDS.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-10-description)                                      | Require an Amazon RDS database instance to copy tags to snapshots                                                                                                                        | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.RDS.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-11-description)                                      | Require an Amazon RDS database instance to have a VPC configuration                                                                                                                      | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.RDS.PR.12](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-12-description)                                      | Require an Amazon RDS event subscription to have critical cluster events configured                                                                                                      | `AWS::RDS::EventSubscription`<br/>                                                                  |\n| [CT.RDS.PR.13](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-13-description)                                      | Require any Amazon RDS instance to have deletion protection configured                                                                                                                   | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.RDS.PR.14](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-14-description)                                      | Require an Amazon RDS database instance to export logs to Amazon CloudWatch Logs by means of the EnableCloudwatchLogsExports property                                                    | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.RDS.PR.15](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-15-description)                                      | Require that an Amazon RDS instance does not create DB security groups                                                                                                                   | `AWS::RDS::DBInstance`<br/>`AWS::RDS::DBSecurityGroup`<br/>                                         |\n| [CT.RDS.PR.16](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-16-description)                                      | Require an Amazon RDS database cluster to have encryption at rest configured                                                                                                             | `AWS::RDS::DBCluster`<br/>                                                                          |\n| [CT.RDS.PR.17](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-17-description)                                      | Require an Amazon RDS event notification subscription to have critical database instance events configured                                                                               | `AWS::RDS::EventSubscription`<br/>                                                                  |\n| [CT.RDS.PR.18](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-18-description)                                      | Require an Amazon RDS event notification subscription to have critical database parameter group events configured                                                                        | `AWS::RDS::EventSubscription`<br/>                                                                  |\n| [CT.RDS.PR.19](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-19-description)                                      | Require an Amazon RDS event notifications subscription to have critical database security group events configured                                                                        | `AWS::RDS::EventSubscription`<br/>                                                                  |\n| [CT.RDS.PR.20](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-20-description)                                      | Require an Amazon RDS database instance not to use a database engine default port                                                                                                        | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.RDS.PR.21](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-21-description)                                      | Require an Amazon RDS DB cluster to have a unique administrator username                                                                                                                 | `AWS::RDS::DBCluster`<br/>                                                                          |\n| [CT.RDS.PR.22](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-22-description)                                      | Require an Amazon RDS database instance to have a unique administrator username                                                                                                          | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.RDS.PR.23](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-23-description)                                      | Require an Amazon RDS database instance to not be publicly accessible                                                                                                                    | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.RDS.PR.24](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-24-description)                                      | Require an Amazon RDS database instance to have encryption at rest configured                                                                                                            | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.RDS.PR.25](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-25-description)                                      | Require an Amazon RDS database cluster to export logs to Amazon CloudWatch Logs by means of the EnableCloudwatchLogsExports property                                                     | `AWS::RDS::DBCluster`<br/>                                                                          |\n| [CT.RDS.PR.26](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-26-description)                                      | Require an Amazon RDS DB Proxy to require Transport Layer Security (TLS) connections                                                                                                     | `AWS::RDS::DBProxy`<br/>                                                                            |\n| [CT.RDS.PR.27](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-27-description)                                      | Require an Amazon RDS DB cluster parameter group to require Transport Layer Security (TLS) connections for supported engine types                                                        | `AWS::RDS::DBClusterParameterGroup`<br/>                                                            |\n| [CT.RDS.PR.28](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-28-description)                                      | Require an Amazon RDS DB parameter group to require Transport Layer Security (TLS) connections for supported engine types                                                                | `AWS::RDS::DBParameterGroup`<br/>                                                                   |\n| [CT.RDS.PR.29](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-29-description)                                      | Require an Amazon RDS cluster not be configured to be publicly accessible by means of the 'PubliclyAccessible' property                                                                  | `AWS::RDS::DBCluster`<br/>                                                                          |\n| [CT.RDS.PR.30](https://docs.aws.amazon.com/controltower/latest/userguide/rds-rules.html#ct-rds-pr-30-description)                                      | Require that an Amazon RDS database instance has encryption at rest configured to use a KMS key that you specify for supported engine types                                              | `AWS::RDS::DBInstance`<br/>                                                                         |\n| [CT.REDSHIFT.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-1-description)                         | Require an Amazon Redshift cluster to prohibit public access                                                                                                                             | `AWS::Redshift::Cluster`<br/>                                                                       |\n| [CT.REDSHIFT.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-2-description)                         | Require an Amazon Redshift cluster to have automatic snapshots configured                                                                                                                | `AWS::Redshift::Cluster`<br/>                                                                       |\n| [CT.REDSHIFT.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-3-description)                         | Require an Amazon Redshift cluster to have audit logging configured                                                                                                                      | `AWS::Redshift::Cluster`<br/>                                                                       |\n| [CT.REDSHIFT.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-4-description)                         | Require an Amazon Redshift cluster to have automatic upgrades to major versions configured                                                                                               | `AWS::Redshift::Cluster`<br/>                                                                       |\n| [CT.REDSHIFT.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-5-description)                         | Require an Amazon Redshift cluster to have enhanced VPC routing                                                                                                                          | `AWS::Redshift::Cluster`<br/>                                                                       |\n| [CT.REDSHIFT.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-6-description)                         | Require an Amazon Redshift cluster to have a unique administrator username                                                                                                               | `AWS::Redshift::Cluster`<br/>                                                                       |\n| [CT.REDSHIFT.PR.7](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-7-description)                         | Require an Amazon Redshift cluster to have a unique database name                                                                                                                        | `AWS::Redshift::Cluster`<br/>                                                                       |\n| [CT.REDSHIFT.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-8-description)                         | Require an Amazon Redshift cluster to be encrypted                                                                                                                                       | `AWS::Redshift::Cluster`<br/>                                                                       |\n| [CT.REDSHIFT.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/redshift-rules.html#ct-redshift-pr-9-description)                         | Require that an Amazon Redshift cluster parameter group is configured to use Secure Sockets Layer (SSL) for encryption of data in transit                                                | `AWS::Redshift::ClusterParameterGroup`<br/>                                                         |\n| [CT.S3.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-1-description)                                           | Require an Amazon S3 bucket to have block public access settings configured                                                                                                              | `AWS::S3::Bucket`<br/>                                                                              |\n| [CT.S3.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-2-description)                                           | Require an Amazon S3 bucket to have server access logging configured                                                                                                                     | `AWS::S3::Bucket`<br/>                                                                              |\n| [CT.S3.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-3-description)                                           | Require an Amazon S3 buckets to have versioning configured and a lifecycle policy                                                                                                        | `AWS::S3::Bucket`<br/>                                                                              |\n| [CT.S3.PR.4](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-4-description)                                           | Require an Amazon S3 bucket to have event notifications configured                                                                                                                       | `AWS::S3::Bucket`<br/>                                                                              |\n| [CT.S3.PR.5](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-5-description)                                           | Require that an Amazon S3 bucket does not manage user access with an access control list (ACL)                                                                                           | `AWS::S3::Bucket`<br/>                                                                              |\n| [CT.S3.PR.6](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-6-description)                                           | Require an Amazon S3 bucket to have lifecycle policies configured                                                                                                                        | `AWS::S3::Bucket`<br/>                                                                              |\n| [CT.S3.PR.8](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-8-description)                                           | Require that Amazon S3 bucket requests use Secure Sockets Layer                                                                                                                          | `AWS::S3::BucketPolicy`<br/>                                                                        |\n| [CT.S3.PR.9](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-9-description)                                           | Require that an Amazon S3 bucket has S3 Object Lock activated                                                                                                                            | `AWS::S3::Bucket`<br/>                                                                              |\n| [CT.S3.PR.10](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-10-description)                                         | Require an Amazon S3 bucket to have server-side encryption configured using an AWS KMS key                                                                                               | `AWS::S3::Bucket`<br/>                                                                              |\n| [CT.S3.PR.11](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-11-description)                                         | Require an Amazon S3 bucket to have versioning enabled                                                                                                                                   | `AWS::S3::Bucket`<br/>                                                                              |\n| [CT.S3.PR.12](https://docs.aws.amazon.com/controltower/latest/userguide/s3-rules.html#ct-s3-pr-12-description)                                         | Require an Amazon S3 access point to have a Block Public Access (BPA) configuration with all options set to true                                                                         | `AWS::S3::AccessPoint`<br/>                                                                         |\n| [CT.SAGEMAKER.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/sagemaker-rules.html#ct-sagemaker-pr-1-description)                      | Require an Amazon SageMaker notebook instance to prevent direct internet access                                                                                                          | `AWS::SageMaker::NotebookInstance`<br/>                                                             |\n| [CT.SAGEMAKER.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/sagemaker-rules.html#ct-sagemaker-pr-2-description)                      | Require Amazon SageMaker notebook instances to be deployed within a custom Amazon VPC                                                                                                    | `AWS::SageMaker::NotebookInstance`<br/>                                                             |\n| [CT.SAGEMAKER.PR.3](https://docs.aws.amazon.com/controltower/latest/userguide/sagemaker-rules.html#ct-sagemaker-pr-3-description)                      | Require Amazon SageMaker notebook instances to have root access disallowed                                                                                                               | `AWS::SageMaker::NotebookInstance`<br/>                                                             |\n| [CT.SQS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/sqs-rules.html#ct-sqs-pr-1-description)                                        | Require any Amazon SQS queue to have a dead-letter queue configured                                                                                                                      | `AWS::SQS::Queue`<br/>                                                                              |\n| [CT.SQS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/sqs-rules.html#ct-sqs-pr-2-description)                                        | Require any Amazon SQS queue to have encryption at rest configured                                                                                                                       | `AWS::SQS::Queue`<br/>                                                                              |\n| [CT.STEPFUNCTIONS.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/stepfunctions-rules.html#ct-stepfunctions-pr-1-description)          | Require an AWS Step Functions state machine to have logging activated                                                                                                                    | `AWS::StepFunctions::StateMachine`<br/>                                                             |\n| [CT.STEPFUNCTIONS.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/stepfunctions-rules.html#ct-stepfunctions-pr-2-description)          | Require an AWS Step Functions state machine to have AWS X-Ray tracing activated                                                                                                          | `AWS::StepFunctions::StateMachine`<br/>                                                             |\n| [CT.WAF-REGIONAL.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/waf-regional-rules.html#ct-waf-regional-pr-1-description)             | Require any AWS WAF Classic regional rule to have a condition                                                                                                                            | `AWS::WAFRegional::Rule`<br/>                                                                       |\n| [CT.WAF-REGIONAL.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/waf-regional-rules.html#ct-waf-regional-pr-2-description)             | Require any AWS WAF Classic regional web access control list (ACL) to have a rule or rule group                                                                                          | `AWS::WAFRegional::WebACL`<br/>                                                                     |\n| [CT.WAF.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/waf-rules.html#ct-waf-pr-1-description)                                        | Require any AWS WAF Classic global rule to have a condition                                                                                                                              | `AWS::WAF::Rule`<br/>                                                                               |\n| [CT.WAF.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/waf-rules.html#ct-waf-pr-2-description)                                        | Require any AWS WAF Classic global web ACL to have a rule or rule group                                                                                                                  | `AWS::WAF::WebACL`<br/>                                                                             |\n| [CT.WAFV2.PR.1](https://docs.aws.amazon.com/controltower/latest/userguide/wafv2-rules.html#ct-wafv2-pr-1-description)                                  | Require an AWS WAF web ACL to be non-empty                                                                                                                                               | `AWS::WAFv2::WebACL`<br/>                                                                           |\n| [CT.WAFV2.PR.2](https://docs.aws.amazon.com/controltower/latest/userguide/wafv2-rules.html#ct-wafv2-pr-2-description)                                  | Require an AWS WAF rule group to be non-empty                                                                                                                                            | `AWS::WAFv2::RuleGroup`<br/>\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "@cdklabs/cdk-validator-cfnguard",
    "version": "0.0.58",
    "project_urls": {
        "Homepage": "https://github.com/cdklabs/cdk-validator-cfnguard.git",
        "Source": "https://github.com/cdklabs/cdk-validator-cfnguard.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9b19cd9a04f741a4ed7815a54098892973567d4ead61ca4acf0d63f5096160db",
                "md5": "159b788d5be16521522964d9e002edf4",
                "sha256": "03d733d07c7589413ebb6af9a98b16f38be00850b1e116b1fb31e0e24afecbc4"
            },
            "downloads": -1,
            "filename": "cdklabs.cdk_validator_cfnguard-0.0.58-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "159b788d5be16521522964d9e002edf4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.8",
            "size": 4965687,
            "upload_time": "2023-12-12T10:11:10",
            "upload_time_iso_8601": "2023-12-12T10:11:10.150340Z",
            "url": "https://files.pythonhosted.org/packages/9b/19/cd9a04f741a4ed7815a54098892973567d4ead61ca4acf0d63f5096160db/cdklabs.cdk_validator_cfnguard-0.0.58-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a4dd7447f4b2985ed7b3deb24adaca971aa6058a245afa7669e8ce5cce8eb129",
                "md5": "a71c11dbbe1ee12ba90da90739511359",
                "sha256": "2d90cc1bb84e2a6328cb0b116c9649e7d33fc23849d254b24563beac75e1f9d0"
            },
            "downloads": -1,
            "filename": "cdklabs.cdk-validator-cfnguard-0.0.58.tar.gz",
            "has_sig": false,
            "md5_digest": "a71c11dbbe1ee12ba90da90739511359",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.8",
            "size": 4987731,
            "upload_time": "2023-12-12T10:11:12",
            "upload_time_iso_8601": "2023-12-12T10:11:12.967381Z",
            "url": "https://files.pythonhosted.org/packages/a4/dd/7447f4b2985ed7b3deb24adaca971aa6058a245afa7669e8ce5cce8eb129/cdklabs.cdk-validator-cfnguard-0.0.58.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-12 10:11:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cdklabs",
    "github_project": "cdk-validator-cfnguard",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "cdklabs.cdk-validator-cfnguard"
}
        
Elapsed time: 0.15507s