Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Latest commit

 

History

History
140 lines (129 loc) · 28.1 KB

compliance.md

File metadata and controls

140 lines (129 loc) · 28.1 KB

Benchmark Compliance

This file exaplains which items in the following compliance standards this module covers.

Definition

Implementation status for each item is categorized as follows.

Status Description
OK This module ensure that the requirements for this item are satisfied.
PARTIAL This module helps to meet the requirements for this item, but additional work would also be needed.
N/A This module has nothing to do with the requirements for this item.

CIS Amazon Web Services Foundations v1.4.0

Link

No. Item Status Notes
1.1 Maintain current contact details N/A
1.2 Ensure security contact information is registered N/A
1.3 Ensure security questions are registered in the AWS account N/A
1.4 Ensure no root account access key exists N/A
1.5 Ensure MFA is enabled for the "root" account N/A
1.6 Ensure hardware MFA is enabled for the "root" account N/A
1.7 Eliminate use of the root user for administrative and daily tasks N/A
1.8 Ensure IAM password policy requires minimum length of 14 or greater OK
1.9 Ensure IAM password policy prevents password reuse OK
1.10 Ensure multi-factor authentication (MFA) is enabled for all IAM users that have a console password N/A
1.11 Do not setup access keys during initial user setup for all IAM users that have a console password N/A
1.12 Ensure credentials unused for 45 days or greater are disabled N/A
1.13 Ensure there is only one active access key available for any single IAM user N/A
1.14 Ensure access keys are rotated every 90 days or less N/A
1.15 Ensure IAM Users Receive Permissions Only Through Groups N/A
1.16 Ensure IAM policies that allow full "*:*" administrative privileges are not created N/A
1.17 Ensure a support role has been created to manage incidents with AWS Support OK
1.18 Ensure IAM instance roles are used for AWS resource access from instances N/A
1.19 Ensure that all the expired SSL/TLS certificates stored in AWS IAM are removed N/A
1.20 Ensure that IAM Access analyzer is enabled OK
1.21 Ensure IAM users are managed centrally via identity federation or AWS Organizations for multi-account environments N/A
2.1.1 Ensure all S3 buckets employ encryption-at-rest PARTIAL All S3 buckets created by this module enable server-side encryption.
2.1.2 Ensure S3 Bucket Policy allows HTTPS requests PARTIAL All S3 buckets created by this module block non-SSL requests.
2.1.3 Ensure MFA Delete is enable on S3 buckets NG S3 buckets created by this module does not enable MFA Delete due to the implementation restriction. Users need to enable it manually.
2.1.4 Ensure all data in Amazon S3 has been discovered, classified and secured when required. N/A
2.1.5 Ensure that S3 Buckets are configured with 'Block public access(bucket settings)' OK Public access is blocked by account-level configuration.
2.2.1 Ensure EBS volume encryption is enabled OK
2.3.1 Ensure that encryption is enabled for RDS instances N/A
3.1 Ensure CloudTrail is enabled in all regions OK
3.2 Ensure CloudTrail log file validation is enabled OK
3.3 Ensure the S3 bucket used to store CloudTrail logs is not publicly accessible OK
3.4 Ensure CloudTrail trails are integrated with CloudWatch Logs OK
3.5 Ensure AWS Config is enabled in all regions OK
3.6 Ensure S3 bucket access logging is enabled on the CloudTrail S3 bucket OK
3.7 Ensure CloudTrail logs are encrypted at rest using KMS CMKs OK
3.8 Ensure rotation for customer created CMKs is enabled PARTIAL All CMKs created by this module enable automated key rotation
3.9 Ensure VPC flow logging is enabled in all VPCs PARTIAL VPC flow logging is enabled for all default VPCs
3.10 Ensure that Object-level logging for write events is enables for S3 bucket OK
3.11 Ensure that Object-level logging for read events is enables for S3 bucket OK
4.1 Ensure a log metric filter and alarm exist for unauthorized API calls OK
4.2 Ensure a log metric filter and alarm exist for Management Console sign-in without MFA OK
4.3 Ensure a log metric filter and alarm exist for usage of "root" account OK
4.4 Ensure a log metric filter and alarm exist for IAM policy changes OK
4.5 Ensure a log metric filter and alarm exist for CloudTrail configuration changes OK
4.6 Ensure a log metric filter and alarm exist for AWS Management Console authentication failures OK
4.7 Ensure a log metric filter and alarm exist for disabling or scheduled deletion of customer created CMKs OK
4.8 Ensure a log metric filter and alarm exist for S3 bucket policy changes OK
4.9 Ensure a log metric filter and alarm exist for AWS Config configuration changes OK
4.10 Ensure a log metric filter and alarm exist for security group changes OK
4.11 Ensure a log metric filter and alarm exist for changes to Network Access Control Lists (NACL) OK
4.12 Ensure a log metric filter and alarm exist for changes to network gateways OK
4.13 Ensure a log metric filter and alarm exist for route table changes OK
4.14 Ensure a log metric filter and alarm exist for VPC changes OK
4.15 Ensure a log metric filter and alarm exist for AWS Organizations changes OK
5.1 Ensure no Network ACLs allow ingress from 0.0.0.0/0 to remote server administration ports PARTIAL All default Network ACLs are configured to have no ingress rules.
5.2 Ensure no security groups allow ingress from 0.0.0.0/0 to remote server administration ports PARTIAL All default security groups are configured to have no ingress rules.
5.3 Ensure the default security group of every VPC restricts all traffic OK
5.4 Ensure routing tables for VPC peering are "least access" N/A

