Skip to content

Commit e6d7188

Browse files
committed
Various test updates
1 parent 43ed734 commit e6d7188

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

aws/cloudformation/abstract/vpc-flow-logs-misconfig/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ Here a flow log set to the wrong bucket. It should be fixed.
66

77
The expectation assumes the following:
88

9-
- VPC Flow Log LogDestination: `!Sub "arn:aws:s3:::gomboc-security-flowlogs-480437182633/${VPC}/"`
9+
1. The VPC Flow Log LogDestination: `!Sub "arn:aws:s3:::gomboc-security-flowlogs-480437182633/${VPC}/"`

aws/cloudformation/iac-scanning-poc/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ This is a combination of several scenarios:
1414

1515
The expected results assumes the following:
1616

17-
1. The VPC flowlog destination is gomboc specific bucket with the VPC id as the prefix:
17+
1. The VPC flowlog object name is "FlowLogBucket"
18+
2. The VPC flowlog destination is gomboc specific bucket with the VPC id as the prefix:
1819
1. `!Sub "arn:aws:s3:::gomboc-security-flowlogs-480437182633/${VPC}/"`
19-
2. The VPC SG safe port is "65535"
20-
3. The VPC SG safe CIDR is "1.1.1.1/32"
20+
3. The VPC SG safe port is "65535"
21+
4. The VPC SG safe CIDR is "1.1.1.1/32"

aws/cloudformation/iac-scanning-poc/main.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ Resources:
164164
GroupName: !Ref EnvironmentName
165165
GroupDescription: The security group for our test
166166
VpcId: !Ref VPC
167-
# Uncomment this to allow all traffic to the EC2 instance and create the misconfiguration
168167
SecurityGroupIngress:
169168
- IpProtocol: tcp
170169
FromPort: 0
@@ -255,7 +254,10 @@ Resources:
255254
- DeviceName: /dev/xvda
256255
Ebs:
257256
VolumeSize: 20
258-
# Encrypted: true # Uncomment this to "fix" the issue of a non-encrypted drive
257+
Encrypted: false
258+
- DeviceName: /dev/xvdb
259+
Ebs:
260+
VolumeSize: 20
259261
#######################################
260262
## This section is for the S3 Bucket ##
261263
#######################################
@@ -268,11 +270,6 @@ Resources:
268270
BlockPublicPolicy: false
269271
IgnorePublicAcls: false
270272
RestrictPublicBuckets: false
271-
# Uncomment this section to make an encrypted bucket
272-
# BucketEncryption:
273-
# ServerSideEncryptionConfiguration:
274-
# - ServerSideEncryptionByDefault:
275-
# SSEAlgorithm: AES256
276273
############################################
277274
## This section is for the DynamoDB table ##
278275
############################################

0 commit comments

Comments
 (0)