-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdeploy-sumo-aws-apps.yaml
729 lines (690 loc) · 28.6 KB
/
deploy-sumo-aws-apps.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: A CloudFormation template that creates a role for authenticating with Sumo’s AWS integrations.
Metadata:
AWS::CloudFormation::Interface:
ParameterGroups:
-
Label:
default: "Sumo Logic Deployment Configuration (Required)"
Parameters:
- SumoDeployment
- SumoAccessID
- SumoAccessKey
- RemoveSumoResourcesOnDeleteStack
- SumoOrganizationId
- S3BucketPrefix
-
Label:
default: "Select the Sumo Logic Apps that you want to Deploy:"
Parameters:
- InstallGuardDutyApp
- InstallGuardDutyBenchmarkApp
- InstallVPCFlowLogsApp
- InstallWAFApp
- InstallS3AuditApp
- InstallSecurityHub
- InstallThreatIntelForAWS
- InstallCloudTrailApp
- InstallCISFoundationsApp
- InstallPCICloudTrailApp
- InstallPCIVPCFlowLogsApp
-
Label:
default: "Sumo Logic Amazon GuardDuty App Configuration"
Parameters:
- SourceCategoryName
-
Label:
default: "Sumo Logic Amazon GuardDuty Benchmark App Configuration"
Parameters:
- BenchmarkSourceCategoryName
-
Label:
default: "Sumo Logic Amazon VPC Flow Logs App Configuration"
Parameters:
- VPCFlowLogsTargetS3BucketName
- VPCFlowLogsCreateTargetS3Bucket
- VPCFlowLogsSourceCategoryName
- VPCFlowLogsPathExpression
- VPCFlowLogsExcludeRuleName
- VPCFlowLogsExcludeRule
-
Label:
default: "Sumo Logic Amazon S3 Audit App Configuration"
Parameters:
- S3AuditLogsTargetS3BucketName
- S3AuditCreateTargetS3Bucket
- S3AuditSourceCategoryName
- S3AuditPathExpression
-
Label:
default: "Sumo Logic AWS WAF App Configuration"
Parameters:
- KinesisDestinationS3BucketName
- CreateKinesisDestinationS3Bucket
- WAFSourceCategoryName
- WAFPathExpression
- DeliveryStreamName
- CompressionFormat
-
Label:
default: "Sumo Logic AWS CloudTrail App Configuration"
Parameters:
- CloudTrailTargetS3BucketName
- CreateCloudTrailTargetS3Bucket
- CloudTrailSourceCategoryName
- CloudTrailPathExpression
-
Label:
default: "Sumo Logic AWS Security Hub App Configuration"
Parameters:
- EnableSecurityHub
- SecurityHubLogsS3BucketName
- SecurityHubCreateS3Bucket
- SecurityHubPathExpression
- SecurityHubConnectionName
- SecurityHubSourceCategoryName
-
Label:
default: "Sumo Logic Threat Intel For AWS App Configuration"
Parameters:
- CloudTrailSourceCategoryName
- VPCFlowLogsSourceCategoryName
- ELBSourceCategory
-
Label:
default: "Sumo Logic CIS AWS Foundations Benchmark App Configuration"
Parameters:
- CISFoundationsTargetS3BucketName
- CISFoundationsSourceCategoryName
- CreateCISFoundationsTargetS3Bucket
- CISFoundationsPathExpression
-
Label:
default: "Sumo Logic PCI Compliance For AWS CloudTrail App Configuration"
Parameters:
- CloudTrailSourceCategoryName
- CloudTrailPathExpression
- CloudTrailTargetS3BucketName
- CreateCloudTrailTargetS3Bucket
-
Label:
default: "Sumo Logic PCI Compliance For Amazon VPC Flow App Configuration"
Parameters:
- VPCFlowLogsSourceCategoryName
- VPCFlowLogsPathExpression
- VPCFlowLogsTargetS3BucketName
- VPCFlowLogsCreateTargetS3Bucket
- Label:
default: "AWS Quick Start configuration"
Parameters:
- QSS3BucketName
- QSS3KeyPrefix
ParameterLabels:
SumoDeployment:
default: "Sumo Logic Deployment Name"
SumoAccessID:
default: "Sumo Logic Access ID"
SumoAccessKey:
default: "Sumo Logic Access Key"
RemoveSumoResourcesOnDeleteStack:
default: "Delete Sumo Logic Resources when stack is deleted"
SumoOrganizationId:
default: "Sumo Logic Organization Id"
S3BucketPrefix:
default: "Prefix For Your S3 Buckets"
InstallGuardDutyApp:
default: "Install Amazon GuardDuty App"
InstallGuardDutyBenchmarkApp:
default: "Install Amazon GuardDuty Benchmark App"
InstallVPCFlowLogsApp:
default: "Install Amazon VPC Flow Logs App"
InstallWAFApp:
default: "Install AWS WAF App"
InstallS3AuditApp:
default: "Install Amazon S3 Audit App"
InstallSecurityHub:
default: "Install AWS Security Hub App"
InstallThreatIntelForAWS:
default: "Install Threat Intel for AWS App"
InstallPCICloudTrailApp:
default: "Install PCI Compliance For AWS CloudTrail App"
InstallPCIVPCFlowLogsApp:
default: "Install PCI Compliance For Amazon VPC Flow App"
InstallCloudTrailApp:
default: "Install AWS CloudTrail App"
InstallCISFoundationsApp:
default: "Install CIS AWS Foundations Benchmark App"
SourceCategoryName:
default: "Source Category Name"
BenchmarkSourceCategoryName:
default: "Source Category Name"
VPCFlowLogsTargetS3BucketName:
default: "S3 Bucket Name for Logs"
VPCFlowLogsCreateTargetS3Bucket:
default: "Create S3 Bucket for Logs"
VPCFlowLogsSourceCategoryName:
default: "Source Category Name"
VPCFlowLogsPathExpression:
default: "Path Expression"
VPCFlowLogsExcludeRuleName:
default: "Exclude Rule Name"
VPCFlowLogsExcludeRule:
default: "Exclude Rule"
S3AuditLogsTargetS3BucketName:
default: "S3 Bucket Name for Logs"
S3AuditCreateTargetS3Bucket:
default: "Create S3 Bucket for Logs"
S3AuditSourceCategoryName:
default: "Source Category Name"
S3AuditPathExpression:
default: "Path Expression"
KinesisDestinationS3BucketName:
default: "S3 Bucket Name for Logs"
CreateKinesisDestinationS3Bucket:
default: "Create S3 Bucket for Logs"
WAFSourceCategoryName:
default: "Source Category Name"
WAFPathExpression:
default: "Path Expression"
DeliveryStreamName:
default: "Kinesis Delivery Stream Name"
CompressionFormat:
default: "Compression Format"
EnableSecurityHub:
default: "Enable Security Hub"
SecurityHubLogsS3BucketName:
default: "S3 Bucket Name for Logs"
SecurityHubCreateS3Bucket:
default: "Create S3 Bucket for Logs"
SecurityHubPathExpression:
default: "Path Expression"
SecurityHubConnectionName:
default: "Security Hub Connection Name"
SecurityHubSourceCategoryName:
default: "Source Category Name"
CloudTrailTargetS3BucketName:
default: "S3 Bucket Name for Logs"
CreateCloudTrailTargetS3Bucket:
default: "Create S3 Bucket for Logs"
CloudTrailSourceCategoryName:
default: "Source Category Name"
CloudTrailPathExpression:
default: "Path Expression"
ELBSourceCategory:
default: "Sumo Logic ELB App Source Category Name"
CISFoundationsTargetS3BucketName:
default: "S3 Bucket Name for Logs"
CISFoundationsSourceCategoryName:
default: "Source Category Name"
CreateCISFoundationsTargetS3Bucket:
default: "Create S3 Bucket for Logs"
CISFoundationsPathExpression:
default: "Path Expression"
QSS3BucketName:
default: "Quick Start S3 bucket name"
QSS3KeyPrefix:
default: "Quick Start S3 key prefix"
Parameters:
InstallGuardDutyApp:
Type: String
Default: "yes"
Description: Do you need to install guard duty app?
AllowedValues:
- "yes"
- "no"
SourceCategoryName:
Type: String
Description: Category metadata to use later for querying, e.g. prod/web/apache/access . This data is queried using the '_sourceCategory' key name.
Default: AWS/QuickStart/GuardDuty
SumoOrganizationId:
Description: The Account Overview page displays information about your Sumo Logic organization.
Type: String
SumoAccessID:
Type: String
Description: The Sumo Logic Access ID.
SumoAccessKey:
Type: String
Description: The Sumo Logic Access Key.
SumoDeployment:
Type: String
AllowedValues:
- au
- ca
- de
- eu
- jp
- us2
- us1
Description: "Enter au, ca, de, eu, jp, us2, or us1."
RemoveSumoResourcesOnDeleteStack:
AllowedValues:
- true
- false
Default: true
Description: To delete collector, sources and app when stack is deleted, set this parameter to true. Default is true.
Type: String
S3BucketPrefix:
Type: String
Description: Provide a unique S3 Bucket prefix to apply for all logs buckets created using the quickstart template.
InstallGuardDutyBenchmarkApp:
Type: String
Default: "yes"
AllowedValues:
- "yes"
- "no"
BenchmarkSourceCategoryName:
Type: String
Description: Category metadata to use later for querying, e.g. prod/web/apache/access . This data is queried using the '_sourceCategory' key name.
Default: AWS/QuickStart/Guardduty/benchmark
InstallCloudTrailApp:
Type: String
Default: "yes"
AllowedValues:
- "yes"
- "no"
CloudTrailSourceCategoryName:
Type: String
Description: Category metadata to use later for querying, e.g. prod/web/apache/access . This data is queried using the '_sourceCategory' key name.
Default: AWS/QuickStart/cloudtrail
CloudTrailPathExpression:
Type: String
Description: Path expression to match one or more S3 objects. For example, ABC*.log or ABC.log or *.
Default: "*"
CloudTrailTargetS3BucketName:
Type: String
Default: "quickstart-cloudtrail-logs"
Description: Provide the bucket name where the logs will be stored and then collected by Sumo Logic source.
CreateCloudTrailTargetS3Bucket:
Type: String
Default: "yes"
AllowedValues: ["yes", "no"]
Description: "Do you want to create a target S3 bucket?"
InstallCISFoundationsApp:
Type: String
Default: "yes"
AllowedValues:
- "yes"
- "no"
CISFoundationsSourceCategoryName:
Type: String
Description: Category metadata to use later for querying, e.g. prod/web/apache/access . This data is queried using the '_sourceCategory' key name.
Default: AWS/QuickStart/CIS
CISFoundationsPathExpression:
Type: String
Description: Path expression to match one or more S3 objects. For example, ABC*.log or ABC.log or *.
Default: "*"
CISFoundationsTargetS3BucketName:
Type: String
Default: "quickstart-cis-logs"
Description: Provide the bucket name where the logs will be stored and then collected by Sumo Logic source.
CreateCISFoundationsTargetS3Bucket:
Type: String
Default: "yes"
AllowedValues: ["yes", "no"]
Description: "Do you want to create a target S3 bucket?"
InstallVPCFlowLogsApp:
Type: String
Default: "yes"
AllowedValues:
- "yes"
- "no"
VPCFlowLogsSourceCategoryName:
Type: String
Description: Category metadata to use later for querying, e.g. prod/web/apache/access . This data is queried using the '_sourceCategory' key name.
Default: AWS/QuickStart/vpc
VPCFlowLogsTargetS3BucketName:
Type: String
Default: "quickstart-vpc-logs"
Description: Provide the bucket name where the logs will be stored and then collected by Sumo Logic source.
VPCFlowLogsCreateTargetS3Bucket:
Type: String
Default: "yes"
AllowedValues: ["yes", "no"]
Description: "Do you want to create a target S3 bucket?"
VPCFlowLogsPathExpression:
Type: String
Description: Path expression to match one or more S3 objects. For example, ABC*.log or ABC.log or *.
Default: "*"
VPCFlowLogsExcludeRuleName:
Type: String
Description: Processing rule for Sumo Logic Source.
Default: Exclude VPC File Flow headers
VPCFlowLogsExcludeRule:
Type: String
Description: Exclude rule regexp
Default: version account-id interface-id srcaddr dstaddr srcport dstport protocol packets bytes start end action log-status
InstallS3AuditApp:
Type: String
Default: "yes"
AllowedValues:
- "yes"
- "no"
S3AuditSourceCategoryName:
Type: String
Description: Category metadata to use later for querying, e.g. prod/web/apache/access . This data is queried using the '_sourceCategory' key name.
Default: AWS/QuickStart/s3audit
S3AuditLogsTargetS3BucketName:
Type: String
Default: "quickstart-s3-audit-logs"
Description: Provide the bucket name where the logs will be stored and then collected by Sumo Logic source.
S3AuditCreateTargetS3Bucket:
Type: String
Default: "yes"
AllowedValues: ["yes", "no"]
Description: "Do you want to create a target S3 bucket?"
S3AuditPathExpression:
Type: String
Description: Path expression to match one or more S3 objects. For example, ABC*.log or ABC.log or *.
Default: "*"
InstallWAFApp:
Type: String
Default: "yes"
AllowedValues:
- "yes"
- "no"
WAFSourceCategoryName:
Type: String
Description: Category metadata to use later for querying, e.g. prod/web/apache/access . This data is queried using the '_sourceCategory' key name.
Default: "AWS/QuickStart/waf"
KinesisDestinationS3BucketName:
Type: String
Default: "quickstart-waf-kinesis-logs"
Description: Provide the bucket name where the logs will be stored and then collected by Sumo Logic source.
CreateKinesisDestinationS3Bucket:
Type: String
Default: "yes"
AllowedValues: ["yes", "no"]
Description: "Do you want to create a target S3 bucket?"
WAFPathExpression:
Type: String
Description: Path expression to match one or more S3 objects. For example, ABC*.log or ABC.log or *.
Default: "*"
DeliveryStreamName:
Type: String
Default: waf-kinesis-delivery-stream-quickstart
Description: "Name of the delivery stream."
InstallSecurityHub:
Type: String
Default: "yes"
AllowedValues:
- "yes"
- "no"
EnableSecurityHub:
Type: String
Default: "no"
AllowedValues: ["yes", "no"]
SecurityHubConnectionName:
Type: String
Default: security-hub-webhook-connection
SecurityHubSourceCategoryName:
Type: String
Description: Category metadata to use later for querying, e.g. prod/web/apache/access . This data is queried using the '_sourceCategory' key name.
Default: AWS/QuickStart/hub
SecurityHubPathExpression:
Type: String
Default: "*"
Description: Path expression to match one or more S3 objects. For example, ABC*.log or ABC.log or *.
SecurityHubLogsS3BucketName:
Type: String
Default: "quickstart-hub-logs"
Description: Provide the bucket name where the logs will be stored and then collected by Sumo Logic source.
SecurityHubCreateS3Bucket:
Type: String
Default: "yes"
AllowedValues: ["yes", "no"]
Description: "Do you want to create a target S3 bucket?"
InstallThreatIntelForAWS:
Type: String
Default: "yes"
AllowedValues:
- "yes"
- "no"
ELBSourceCategory:
Type: String
Description: Category name for your Sumo Logic ELB app
Default: "*elb*"
InstallPCICloudTrailApp:
Type: String
Default: "yes"
AllowedValues:
- "yes"
- "no"
InstallPCIVPCFlowLogsApp:
Type: String
Default: "yes"
AllowedValues:
- "yes"
- "no"
QSS3BucketName:
AllowedPattern: "^[0-9a-zA-Z]+([0-9a-zA-Z-]*[0-9a-zA-Z])*$"
ConstraintDescription: "Quick Start bucket name can include numbers, lowercase letters, uppercase letters, and hyphens (-). It cannot start or end with a hyphen (-)."
Default: "aws-quickstart"
Description: "S3 bucket name for the Quick Start assets. This string can include numbers, lowercase letters, uppercase letters, and hyphens (-). It cannot start or end with a hyphen (-)."
Type: "String"
QSS3KeyPrefix:
AllowedPattern: "^[0-9a-zA-Z-/]*$"
ConstraintDescription: "Quick Start key prefix can include numbers, lowercase letters, uppercase letters, hyphens (-), and forward slash (/)."
Default: "quickstart-sumo-logic-log-centralization/"
Description: "S3 key prefix for the Quick Start assets. Quick Start key prefix can include numbers, lowercase letters, uppercase letters, hyphens (-), and forward slash (/)."
Type: "String"
Conditions:
InstallGuardDutyCondition: !Equals [ !Ref InstallGuardDutyApp, "yes" ]
InstallGuardDutyBenchmarkCondition: !Equals [ !Ref InstallGuardDutyBenchmarkApp, "yes" ]
InstallCloudTrailCondition: !Equals [ !Ref InstallCloudTrailApp, "yes" ]
InstallCISFoundationsCondition: !Equals [ !Ref InstallCISFoundationsApp, "yes" ]
InstallVPCFlowLogsCondition: !Equals [ !Ref InstallVPCFlowLogsApp, "yes" ]
InstallS3AuditCondition: !Equals [ !Ref InstallS3AuditApp, "yes" ]
InstallWAFCondition: !Equals [ !Ref InstallWAFApp, "yes" ]
InstallSecurityHubCondition: !Equals [ !Ref InstallSecurityHub, "yes" ]
InstallThreatIntelCondition: !Equals [ !Ref InstallThreatIntelForAWS, "yes" ]
InstallPCICloudTrailCondition: !Equals [ !Ref InstallPCICloudTrailApp, "yes" ]
InstallPCIVPCFlowLogsCondition: !Equals [ !Ref InstallPCIVPCFlowLogsApp, "yes" ]
Resources:
sumocisfoundations:
Condition: InstallCISFoundationsCondition
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: !Sub "https://${QSS3BucketName}.s3.amazonaws.com/${QSS3KeyPrefix}submodules/sumo-aws-apps/CIS-Foundations/CIS-Foundations.template.yaml"
Parameters:
CollectorName: "QuickStart-CISAWSFoundationsBenchmark"
RemoveSumoResourcesOnDeleteStack: !Ref RemoveSumoResourcesOnDeleteStack
SourceCategoryName: !Ref CISFoundationsSourceCategoryName
SourceName: "CISAWSFoundationsBenchmark"
SumoAccessID: !Ref SumoAccessID
SumoAccessKey: !Ref SumoAccessKey
SumoDeployment: !Ref SumoDeployment
ExternalID: !Sub "${SumoDeployment}:${SumoOrganizationId}"
PathExpression: !Ref CISFoundationsPathExpression
CISTargetS3BucketName: !Sub "${S3BucketPrefix}-${CISFoundationsTargetS3BucketName}"
CreateTargetS3Bucket: !Ref CreateCISFoundationsTargetS3Bucket
QSS3BucketName: !Ref QSS3BucketName
QSS3KeyPrefix: !Ref QSS3KeyPrefix
sumoguardduty:
Condition: InstallGuardDutyCondition
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: !Sub "https://${QSS3BucketName}.s3.amazonaws.com/${QSS3KeyPrefix}submodules/sumo-aws-apps/guardduty/guardduty.template.yaml"
Parameters:
CollectorName: "QuickStart-AmazonGuardDuty"
RemoveSumoResourcesOnDeleteStack: !Ref RemoveSumoResourcesOnDeleteStack
SourceCategoryName: !Ref SourceCategoryName
SourceName: "AmazonGuardDuty"
SumoAccessID: !Ref SumoAccessID
SumoAccessKey: !Ref SumoAccessKey
SumoDeployment: !Ref SumoDeployment
QSS3BucketName: !Ref QSS3BucketName
QSS3KeyPrefix: !Ref QSS3KeyPrefix
sumoguarddutybenchmark:
Condition: InstallGuardDutyBenchmarkCondition
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: !Sub "https://${QSS3BucketName}.s3.amazonaws.com/${QSS3KeyPrefix}submodules/sumo-aws-apps/guardduty/benchmark/guarddutybenchmark.template.yaml"
Parameters:
CollectorName: "QuickStart-AmazonGuardDutyBenchmark"
RemoveSumoResourcesOnDeleteStack: !Ref RemoveSumoResourcesOnDeleteStack
SourceCategoryName: !Ref BenchmarkSourceCategoryName
SourceName: "AmazonGuardDutyBenchmark"
SumoAccessID: !Ref SumoAccessID
SumoAccessKey: !Ref SumoAccessKey
SumoDeployment: !Ref SumoDeployment
QSS3BucketName: !Ref QSS3BucketName
QSS3KeyPrefix: !Ref QSS3KeyPrefix
sumocloudtrail:
Condition: InstallCloudTrailCondition
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: !Sub "https://${QSS3BucketName}.s3.amazonaws.com/${QSS3KeyPrefix}submodules/sumo-aws-apps/cloudtrail/cloudtrail.template.yaml"
Parameters:
CollectorName: "QuickStart-AWSCloudTrail"
RemoveSumoResourcesOnDeleteStack: !Ref RemoveSumoResourcesOnDeleteStack
SourceCategoryName: !Ref CloudTrailSourceCategoryName
SourceName: "AWSCloudTrail"
SumoAccessID: !Ref SumoAccessID
SumoAccessKey: !Ref SumoAccessKey
SumoDeployment: !Ref SumoDeployment
ExternalID: !Sub "${SumoDeployment}:${SumoOrganizationId}"
PathExpression: !Ref CloudTrailPathExpression
CloudTrailTargetS3BucketName: !Sub "${S3BucketPrefix}-${CloudTrailTargetS3BucketName}"
CreateTargetS3Bucket: !Ref CreateCloudTrailTargetS3Bucket
QSS3BucketName: !Ref QSS3BucketName
QSS3KeyPrefix: !Ref QSS3KeyPrefix
sumoS3Audit:
Condition: InstallS3AuditCondition
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: !Sub "https://${QSS3BucketName}.s3.amazonaws.com/${QSS3KeyPrefix}submodules/sumo-aws-apps/s3-audit/s3audit.template.yaml"
Parameters:
CollectorName: "QuickStart-AmazonS3Audit"
RemoveSumoResourcesOnDeleteStack: !Ref RemoveSumoResourcesOnDeleteStack
SourceCategoryName: !Ref S3AuditSourceCategoryName
SourceName: "AmazonS3Audit"
SumoAccessID: !Ref SumoAccessID
SumoAccessKey: !Ref SumoAccessKey
AccessLogsTargetS3BucketName: !Sub "${S3BucketPrefix}-${S3AuditLogsTargetS3BucketName}"
CreateTargetS3Bucket: !Ref S3AuditCreateTargetS3Bucket
PathExpression: !Ref S3AuditPathExpression
SumoDeployment: !Ref SumoDeployment
ExternalID: !Sub "${SumoDeployment}:${SumoOrganizationId}"
QSS3BucketName: !Ref QSS3BucketName
QSS3KeyPrefix: !Ref QSS3KeyPrefix
sumoSecurityHubStack:
Type: AWS::CloudFormation::Stack
Condition: InstallSecurityHubCondition
Properties:
TemplateURL: !Sub "https://${QSS3BucketName}.s3.amazonaws.com/${QSS3KeyPrefix}submodules/sumo-aws-apps/security-hub/securityhub.template.yaml"
Parameters:
SumoDeployment: !Ref SumoDeployment
SumoAccessID: !Ref SumoAccessID
SumoAccessKey: !Ref SumoAccessKey
RemoveSumoResourcesOnDeleteStack: !Ref RemoveSumoResourcesOnDeleteStack
EnableSecurityHub: !Ref EnableSecurityHub
CollectorName: "QuickStart-AWSSecurityHub"
ConnectionName: !Ref SecurityHubConnectionName
S3BucketName: !Sub "${S3BucketPrefix}-${SecurityHubLogsS3BucketName}"
CreateTargetS3Bucket: !Ref SecurityHubCreateS3Bucket
SourceCategoryName: !Ref SecurityHubSourceCategoryName
SourceName: "AWSSecurityHub"
PathExpression: !Ref SecurityHubPathExpression
ExternalID: !Sub "${SumoDeployment}:${SumoOrganizationId}"
QSS3BucketName: !Ref QSS3BucketName
QSS3KeyPrefix: !Ref QSS3KeyPrefix
sumoThreatIntelForAWS:
Condition: InstallThreatIntelCondition
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: !Sub "https://${QSS3BucketName}.s3.amazonaws.com/${QSS3KeyPrefix}submodules/sumo-aws-apps/threat-intel-for-aws/threatintel.template.yaml"
Parameters:
CloudTrailSourceCategory: !Ref CloudTrailSourceCategoryName
RemoveSumoResourcesOnDeleteStack: !Ref RemoveSumoResourcesOnDeleteStack
VPCSourceCategory: !Ref VPCFlowLogsSourceCategoryName
ELBSourceCategory: !Ref ELBSourceCategory
SumoAccessID: !Ref SumoAccessID
SumoAccessKey: !Ref SumoAccessKey
SumoDeployment: !Ref SumoDeployment
QSS3BucketName: !Ref QSS3BucketName
QSS3KeyPrefix: !Ref QSS3KeyPrefix
sumoWAF:
Condition: InstallWAFCondition
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: !Sub "https://${QSS3BucketName}.s3.amazonaws.com/${QSS3KeyPrefix}submodules/sumo-aws-apps/WAF/waf.template.yaml"
Parameters:
CollectorName: "QuickStart-AWSWAF"
RemoveSumoResourcesOnDeleteStack: !Ref RemoveSumoResourcesOnDeleteStack
SourceCategoryName: !Ref WAFSourceCategoryName
SourceName: "AWSWAF"
SumoAccessID: !Ref SumoAccessID
SumoAccessKey: !Ref SumoAccessKey
KinesisDestinationS3BucketName: !Sub "${S3BucketPrefix}-${KinesisDestinationS3BucketName}"
CreateKinesisDestinationS3Bucket: !Ref CreateKinesisDestinationS3Bucket
PathExpression: !Ref WAFPathExpression
SumoDeployment: !Ref SumoDeployment
ExternalID: !Sub "${SumoDeployment}:${SumoOrganizationId}"
DeliveryStreamName: !Ref DeliveryStreamName
QSS3BucketName: !Ref QSS3BucketName
QSS3KeyPrefix: !Ref QSS3KeyPrefix
sumoVPCFlowLogs:
Condition: InstallVPCFlowLogsCondition
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: !Sub "https://${QSS3BucketName}.s3.amazonaws.com/${QSS3KeyPrefix}submodules/sumo-aws-apps/vpc-flow-logs/vpcflowlogs.template.yaml"
Parameters:
CollectorName: "QuickStart-AmazonVPCFlowLogs"
RemoveSumoResourcesOnDeleteStack: !Ref RemoveSumoResourcesOnDeleteStack
SourceCategoryName: !Ref VPCFlowLogsSourceCategoryName
SourceName: "AmazonVPCFlowLogs"
SumoAccessID: !Ref SumoAccessID
SumoAccessKey: !Ref SumoAccessKey
LogsTargetS3BucketName: !Sub "${S3BucketPrefix}-${VPCFlowLogsTargetS3BucketName}"
VPCFlowLogAppSourceCategoryName: !Ref VPCFlowLogsSourceCategoryName
CreateTargetS3Bucket: !Ref VPCFlowLogsCreateTargetS3Bucket
PathExpression: !Ref VPCFlowLogsPathExpression
SumoDeployment: !Ref SumoDeployment
ExternalID: !Sub "${SumoDeployment}:${SumoOrganizationId}"
QSS3BucketName: !Ref QSS3BucketName
QSS3KeyPrefix: !Ref QSS3KeyPrefix
sumoPCIVPCFlowLogsStack:
Type: AWS::CloudFormation::Stack
Condition: InstallPCIVPCFlowLogsCondition
Properties:
TemplateURL: !Sub "https://${QSS3BucketName}.s3.amazonaws.com/${QSS3KeyPrefix}submodules/sumo-aws-apps/pci-compliance-vpc-flow/pci_compliance_vpc_logs.template.yaml"
Parameters:
S3SourceUtilTempalteS3Url: !Sub "https://${QSS3BucketName}.s3.amazonaws.com/${QSS3KeyPrefix}submodules/sumo-aws-apps/sumo-s3-source-utils/s3utils.template.yaml"
SumoDeployment: !Ref SumoDeployment
SumoAccessID: !Ref SumoAccessID
SumoAccessKey: !Ref SumoAccessKey
RemoveSumoResourcesOnDeleteStack: !Ref RemoveSumoResourcesOnDeleteStack
CollectorName: !If [InstallVPCFlowLogsCondition, "QuickStart-AmazonVPCFlowLogs", "QuickStart-AmazonPCI-VPCFlowLogs"]
LogsTargetS3BucketName: !Sub "${S3BucketPrefix}-${VPCFlowLogsTargetS3BucketName}"
CreateTargetS3Bucket: !If [InstallVPCFlowLogsCondition, "no", !Ref VPCFlowLogsCreateTargetS3Bucket]
PCIVpcFlowAppSourceCategory: !Ref VPCFlowLogsSourceCategoryName
SourceName: "AmazonVPCFlowLogs"
PathExpression: !Ref VPCFlowLogsPathExpression
ExternalID: !Sub "${SumoDeployment}:${SumoOrganizationId}"
SourceCategory: !Ref VPCFlowLogsSourceCategoryName
QSS3BucketName: !Ref QSS3BucketName
QSS3KeyPrefix: !Ref QSS3KeyPrefix
sumoPCICloudTrailStack:
Type: AWS::CloudFormation::Stack
Condition: InstallPCICloudTrailCondition
Properties:
TemplateURL: !Sub "https://${QSS3BucketName}.s3.amazonaws.com/${QSS3KeyPrefix}submodules/sumo-aws-apps/pci-compliance-cloudtrail-app/pci-compliance-cloudtrail-app.template.yaml"
Parameters:
S3SourceUtilTempalteS3Url: !Sub "https://${QSS3BucketName}.s3.amazonaws.com/${QSS3KeyPrefix}submodules/sumo-aws-apps/sumo-s3-source-utils/s3utils.template.yaml"
SumoDeployment: !Ref SumoDeployment
SumoAccessID: !Ref SumoAccessID
SumoAccessKey: !Ref SumoAccessKey
RemoveSumoResourcesOnDeleteStack: !Ref RemoveSumoResourcesOnDeleteStack
CollectorName: !If [InstallCloudTrailCondition, "QuickStart-AWSCloudTrail", "QuickStart-AWSPCI-CloudTrail"]
SourceCategory: !Ref CloudTrailSourceCategoryName
LogsTargetS3BucketName: !Sub "${S3BucketPrefix}-${CloudTrailTargetS3BucketName}"
CreateTargetS3Bucket: !If [InstallCloudTrailCondition, "no", !Ref CreateCloudTrailTargetS3Bucket]
SourceName: "AWSCloudTrail"
CreateTrail: !If [InstallCloudTrailCondition, "no", "yes"]
PathExpression: !Ref CloudTrailPathExpression
ExternalID: !Sub "${SumoDeployment}:${SumoOrganizationId}"
PCICloudTrailAppSourceCategory: !Ref CloudTrailSourceCategoryName
QSS3BucketName: !Ref QSS3BucketName
QSS3KeyPrefix: !Ref QSS3KeyPrefix