AWS Foundational Security Best Practices v1.0.0

Link

No. Item Status Notes
ACM.1 Imported ACM certificates should be renewed after a specified time period N/A
AutoScaling.1 Auto Scaling groups associated with a load balancer should use load balancer health checks N/A
CloudTrail.1 CloudTrail should be enabled and configured with at least one multi-Region trail OK
CloudTrail.2 CloudTrail should have encryption at-rest enabled OK
CodeBuild.1 CodeBuild GitHub or Bitbucket source repository URLs should use OAuth N/A
CodeBuild.2 CodeBuild project environment variables should not contain clear text credentials N/A
Config.1 AWS Config should be enabled OK
DMS.1 Database Migration Service replication instances should not be public N/A
EC2.1 Amazon EBS snapshots should not be public, determined by the ability to be restorable by anyone N/A
EC2.2 The VPC default security group should not allow inbound and outbound traffic N/A
EC2.3 Attached EBS volumes should be encrypted at-rest PARTIAL This module enabled the encyrption for all newly created EBS by default.
EC2.4 Stopped EC2 instances should be removed after a specified time period N/A
EC2.6 VPC flow logging should be enabled in all VPCs N/A
EC2.7 EBS default encryption should be enabled OK
EC2.8 EC2 instances should use IMDSv2 N/A
EFS.1 Amazon EFS should be configured to encrypt file data at-rest using AWS KMS N/A
ELBv2.1 Application Load Balancer should be configured to redirect all HTTP requests to HTTPS N/A
EMR.1 Amazon EMR cluster master nodes should not have public IP addresses N/A
ES.1 Elasticsearch domains should have encryption at-rest enabled N/A
GuardDuty.1 GuardDuty should be enabled OK
IAM.1 IAM policies should not allow full "*" administrative privileges N/A
IAM.2 IAM users should not have IAM policies attached N/A
IAM.3 IAM users' access keys should be rotated every 90 days or less N/A
IAM.4 IAM root user access key should not exist N/A
IAM.5 MFA should be enabled for all IAM users that have a console password N/A
IAM.6 Hardware MFA should be enabled for the root user N/A
IAM.7 Password policies for IAM users should have strong configurations OK
IAM.8 Unused IAM user credentials should be removed N/A
KMS.1 IAM customer managed policies should not allow decryption actions on all KMS keys N/A
KMS.2 IAM principals should not have IAM inline policies that allow decryption actions on all KMS keys N/A
Lambda.1 Lambda functions should prohibit public access by other accounts N/A
Lambda.2 Lambda functions should use latest runtimes N/A
RDS.1 RDS snapshots should be private N/A
RDS.2 RDS DB instances should prohibit public access, determined by the PubliclyAccessible configuration N/A
RDS.3 RDS DB instances should have encryption at-rest enabled N/A
RDS.4 RDS cluster snapshots and database snapshots should be encrypted at rest N/A
RDS.5 RDS DB instances should be configured with multiple Availability Zones N/A
RDS.6 Enhanced monitoring should be configured for RDS DB instances and clusters N/A
RDS.7 RDS clusters should have deletion protection enabled N/A
RDS.8 RDS DB instances should have deletion protection enabled N/A
S3.1 S3 Block Public Access setting should be enabled OK Public access is blocked by account-level configuration.
S3.2 S3 buckets should prohibit public read access OK Public access is blocked by account-level configuration.
S3.3 S3 buckets should prohibit public write access OK Public access is blocked by account-level configuration.
S3.4 S3 buckets should have server-side encryption enabled PARTIAL All S3 buckets created by this module enable server-side encryption.
S3.5 S3 buckets should require requests to use Secure Socket Layer PARTIAL All S3 buckets created by this module block non-SSL requests.
S3.6 Amazon S3 permissions granted to other AWS accounts in bucket policies should be restricted N/A
SageMaker.1 SageMaker notebook instances should not have direct internet access N/A
SecretsManager.1 Secrets Manager secrets should have automatic rotation enabled N/A
SecretsManager.2 Secrets Manager secrets configured with automatic rotation should rotate successfully N/A
SSM.1 EC2 instances should be managed by AWS Systems Manager N/A
SSM.2 All EC2 instances managed by Systems Manager should be compliant with patching requirements N/A
SSM.3 Instances managed by Systems Manager should have an association compliance status of COMPLIANT N/A