Skip to content

Commit 3f8e54d

Browse files
author
awstools
committed
feat(client-wafv2): You can now perform an exact match or rate limit aggregation against the web request's JA4 fingerprint.
1 parent 014c4db commit 3f8e54d

14 files changed

+441
-16
lines changed

clients/client-wafv2/src/commands/CheckCapacityCommand.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
112112
* JA3Fingerprint: { // JA3Fingerprint
113113
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
114114
* },
115+
* JA4Fingerprint: { // JA4Fingerprint
116+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
117+
* },
115118
* },
116119
* TextTransformations: [ // TextTransformations // required
117120
* { // TextTransformation
@@ -179,6 +182,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
179182
* JA3Fingerprint: {
180183
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
181184
* },
185+
* JA4Fingerprint: {
186+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
187+
* },
182188
* },
183189
* TextTransformations: [ // required
184190
* {
@@ -242,6 +248,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
242248
* JA3Fingerprint: {
243249
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
244250
* },
251+
* JA4Fingerprint: {
252+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
253+
* },
245254
* },
246255
* TextTransformations: [ // required
247256
* {
@@ -300,6 +309,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
300309
* JA3Fingerprint: {
301310
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
302311
* },
312+
* JA4Fingerprint: {
313+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
314+
* },
303315
* },
304316
* ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
305317
* Size: Number("long"), // required
@@ -445,6 +457,9 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
445457
* JA3Fingerprint: {
446458
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
447459
* },
460+
* JA4Fingerprint: {
461+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
462+
* },
448463
* },
449464
* TextTransformations: [ // required
450465
* {
@@ -572,6 +587,12 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
572587
* UriPath: { // RateLimitUriPath
573588
* TextTransformations: "<TextTransformations>", // required
574589
* },
590+
* JA3Fingerprint: { // RateLimitJA3Fingerprint
591+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
592+
* },
593+
* JA4Fingerprint: { // RateLimitJA4Fingerprint
594+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
595+
* },
575596
* },
576597
* ],
577598
* },
@@ -793,6 +814,12 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
793814
* UriPath: {
794815
* TextTransformations: "<TextTransformations>", // required
795816
* },
817+
* JA3Fingerprint: {
818+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
819+
* },
820+
* JA4Fingerprint: {
821+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
822+
* },
796823
* },
797824
* ],
798825
* },

clients/client-wafv2/src/commands/CreateRuleGroupCommand.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
105105
* JA3Fingerprint: { // JA3Fingerprint
106106
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
107107
* },
108+
* JA4Fingerprint: { // JA4Fingerprint
109+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
110+
* },
108111
* },
109112
* TextTransformations: [ // TextTransformations // required
110113
* { // TextTransformation
@@ -172,6 +175,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
172175
* JA3Fingerprint: {
173176
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
174177
* },
178+
* JA4Fingerprint: {
179+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
180+
* },
175181
* },
176182
* TextTransformations: [ // required
177183
* {
@@ -235,6 +241,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
235241
* JA3Fingerprint: {
236242
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
237243
* },
244+
* JA4Fingerprint: {
245+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
246+
* },
238247
* },
239248
* TextTransformations: [ // required
240249
* {
@@ -293,6 +302,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
293302
* JA3Fingerprint: {
294303
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
295304
* },
305+
* JA4Fingerprint: {
306+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
307+
* },
296308
* },
297309
* ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
298310
* Size: Number("long"), // required
@@ -438,6 +450,9 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
438450
* JA3Fingerprint: {
439451
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
440452
* },
453+
* JA4Fingerprint: {
454+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
455+
* },
441456
* },
442457
* TextTransformations: [ // required
443458
* {
@@ -565,6 +580,12 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
565580
* UriPath: { // RateLimitUriPath
566581
* TextTransformations: "<TextTransformations>", // required
567582
* },
583+
* JA3Fingerprint: { // RateLimitJA3Fingerprint
584+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
585+
* },
586+
* JA4Fingerprint: { // RateLimitJA4Fingerprint
587+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
588+
* },
568589
* },
569590
* ],
570591
* },
@@ -786,6 +807,12 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
786807
* UriPath: {
787808
* TextTransformations: "<TextTransformations>", // required
788809
* },
810+
* JA3Fingerprint: {
811+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
812+
* },
813+
* JA4Fingerprint: {
814+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
815+
* },
789816
* },
790817
* ],
791818
* },

clients/client-wafv2/src/commands/CreateWebACLCommand.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
128128
* JA3Fingerprint: { // JA3Fingerprint
129129
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
130130
* },
131+
* JA4Fingerprint: { // JA4Fingerprint
132+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
133+
* },
131134
* },
132135
* TextTransformations: [ // TextTransformations // required
133136
* { // TextTransformation
@@ -195,6 +198,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
195198
* JA3Fingerprint: {
196199
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
197200
* },
201+
* JA4Fingerprint: {
202+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
203+
* },
198204
* },
199205
* TextTransformations: [ // required
200206
* {
@@ -258,6 +264,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
258264
* JA3Fingerprint: {
259265
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
260266
* },
267+
* JA4Fingerprint: {
268+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
269+
* },
261270
* },
262271
* TextTransformations: [ // required
263272
* {
@@ -316,6 +325,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
316325
* JA3Fingerprint: {
317326
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
318327
* },
328+
* JA4Fingerprint: {
329+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
330+
* },
319331
* },
320332
* ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
321333
* Size: Number("long"), // required
@@ -451,6 +463,9 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
451463
* JA3Fingerprint: {
452464
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
453465
* },
466+
* JA4Fingerprint: {
467+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
468+
* },
454469
* },
455470
* TextTransformations: [ // required
456471
* {
@@ -568,6 +583,12 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
568583
* UriPath: { // RateLimitUriPath
569584
* TextTransformations: "<TextTransformations>", // required
570585
* },
586+
* JA3Fingerprint: { // RateLimitJA3Fingerprint
587+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
588+
* },
589+
* JA4Fingerprint: { // RateLimitJA4Fingerprint
590+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
591+
* },
571592
* },
572593
* ],
573594
* },
@@ -781,6 +802,12 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
781802
* UriPath: {
782803
* TextTransformations: "<TextTransformations>", // required
783804
* },
805+
* JA3Fingerprint: {
806+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
807+
* },
808+
* JA4Fingerprint: {
809+
* FallbackBehavior: "MATCH" || "NO_MATCH", // required
810+
* },
784811
* },
785812
* ],
786813
* },

