File tree Expand file tree Collapse file tree 6 files changed +69
-3
lines changed Expand file tree Collapse file tree 6 files changed +69
-3
lines changed Original file line number Diff line number Diff line change 1
1
packaged-template.yaml
2
2
* .zip
3
+ .idea /
Original file line number Diff line number Diff line change @@ -214,7 +214,17 @@ Resources:
214
214
GroupDescription : CloudBench workload Security Group
215
215
SecurityGroupIngress :
216
216
- CidrIp : 0.0.0.0/0
217
- IpProtocol : " -1"
217
+ IpProtocol : " tcp"
218
+ FromPort : 80
219
+ ToPort : 80
220
+ - CidrIp : 0.0.0.0/0
221
+ IpProtocol : " tcp"
222
+ FromPort : 443
223
+ ToPort : 443
224
+ - CidrIp : 0.0.0.0/0
225
+ IpProtocol : " tcp"
226
+ FromPort : 7000
227
+ ToPort : 7000
218
228
Tags :
219
229
- Key : Name
220
230
Value : !Sub "${AWS::StackName}-CloudBench"
Original file line number Diff line number Diff line change @@ -220,7 +220,18 @@ Resources:
220
220
GroupDescription : CloudConnector workload Security Group
221
221
SecurityGroupIngress :
222
222
- CidrIp : 0.0.0.0/0
223
- IpProtocol : " -1"
223
+ IpProtocol : " tcp"
224
+ FromPort : 80
225
+ ToPort : 80
226
+ - CidrIp : 0.0.0.0/0
227
+ IpProtocol : " tcp"
228
+ FromPort : 443
229
+ ToPort : 443
230
+ - CidrIp : 0.0.0.0/0
231
+ IpProtocol : " tcp"
232
+ FromPort : 5000
233
+ ToPort : 5000
234
+
224
235
Tags :
225
236
- Key : Name
226
237
Value : !Sub "${AWS::StackName}-CloudConnector"
Original file line number Diff line number Diff line change @@ -240,7 +240,17 @@ Resources:
240
240
GroupDescription : CloudScanning workload Security Group
241
241
SecurityGroupIngress :
242
242
- CidrIp : 0.0.0.0/0
243
- IpProtocol : " -1"
243
+ IpProtocol : " tcp"
244
+ FromPort : 80
245
+ ToPort : 80
246
+ - CidrIp : 0.0.0.0/0
247
+ IpProtocol : " tcp"
248
+ FromPort : 443
249
+ ToPort : 443
250
+ - CidrIp : 0.0.0.0/0
251
+ IpProtocol : " tcp"
252
+ FromPort : 5000
253
+ ToPort : 5000
244
254
Tags :
245
255
- Key : Name
246
256
Value : !Sub "${AWS::StackName}-CloudScanning"
Original file line number Diff line number Diff line change @@ -15,6 +15,23 @@ Resources:
15
15
Rules :
16
16
- ExpirationInDays : !Ref CloudTrailLogRetention
17
17
Status : Enabled
18
+ PublicAccessBlockConfiguration :
19
+ BlockPublicAcls : true
20
+ BlockPublicPolicy : true
21
+ IgnorePublicAcls : true
22
+ RestrictPublicBuckets : true
23
+ LoggingConfiguration :
24
+ DestinationBucketName : !Ref CloudTrailLoggingBucket
25
+ LogFilePrefix : sysdig-cloudtrail-bucket-logs
26
+ CloudTrailLoggingBucket :
27
+ Type : AWS::S3::Bucket
28
+ Properties :
29
+ AccessControl : LogDeliveryWrite
30
+ PublicAccessBlockConfiguration :
31
+ BlockPublicAcls : true
32
+ BlockPublicPolicy : true
33
+ IgnorePublicAcls : true
34
+ RestrictPublicBuckets : true
18
35
19
36
BucketPolicy :
20
37
Type : AWS::S3::BucketPolicy
Original file line number Diff line number Diff line change @@ -134,6 +134,23 @@ Resources:
134
134
Properties :
135
135
VersioningConfiguration :
136
136
Status : Enabled
137
+ PublicAccessBlockConfiguration :
138
+ BlockPublicAcls : true
139
+ BlockPublicPolicy : true
140
+ IgnorePublicAcls : true
141
+ RestrictPublicBuckets : true
142
+ LoggingConfiguration :
143
+ DestinationBucketName : !Ref SysdigConfigLoggingBucket
144
+ LogFilePrefix : sysdig-config-bucket-logs
145
+ SysdigConfigLoggingBucket :
146
+ Type : AWS::S3::Bucket
147
+ Properties :
148
+ AccessControl : LogDeliveryWrite
149
+ PublicAccessBlockConfiguration :
150
+ BlockPublicAcls : true
151
+ BlockPublicPolicy : true
152
+ IgnorePublicAcls : true
153
+ RestrictPublicBuckets : true
137
154
138
155
SysdigSecureAPITokenParameter :
139
156
Type : AWS::SSM::Parameter
You can’t perform that action at this time.
0 commit comments