-
Notifications
You must be signed in to change notification settings - Fork 0
/
waf-v2-owasp-top-10.yaml
682 lines (665 loc) · 26.5 KB
/
waf-v2-owasp-top-10.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
---
## Inspired by the archived sample in https://github.com/amazon-archives/aws-waf-sample/tree/master/waf-owasp-top-10, which
## used the Classic WAF, I created this template for implementing the same set of rules to cover OWASP's Top 10
## Web Application Vulnerabilities, but in the most recent AWS WAF (v2) and only for a (global) CloudFront target.
##
## SPDX-License-Identifier: MIT
##
## Repository:
## https://github.com/misterjunio/cloudfront-waf-v2-owasp-top-10
AWSTemplateFormatVersion: '2010-09-09'
Description: AWS WAF (v2) OWASP Top 10 Vulnerability Rules Set
## ::PARAMETERS::
## Template parameters to be configured
Parameters:
pStackPrefix:
Type: String
Description: The prefix to use when naming resources in this stack. Normally we would use the stack name, but since this template can be used as a resource in other stacks we want to keep the naming consistent. No symbols allowed.
ConstraintDescription: Alphanumeric characters only, maximum 10 characters
AllowedPattern: ^[a-zA-z0-9]+$
MaxLength: 15
pRuleAction:
Type: String
Description: The type of action you want to implement for the rules in this set. Valid options are COUNT or BLOCK.
AllowedValues:
- BLOCK
- COUNT
Default: BLOCK
pIncludesPrefix:
Type: String
Description: This is the URI path prefix (starting with '/') that identifies any files in your webroot that are server-side included components, and should not be invoked directly via URL. These can be headers, footers, 3rd party server side libraries or components. You can add additional prefixes later directly in the set.
Default: /includes
pAdminUrlPrefix:
Type: String
Description: This is the URI path prefix (starting with '/') that identifies your administrative sub-site. You can add additional prefixes later directly in the set.
Default: /admin
pAdminRemoteCidr:
Type: String
Description: This is the IP address allowed to access your administrative interface. Use CIDR notation. You can add additional ones later directly in the set.
Default: 127.0.0.1/32
pMaxExpectedURISize:
Type: Number
Description: Maximum number of bytes allowed in the URI component of the HTTP request. Generally the maximum possible value is determined by the server operating system (maps to file system paths), the web server software, or other middleware components. Choose a value that accomodates the largest URI segment you use in practice in your web application.
Default: 512
pMaxExpectedQueryStringSize:
Type: Number
Description: Maximum number of bytes allowed in the query string component of the HTTP request. Normally the of query string parameters following the "?" in a URL is much larger than the URI , but still bounded by the of the parameters your web application uses and their values.
Default: 1024
pMaxExpectedBodySize:
Type: Number
Description: Maximum number of bytes allowed in the body of the request. If you do not plan to allow large uploads, set it to the largest payload value that makes sense for your web application. Accepting unnecessarily large values can cause performance issues, if large payloads are used as an attack vector against your web application.
Default: 4096
pMaxExpectedCookieSize:
Type: Number
Description: Maximum number of bytes allowed in the cookie header. The maximum size should be less than 4096, the size is determined by the amount of information your web application stores in cookies. If you only pass a session token via cookies, set the size to no larger than the serialized size of the session token and cookie metadata.
Default: 4093
pCsrfExpectedHeader:
Type: String
Description: The custom HTTP request header, where the CSRF token value is expected to be encountered
Default: x-csrf-token
pCsrfExpectedSize:
Type: Number
Description: The size in bytes of the CSRF token value. For example if it's a canonically formatted UUIDv4 value the expected size would be 36 bytes/ASCII characters
Default: 36
## ::METADATA::
## CloudFormation parameter UI definitions
Metadata:
AWS::CloudFormation::Interface:
ParameterGroups:
- Label:
default: Resource Prefix
Parameters:
- pStackPrefix
- Label:
default: WAF Implementation
Parameters:
- pRuleAction
- Label:
default: Generic HTTP Request Enforcement
Parameters:
- pMaxExpectedURISize
- pMaxExpectedQueryStringSize
- pMaxExpectedBodySize
- pMaxExpectedCookieSize
- Label:
default: Administrative Interface
Parameters:
- pAdminUrlPrefix
- pAdminRemoteCidr
- Label:
default: Cross-Site Request Forgery (CSRF)
Parameters:
- pCsrfExpectedHeader
- pCsrfExpectedSize
- Label:
default: Application Specific
Parameters:
- pIncludesPrefix
ParameterLabels:
pStackPrefix:
default: Resource Name Prefix
pRuleAction:
default: Rule Effect
pIncludesPrefix:
default: Server-side components URI prefix
pAdminUrlPrefix:
default: URI prefix
pAdminRemoteCidr:
default: Allowed IP source (CIDR)
pMaxExpectedURISize:
default: Max. size of URI
pMaxExpectedQueryStringSize:
default: Max. size of QUERY STRING
pMaxExpectedBodySize:
default: Max. size of BODY
pMaxExpectedCookieSize:
default: Max. size of COOKIE
pCsrfExpectedHeader:
default: HTTP Request Header
pCsrfExpectedSize:
default: Token Size
## ::RESOURCES::
## Resources used in this solution
Resources:
## IP Set used for Rule A05
wafAdminRemoteAddrIpSet:
Type: AWS::WAFv2::IPSet
Properties:
Name: !Join ['-', [!Ref pStackPrefix, 'admin-ip-set']]
Description: 'IP Set allowed through for admin operations'
Scope: CLOUDFRONT
IPAddressVersion: IPV4
Addresses:
- !Ref pAdminRemoteCidr
## IP Set used for Rule A10
wafBlacklistIpSet:
Type: AWS::WAFv2::IPSet
Properties:
Name: !Join ['-', [!Ref pStackPrefix, 'blacklisted-ip-set']]
Description: 'IP Set blacklisted from access'
Scope: CLOUDFRONT
IPAddressVersion: IPV4
Addresses:
- 10.0.0.0/8
- 192.168.0.0/16
- 169.254.0.0/16
- 172.16.0.0/16
- 127.0.0.1/32
## WebACL containing the rules
wafOwaspACL:
Type: AWS::WAFv2::WebACL
Properties:
Name: owasp-top10-waf-v2-acl
Description: WebACL associated with the WAF, following the OWASP Top 10 rules.
Scope: CLOUDFRONT
DefaultAction:
Allow: {}
VisibilityConfig:
CloudWatchMetricsEnabled: true
SampledRequestsEnabled: true
MetricName: !Join ['', [!Ref pStackPrefix, 'owaspAcl']]
Rules:
## OWASP Top 10 A01
## Mitigate SQL Injection Attacks
## Matches attempted SQLi patterns in the URI, QUERY_STRING, BODY, COOKIES
- Name: !Join ['-', [!Ref pStackPrefix, 'mitigate-sqli']]
Priority: 40
Action:
Block: {}
VisibilityConfig:
CloudWatchMetricsEnabled: true
SampledRequestsEnabled: true
MetricName: !Join ['', [!Ref pStackPrefix, 'mitigateSqli']]
Statement:
OrStatement:
Statements:
- SqliMatchStatement:
FieldToMatch:
UriPath: {}
TextTransformations:
- Priority: 10
Type: URL_DECODE
- Priority: 20
Type: HTML_ENTITY_DECODE
- SqliMatchStatement:
FieldToMatch:
QueryString: {}
TextTransformations:
- Priority: 10
Type: URL_DECODE
- Priority: 20
Type: HTML_ENTITY_DECODE
- SqliMatchStatement:
FieldToMatch:
Body: {}
TextTransformations:
- Priority: 10
Type: URL_DECODE
- Priority: 20
Type: HTML_ENTITY_DECODE
- SqliMatchStatement:
FieldToMatch:
SingleHeader:
Name: cookie
TextTransformations:
- Priority: 10
Type: URL_DECODE
- Priority: 20
Type: HTML_ENTITY_DECODE
## OWASP Top 10 A02
## Blacklist bad/hijacked JWT tokens or session IDs
## Matches the specific values in the cookie or Authorization header
## for JWT it is sufficient to check the signature
- Name: !Join ['-', [!Ref pStackPrefix, 'detect-bad-auth-tokens']]
Priority: 30
Action:
Block: {}
VisibilityConfig:
CloudWatchMetricsEnabled: true
SampledRequestsEnabled: true
MetricName: !Join ['', [!Ref pStackPrefix, 'badAuthTokens']]
Statement:
OrStatement:
Statements:
- ByteMatchStatement:
FieldToMatch:
SingleHeader:
Name: cookie
PositionalConstraint: CONTAINS
SearchString: example-session-id
TextTransformations:
- Priority: 10
Type: URL_DECODE
- ByteMatchStatement:
FieldToMatch:
SingleHeader:
Name: authorization
PositionalConstraint: ENDS_WITH
SearchString: .TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ
TextTransformations:
- Priority: 20
Type: URL_DECODE
## OWASP Top 10 A03
## Mitigate Cross Site Scripting Attacks
## Matches attempted XSS patterns in the URI, QUERY_STRING, BODY, COOKIES
- Name: !Join ['-', [!Ref pStackPrefix, 'mitigate-xss']]
Priority: 50
Action:
Block: {}
VisibilityConfig:
CloudWatchMetricsEnabled: true
SampledRequestsEnabled: true
MetricName: !Join ['', [!Ref pStackPrefix, 'mitigateXss']]
Statement:
OrStatement:
Statements:
- XssMatchStatement:
FieldToMatch:
UriPath: {}
TextTransformations:
- Priority: 10
Type: URL_DECODE
- Priority: 20
Type: HTML_ENTITY_DECODE
- XssMatchStatement:
FieldToMatch:
QueryString: {}
TextTransformations:
- Priority: 10
Type: URL_DECODE
- Priority: 20
Type: HTML_ENTITY_DECODE
- XssMatchStatement:
FieldToMatch:
Body: {}
TextTransformations:
- Priority: 10
Type: URL_DECODE
- Priority: 20
Type: HTML_ENTITY_DECODE
- XssMatchStatement:
FieldToMatch:
SingleHeader:
Name: cookie
TextTransformations:
- Priority: 10
Type: URL_DECODE
- Priority: 20
Type: HTML_ENTITY_DECODE
## OWASP Top 10 A04
## Path Traversal, LFI, RFI
## Matches request patterns designed to traverse filesystem paths, and include
## local or remote files
- Name: !Join ['-', [!Ref pStackPrefix, 'detect-rfi-lfi-traversal']]
Priority: 60
Action:
Block: {}
VisibilityConfig:
CloudWatchMetricsEnabled: true
SampledRequestsEnabled: true
MetricName: !Join ['', [!Ref pStackPrefix, 'detectRfiLfi']]
Statement:
OrStatement:
Statements:
- ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: CONTAINS
SearchString: ../
TextTransformations:
- Priority: 10
Type: URL_DECODE
- Priority: 20
Type: HTML_ENTITY_DECODE
- ByteMatchStatement:
FieldToMatch:
QueryString: {}
PositionalConstraint: CONTAINS
SearchString: ../
TextTransformations:
- Priority: 10
Type: URL_DECODE
- Priority: 20
Type: HTML_ENTITY_DECODE
- ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: CONTAINS
SearchString: ://
TextTransformations:
- Priority: 10
Type: URL_DECODE
- Priority: 20
Type: HTML_ENTITY_DECODE
- ByteMatchStatement:
FieldToMatch:
QueryString: {}
PositionalConstraint: CONTAINS
SearchString: ://
TextTransformations:
- Priority: 10
Type: URL_DECODE
- Priority: 20
Type: HTML_ENTITY_DECODE
## OWASP Top 10 A05
## Privileged Module Access Restrictions
## Restrict access to the admin interface to known source IPs only
## Matches the URI prefix, when the remote IP isn't in the whitelist
- Name: !Join ['-', [!Ref pStackPrefix, 'detect-admin-access']]
Priority: 100
Action:
Block: {}
VisibilityConfig:
CloudWatchMetricsEnabled: true
SampledRequestsEnabled: true
MetricName: !Join ['', [!Ref pStackPrefix, 'detectAdminAccess']]
Statement:
AndStatement:
Statements:
- ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: STARTS_WITH
SearchString: !Ref pAdminUrlPrefix
TextTransformations:
- Priority: 10
Type: URL_DECODE
- NotStatement:
Statement:
IPSetReferenceStatement:
Arn: !GetAtt wafAdminRemoteAddrIpSet.Arn
## OWASP Top 10 A06
## PHP Specific Security Misconfigurations
## Matches request patterns designed to exploit insecure PHP/CGI configuration
- Name: !Join ['-', [!Ref pStackPrefix, 'detect-php-insecure']]
Priority: 70
Action:
Block: {}
VisibilityConfig:
CloudWatchMetricsEnabled: true
SampledRequestsEnabled: true
MetricName: !Join ['', [!Ref pStackPrefix, 'detectPhpInsecure']]
Statement:
OrStatement:
Statements:
- ByteMatchStatement:
FieldToMatch:
QueryString: {}
PositionalConstraint: CONTAINS
SearchString: _SERVER[
TextTransformations:
- Priority: 10
Type: URL_DECODE
- ByteMatchStatement:
FieldToMatch:
QueryString: {}
PositionalConstraint: CONTAINS
SearchString: _ENV[
TextTransformations:
- Priority: 10
Type: URL_DECODE
- ByteMatchStatement:
FieldToMatch:
QueryString: {}
PositionalConstraint: CONTAINS
SearchString: auto_prepend_file=
TextTransformations:
- Priority: 10
Type: URL_DECODE
- ByteMatchStatement:
FieldToMatch:
QueryString: {}
PositionalConstraint: CONTAINS
SearchString: auto_append_file=
TextTransformations:
- Priority: 10
Type: URL_DECODE
- ByteMatchStatement:
FieldToMatch:
QueryString: {}
PositionalConstraint: CONTAINS
SearchString: allow_url_include=
TextTransformations:
- Priority: 10
Type: URL_DECODE
- ByteMatchStatement:
FieldToMatch:
QueryString: {}
PositionalConstraint: CONTAINS
SearchString: disable_functions=
TextTransformations:
- Priority: 10
Type: URL_DECODE
- ByteMatchStatement:
FieldToMatch:
QueryString: {}
PositionalConstraint: CONTAINS
SearchString: open_basedir=
TextTransformations:
- Priority: 10
Type: URL_DECODE
- ByteMatchStatement:
FieldToMatch:
QueryString: {}
PositionalConstraint: CONTAINS
SearchString: safe_mode=
TextTransformations:
- Priority: 10
Type: URL_DECODE
- ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: ENDS_WITH
SearchString: php
TextTransformations:
- Priority: 10
Type: URL_DECODE
- ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: ENDS_WITH
SearchString: /
TextTransformations:
- Priority: 10
Type: URL_DECODE
## OWASP Top 10 A07
## Mitigate abnormal requests via size restrictions
## Enforce consistent request hygiene, limit size of key elements
- Name: !Join ['-', [!Ref pStackPrefix, 'restrict-sizes']]
Priority: 10
Action:
Block: {}
VisibilityConfig:
CloudWatchMetricsEnabled: true
SampledRequestsEnabled: true
MetricName: !Join ['', [!Ref pStackPrefix, 'restrictSizes']]
Statement:
OrStatement:
Statements:
- SizeConstraintStatement:
FieldToMatch:
UriPath: {}
ComparisonOperator: GT
Size: !Ref pMaxExpectedURISize
TextTransformations:
- Priority: 10
Type: NONE
- SizeConstraintStatement:
FieldToMatch:
QueryString: {}
ComparisonOperator: GT
Size: !Ref pMaxExpectedQueryStringSize
TextTransformations:
- Priority: 10
Type: NONE
- SizeConstraintStatement:
FieldToMatch:
Body: {}
ComparisonOperator: GT
Size: !Ref pMaxExpectedBodySize
TextTransformations:
- Priority: 10
Type: NONE
- SizeConstraintStatement:
FieldToMatch:
SingleHeader:
Name: cookie
ComparisonOperator: GT
Size: !Ref pMaxExpectedCookieSize
TextTransformations:
- Priority: 10
Type: NONE
## OWASP Top 10 A08
## CSRF token enforcement example
## Enforce the presence of CSRF token in request header
- Name: !Join ['-', [!Ref pStackPrefix, 'enforce-csrf']]
Priority: 80
Action:
Block: {}
VisibilityConfig:
CloudWatchMetricsEnabled: true
SampledRequestsEnabled: true
MetricName: !Join ['', [!Ref pStackPrefix, 'enforceCsrf']]
Statement:
AndStatement:
Statements:
- ByteMatchStatement:
FieldToMatch:
Method: {}
PositionalConstraint: EXACTLY
SearchString: post
TextTransformations:
- Priority: 10
Type: LOWERCASE
- NotStatement:
Statement:
SizeConstraintStatement:
FieldToMatch:
SingleHeader:
Name: !Ref pCsrfExpectedHeader
ComparisonOperator: EQ
Size: !Ref pCsrfExpectedSize
TextTransformations:
- Priority: 10
Type: NONE
## OWASP Top 10 A09
## Server-side includes & libraries in webroot
## Matches request patterns for webroot objects that shouldn't be directly accessible
- Name: !Join ['-', [!Ref pStackPrefix, 'detect-ssi']]
Priority: 90
Action:
Block: {}
VisibilityConfig:
CloudWatchMetricsEnabled: true
SampledRequestsEnabled: true
MetricName: !Join ['', [!Ref pStackPrefix, 'detectSsi']]
Statement:
OrStatement:
Statements:
- ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: STARTS_WITH
SearchString: !Ref pIncludesPrefix
TextTransformations:
- Priority: 10
Type: URL_DECODE
- ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: ENDS_WITH
SearchString: .cfg
TextTransformations:
- Priority: 10
Type: LOWERCASE
- ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: ENDS_WITH
SearchString: .conf
TextTransformations:
- Priority: 10
Type: LOWERCASE
- ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: ENDS_WITH
SearchString: .config
TextTransformations:
- Priority: 10
Type: LOWERCASE
- ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: ENDS_WITH
SearchString: .ini
TextTransformations:
- Priority: 10
Type: LOWERCASE
- ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: ENDS_WITH
SearchString: .log
TextTransformations:
- Priority: 10
Type: LOWERCASE
- ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: ENDS_WITH
SearchString: .bak
TextTransformations:
- Priority: 10
Type: LOWERCASE
- ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: ENDS_WITH
SearchString: .backup
TextTransformations:
- Priority: 10
Type: LOWERCASE
## OWASP Top 10 A10 (Generic)
## IP Blacklist
## Matches IP addresses that should not be allowed to access content
- Name: !Join ['-', [!Ref pStackPrefix, 'detect-blacklisted-ips']]
Priority: 20
Action:
Block: {}
VisibilityConfig:
CloudWatchMetricsEnabled: true
SampledRequestsEnabled: true
MetricName: !Join ['', [!Ref pStackPrefix, 'blacklistedIps']]
Statement:
IPSetReferenceStatement:
Arn: !GetAtt wafBlacklistIpSet.Arn
## ::OUTPUTS::
## Outputs that may be useful
Outputs:
wafWebACLMetric:
Value: !Join ['', [!Ref pStackPrefix, 'owaspAcl']]
wafSQLiRuleMetric:
Value: !Join ['', [!Ref pStackPrefix, 'mitigateSqli']]
wafAuthTokenRuleMetric:
Value: !Join ['', [!Ref pStackPrefix, 'badAuthTokens']]
wafXSSRuleMetric:
Value: !Join ['', [!Ref pStackPrefix, 'mitigateXss']]
wafPathsRuleMetric:
Value: !Join ['', [!Ref pStackPrefix, 'detectRfiLfi']]
wafPHPMisconfigRuleMetric:
Value: !Join ['', [!Ref pStackPrefix, 'detectPhpInsecure']]
wafAdminAccessRuleMetric:
Value: !Join ['', [!Ref pStackPrefix, 'detectAdminAccess']]
wafCSRFRuleMetric:
Value: !Join ['', [!Ref pStackPrefix, 'enforceCsrf']]
wafSSIRuleMetric:
Value: !Join ['', [!Ref pStackPrefix, 'detectSsi']]
wafBlacklistIpRuleMetric:
Value: !Join ['', [!Ref pStackPrefix, 'blacklistedIps']]
wafSizeRestrictionRuleMetric:
Value: !Join ['', [!Ref pStackPrefix, 'restrictSizes']]
wafAdminAccessWhitelist:
Value: !Ref wafAdminRemoteAddrIpSet
wafIpBlacklist:
Value: !Ref wafBlacklistIpSet