clients/client-wafv2/src/commands/GetLoggingConfigurationCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigur
106106
* // JA3Fingerprint: { // JA3Fingerprint
107107
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
108108
* // },
109+
* // JA4Fingerprint: { // JA4Fingerprint
110+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
111+
* // },
109112
* // },
110113
* // ],
111114
* // ManagedByFirewallManager: true || false,

clients/client-wafv2/src/commands/GetRuleGroupCommand.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
114114
* // JA3Fingerprint: { // JA3Fingerprint
115115
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
116116
* // },
117+
* // JA4Fingerprint: { // JA4Fingerprint
118+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
119+
* // },
117120
* // },
118121
* // TextTransformations: [ // TextTransformations // required
119122
* // { // TextTransformation
@@ -181,6 +184,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
181184
* // JA3Fingerprint: {
182185
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
183186
* // },
187+
* // JA4Fingerprint: {
188+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
189+
* // },
184190
* // },
185191
* // TextTransformations: [ // required
186192
* // {
@@ -244,6 +250,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
244250
* // JA3Fingerprint: {
245251
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
246252
* // },
253+
* // JA4Fingerprint: {
254+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
255+
* // },
247256
* // },
248257
* // TextTransformations: [ // required
249258
* // {
@@ -302,6 +311,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
302311
* // JA3Fingerprint: {
303312
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
304313
* // },
314+
* // JA4Fingerprint: {
315+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
316+
* // },
305317
* // },
306318
* // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
307319
* // Size: Number("long"), // required
@@ -447,6 +459,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
447459
* // JA3Fingerprint: {
448460
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
449461
* // },
462+
* // JA4Fingerprint: {
463+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
464+
* // },
450465
* // },
451466
* // TextTransformations: [ // required
452467
* // {
@@ -574,6 +589,12 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
574589
* // UriPath: { // RateLimitUriPath
575590
* // TextTransformations: "<TextTransformations>", // required
576591
* // },
592+
* // JA3Fingerprint: { // RateLimitJA3Fingerprint
593+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
594+
* // },
595+
* // JA4Fingerprint: { // RateLimitJA4Fingerprint
596+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
597+
* // },
577598
* // },
578599
* // ],
579600
* // },
@@ -795,6 +816,12 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
795816
* // UriPath: {
796817
* // TextTransformations: "<TextTransformations>", // required
797818
* // },
819+
* // JA3Fingerprint: {
820+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
821+
* // },
822+
* // JA4Fingerprint: {
823+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
824+
* // },
798825
* // },
799826
* // ],
800827
* // },

clients/client-wafv2/src/commands/GetWebACLCommand.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
136136
* // JA3Fingerprint: { // JA3Fingerprint
137137
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
138138
* // },
139+
* // JA4Fingerprint: { // JA4Fingerprint
140+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
141+
* // },
139142
* // },
140143
* // TextTransformations: [ // TextTransformations // required
141144
* // { // TextTransformation
@@ -203,6 +206,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
203206
* // JA3Fingerprint: {
204207
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
205208
* // },
209+
* // JA4Fingerprint: {
210+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
211+
* // },
206212
* // },
207213
* // TextTransformations: [ // required
208214
* // {
@@ -266,6 +272,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
266272
* // JA3Fingerprint: {
267273
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
268274
* // },
275+
* // JA4Fingerprint: {
276+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
277+
* // },
269278
* // },
270279
* // TextTransformations: [ // required
271280
* // {
@@ -324,6 +333,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
324333
* // JA3Fingerprint: {
325334
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
326335
* // },
336+
* // JA4Fingerprint: {
337+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
338+
* // },
327339
* // },
328340
* // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
329341
* // Size: Number("long"), // required
@@ -459,6 +471,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
459471
* // JA3Fingerprint: {
460472
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
461473
* // },
474+
* // JA4Fingerprint: {
475+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
476+
* // },
462477
* // },
463478
* // TextTransformations: [ // required
464479
* // {
@@ -576,6 +591,12 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
576591
* // UriPath: { // RateLimitUriPath
577592
* // TextTransformations: "<TextTransformations>", // required
578593
* // },
594+
* // JA3Fingerprint: { // RateLimitJA3Fingerprint
595+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
596+
* // },
597+
* // JA4Fingerprint: { // RateLimitJA4Fingerprint
598+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
599+
* // },
579600
* // },
580601
* // ],
581602
* // },
@@ -789,6 +810,12 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
789810
* // UriPath: {
790811
* // TextTransformations: "<TextTransformations>", // required
791812
* // },
813+
* // JA3Fingerprint: {
814+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
815+
* // },
816+
* // JA4Fingerprint: {
817+
* // FallbackBehavior: "MATCH" || "NO_MATCH", // required
818+
* // },
792819
* // },
793820
* // ],
794821
* // },

0 commit comments

Comments
 (0)