Skip to content

Commit f2ba44c

Browse files
authored
Merge pull request #98 from andywick-aws/ec2-ebs-encryption-lambda-dlq
Added DeadLetterConfig to Lambda function and removed checkov suppressions
2 parents 186b2e2 + f4ee758 commit f2ba44c

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Table of Contents<!-- omit in toc -->
44

55
- [Introduction](#introduction)
6+
- [2022-05-23](#2022-05-23)
67
- [2022-05-15](#2022-05-15)
78
- [2022-04-25](#2022-04-25)
89
- [2022-04-14](#2022-04-14)
@@ -28,6 +29,16 @@ All notable changes to this project will be documented in this file.
2829

2930
---
3031

32+
## 2022-05-23
33+
34+
### Changed<!-- omit in toc -->
35+
36+
- [EC2 Default EBS Encryption](aws_sra_examples/solutions/ec2/ec2_default_ebs_encryption) solution updates:
37+
- Added DeadLetterConfig to the Lambda function.
38+
- Removed the checkov suppression for not having a DLQ configured.
39+
- [S3 Block Account Public Access](aws_sra_examples/solutions/s3_block_account_public_access) solution updates:
40+
- Removed the checkov suppression for not having a DLQ configured.
41+
3142
## 2022-05-15
3243

3344
### Added<!-- omit in toc -->

aws_sra_examples/solutions/ec2/ec2_default_ebs_encryption/templates/sra-ec2-default-ebs-encryption.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Description:
99

1010
Metadata:
1111
SRA:
12-
Version: 1.2
12+
Version: 1.3
1313
Order: 3
1414
AWS::CloudFormation::Interface:
1515
ParameterGroups:
@@ -403,8 +403,6 @@ Resources:
403403
reason: Lambda does not need reserved concurrent executions.
404404
checkov:
405405
skip:
406-
- id: CKV_AWS_116
407-
comment: DLQ not needed.
408406
- id: CKV_AWS_173
409407
comment: Environment variables are not sensitive.
410408
Properties:
@@ -421,6 +419,8 @@ Resources:
421419
Code:
422420
S3Bucket: !Ref pSRAStagingS3BucketName
423421
S3Key: !Sub ${pSRASolutionName}/lambda_code/${pSRASolutionName}.zip
422+
DeadLetterConfig:
423+
TargetArn: !GetAtt rEC2DefaultEBSEncryptionDLQ.Arn
424424
Environment:
425425
Variables:
426426
LOG_LEVEL: !Ref pLambdaLogLevel

aws_sra_examples/solutions/s3/s3_block_account_public_access/templates/sra-s3-block-account-public-access.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Description:
99

1010
Metadata:
1111
SRA:
12-
Version: 1.2
12+
Version: 1.3
1313
Order: 3
1414
AWS::CloudFormation::Interface:
1515
ParameterGroups:
@@ -323,8 +323,6 @@ Resources:
323323
reason: Lambda does not need reserved concurrent executions.
324324
checkov:
325325
skip:
326-
- id: CKV_AWS_116
327-
comment: No DLQ added.
328326
- id: CKV_AWS_173
329327
comment: Environment variables are not sensitive.
330328
Properties:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "aws_sra_examples"
3-
version = "2.1.1"
3+
version = "2.1.2"
44
description = "AWS Security Reference Architecture Examples"
55
authors = ["Amazon Web Services <no_reply@amazon.com>"]
66
license = "MIT-0 License"

0 commit comments

Comments
 (0)