@aws-sdk/client-wafv2 3.1170.0 → 3.1172.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1169.0";
72
+ var version = "3.1171.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -451,6 +451,7 @@ const _AA = "AllowAction";
451
451
  const _AAp = "ApplicationAttribute";
452
452
  const _AApp = "ApplicationAttributes";
453
453
  const _AC = "ActionCondition";
454
+ const _ACn = "AnalyticsConfig";
454
455
  const _ACp = "ApplicationConfig";
455
456
  const _ACs = "AssociationConfig";
456
457
  const _AF = "AddressField";
@@ -827,7 +828,8 @@ const _MS = "MatchScope";
827
828
  const _MSC = "MonetizeServedCount";
828
829
  const _MSR = "MobileSdkRelease";
829
830
  const _Me = "Method";
830
- const _Mo = "Monetize";
831
+ const _Mo = "Mode";
832
+ const _Mon = "Monetize";
831
833
  const _N = "Name";
832
834
  const _NA = "NoneAction";
833
835
  const _NLT = "NextLockToken";
@@ -1253,6 +1255,11 @@ var AllQueryArguments$ = [3, n0, _AQA,
1253
1255
  [],
1254
1256
  []
1255
1257
  ];
1258
+ var AnalyticsConfig$ = [3, n0, _ACn,
1259
+ 0,
1260
+ [_Mo],
1261
+ [0], 1
1262
+ ];
1256
1263
  var AndStatement$ = [3, n0, _AS,
1257
1264
  0,
1258
1265
  [_S],
@@ -1465,8 +1472,8 @@ var CreateRuleGroupResponse$ = [3, n0, _CRGRr,
1465
1472
  ];
1466
1473
  var CreateWebACLRequest$ = [3, n0, _CWACLR,
1467
1474
  0,
1468
- [_N, _Sc, _DA, _VC, _D, _Ru, _DPC, _T, _CRB, _CC, _CCh, _TD, _ACs, _OSDDSPC, _ACp, _MC],
1469
- [0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, () => Rules, () => DataProtectionConfig$, () => TagList, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$, () => MonetizationConfig$], 4
1475
+ [_N, _Sc, _DA, _VC, _D, _Ru, _DPC, _T, _CRB, _CC, _CCh, _TD, _ACs, _OSDDSPC, _ACp, _MC, _ACn],
1476
+ [0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, () => Rules, () => DataProtectionConfig$, () => TagList, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$, () => MonetizationConfig$, () => AnalyticsConfig$], 4
1470
1477
  ];
1471
1478
  var CreateWebACLResponse$ = [3, n0, _CWACLRr,
1472
1479
  0,
@@ -2410,7 +2417,7 @@ var Rule$ = [3, n0, _Rul,
2410
2417
  ];
2411
2418
  var RuleAction$ = [3, n0, _RAu,
2412
2419
  0,
2413
- [_Bl, _All, _Coun, _Cap, _Ch, _Mo],
2420
+ [_Bl, _All, _Coun, _Cap, _Ch, _Mon],
2414
2421
  [() => BlockAction$, () => AllowAction$, () => CountAction$, () => CaptchaAction$, () => ChallengeAction$, () => MonetizeAction$]
2415
2422
  ];
2416
2423
  var RuleActionOverride$ = [3, n0, _RAOu,
@@ -2560,8 +2567,8 @@ var UpdateRuleGroupResponse$ = [3, n0, _URGRp,
2560
2567
  ];
2561
2568
  var UpdateWebACLRequest$ = [3, n0, _UWACLR,
2562
2569
  0,
2563
- [_N, _Sc, _Id, _DA, _VC, _LT, _D, _Ru, _DPC, _CRB, _CC, _CCh, _TD, _ACs, _OSDDSPC, _ACp, _MC],
2564
- [0, 0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, 0, () => Rules, () => DataProtectionConfig$, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$, () => MonetizationConfig$], 6
2570
+ [_N, _Sc, _Id, _DA, _VC, _LT, _D, _Ru, _DPC, _CRB, _CC, _CCh, _TD, _ACs, _OSDDSPC, _ACp, _MC, _ACn],
2571
+ [0, 0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, 0, () => Rules, () => DataProtectionConfig$, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$, () => MonetizationConfig$, () => AnalyticsConfig$], 6
2565
2572
  ];
2566
2573
  var UpdateWebACLResponse$ = [3, n0, _UWACLRp,
2567
2574
  0,
@@ -2595,8 +2602,8 @@ var VisibilityConfig$ = [3, n0, _VC,
2595
2602
  ];
2596
2603
  var WebACL$ = [3, n0, _WACL,
2597
2604
  0,
2598
- [_N, _Id, _ARN, _DA, _VC, _D, _Ru, _DPC, _C, _PPFMRG, _PPFMRGo, _MBFM, _LN, _CRB, _CC, _CCh, _TD, _ACs, _RBFM, _OSDDSPC, _ACp, _MC],
2599
- [0, 0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, () => Rules, () => DataProtectionConfig$, 1, () => FirewallManagerRuleGroups, () => FirewallManagerRuleGroups, 2, 0, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, 2, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$, () => MonetizationConfig$], 5
2605
+ [_N, _Id, _ARN, _DA, _VC, _D, _Ru, _DPC, _C, _PPFMRG, _PPFMRGo, _MBFM, _LN, _CRB, _CC, _CCh, _TD, _ACs, _RBFM, _OSDDSPC, _ACp, _MC, _ACn],
2606
+ [0, 0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, () => Rules, () => DataProtectionConfig$, 1, () => FirewallManagerRuleGroups, () => FirewallManagerRuleGroups, 2, 0, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, 2, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$, () => MonetizationConfig$, () => AnalyticsConfig$], 5
2600
2607
  ];
2601
2608
  var WebACLSummary$ = [3, n0, _WACLS,
2602
2609
  0,
@@ -3348,6 +3355,10 @@ const ActionValue = {
3348
3355
  EXCLUDED_AS_COUNT: "EXCLUDED_AS_COUNT",
3349
3356
  MONETIZE: "MONETIZE",
3350
3357
  };
3358
+ const AnalyticsMode = {
3359
+ CROSS_REGION: "CROSS_REGION",
3360
+ DISABLED: "DISABLED",
3361
+ };
3351
3362
  const FallbackBehavior = {
3352
3363
  MATCH: "MATCH",
3353
3364
  NO_MATCH: "NO_MATCH",
@@ -3949,6 +3960,8 @@ exports.AddressField$ = AddressField$;
3949
3960
  exports.All$ = All$;
3950
3961
  exports.AllQueryArguments$ = AllQueryArguments$;
3951
3962
  exports.AllowAction$ = AllowAction$;
3963
+ exports.AnalyticsConfig$ = AnalyticsConfig$;
3964
+ exports.AnalyticsMode = AnalyticsMode;
3952
3965
  exports.AndStatement$ = AndStatement$;
3953
3966
  exports.ApplicationAttribute$ = ApplicationAttribute$;
3954
3967
  exports.ApplicationConfig$ = ApplicationConfig$;
@@ -7,6 +7,10 @@ export const ActionValue = {
7
7
  EXCLUDED_AS_COUNT: "EXCLUDED_AS_COUNT",
8
8
  MONETIZE: "MONETIZE",
9
9
  };
10
+ export const AnalyticsMode = {
11
+ CROSS_REGION: "CROSS_REGION",
12
+ DISABLED: "DISABLED",
13
+ };
10
14
  export const FallbackBehavior = {
11
15
  MATCH: "MATCH",
12
16
  NO_MATCH: "NO_MATCH",
@@ -3,6 +3,7 @@ const _AA = "AllowAction";
3
3
  const _AAp = "ApplicationAttribute";
4
4
  const _AApp = "ApplicationAttributes";
5
5
  const _AC = "ActionCondition";
6
+ const _ACn = "AnalyticsConfig";
6
7
  const _ACp = "ApplicationConfig";
7
8
  const _ACs = "AssociationConfig";
8
9
  const _AF = "AddressField";
@@ -379,7 +380,8 @@ const _MS = "MatchScope";
379
380
  const _MSC = "MonetizeServedCount";
380
381
  const _MSR = "MobileSdkRelease";
381
382
  const _Me = "Method";
382
- const _Mo = "Monetize";
383
+ const _Mo = "Mode";
384
+ const _Mon = "Monetize";
383
385
  const _N = "Name";
384
386
  const _NA = "NoneAction";
385
387
  const _NLT = "NextLockToken";
@@ -808,6 +810,11 @@ export var AllQueryArguments$ = [3, n0, _AQA,
808
810
  [],
809
811
  []
810
812
  ];
813
+ export var AnalyticsConfig$ = [3, n0, _ACn,
814
+ 0,
815
+ [_Mo],
816
+ [0], 1
817
+ ];
811
818
  export var AndStatement$ = [3, n0, _AS,
812
819
  0,
813
820
  [_S],
@@ -1020,8 +1027,8 @@ export var CreateRuleGroupResponse$ = [3, n0, _CRGRr,
1020
1027
  ];
1021
1028
  export var CreateWebACLRequest$ = [3, n0, _CWACLR,
1022
1029
  0,
1023
- [_N, _Sc, _DA, _VC, _D, _Ru, _DPC, _T, _CRB, _CC, _CCh, _TD, _ACs, _OSDDSPC, _ACp, _MC],
1024
- [0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, () => Rules, () => DataProtectionConfig$, () => TagList, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$, () => MonetizationConfig$], 4
1030
+ [_N, _Sc, _DA, _VC, _D, _Ru, _DPC, _T, _CRB, _CC, _CCh, _TD, _ACs, _OSDDSPC, _ACp, _MC, _ACn],
1031
+ [0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, () => Rules, () => DataProtectionConfig$, () => TagList, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$, () => MonetizationConfig$, () => AnalyticsConfig$], 4
1025
1032
  ];
1026
1033
  export var CreateWebACLResponse$ = [3, n0, _CWACLRr,
1027
1034
  0,
@@ -1965,7 +1972,7 @@ export var Rule$ = [3, n0, _Rul,
1965
1972
  ];
1966
1973
  export var RuleAction$ = [3, n0, _RAu,
1967
1974
  0,
1968
- [_Bl, _All, _Coun, _Cap, _Ch, _Mo],
1975
+ [_Bl, _All, _Coun, _Cap, _Ch, _Mon],
1969
1976
  [() => BlockAction$, () => AllowAction$, () => CountAction$, () => CaptchaAction$, () => ChallengeAction$, () => MonetizeAction$]
1970
1977
  ];
1971
1978
  export var RuleActionOverride$ = [3, n0, _RAOu,
@@ -2115,8 +2122,8 @@ export var UpdateRuleGroupResponse$ = [3, n0, _URGRp,
2115
2122
  ];
2116
2123
  export var UpdateWebACLRequest$ = [3, n0, _UWACLR,
2117
2124
  0,
2118
- [_N, _Sc, _Id, _DA, _VC, _LT, _D, _Ru, _DPC, _CRB, _CC, _CCh, _TD, _ACs, _OSDDSPC, _ACp, _MC],
2119
- [0, 0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, 0, () => Rules, () => DataProtectionConfig$, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$, () => MonetizationConfig$], 6
2125
+ [_N, _Sc, _Id, _DA, _VC, _LT, _D, _Ru, _DPC, _CRB, _CC, _CCh, _TD, _ACs, _OSDDSPC, _ACp, _MC, _ACn],
2126
+ [0, 0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, 0, () => Rules, () => DataProtectionConfig$, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$, () => MonetizationConfig$, () => AnalyticsConfig$], 6
2120
2127
  ];
2121
2128
  export var UpdateWebACLResponse$ = [3, n0, _UWACLRp,
2122
2129
  0,
@@ -2150,8 +2157,8 @@ export var VisibilityConfig$ = [3, n0, _VC,
2150
2157
  ];
2151
2158
  export var WebACL$ = [3, n0, _WACL,
2152
2159
  0,
2153
- [_N, _Id, _ARN, _DA, _VC, _D, _Ru, _DPC, _C, _PPFMRG, _PPFMRGo, _MBFM, _LN, _CRB, _CC, _CCh, _TD, _ACs, _RBFM, _OSDDSPC, _ACp, _MC],
2154
- [0, 0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, () => Rules, () => DataProtectionConfig$, 1, () => FirewallManagerRuleGroups, () => FirewallManagerRuleGroups, 2, 0, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, 2, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$, () => MonetizationConfig$], 5
2160
+ [_N, _Id, _ARN, _DA, _VC, _D, _Ru, _DPC, _C, _PPFMRG, _PPFMRGo, _MBFM, _LN, _CRB, _CC, _CCh, _TD, _ACs, _RBFM, _OSDDSPC, _ACp, _MC, _ACn],
2161
+ [0, 0, 0, () => DefaultAction$, () => VisibilityConfig$, 0, () => Rules, () => DataProtectionConfig$, 1, () => FirewallManagerRuleGroups, () => FirewallManagerRuleGroups, 2, 0, () => CustomResponseBodies, () => CaptchaConfig$, () => ChallengeConfig$, 64 | 0, () => AssociationConfig$, 2, () => OnSourceDDoSProtectionConfig$, () => ApplicationConfig$, () => MonetizationConfig$, () => AnalyticsConfig$], 5
2155
2162
  ];
2156
2163
  export var WebACLSummary$ = [3, n0, _WACLS,
2157
2164
  0,
@@ -1214,6 +1214,9 @@ declare const CreateWebACLCommand_base: {
1214
1214
  * ],
1215
1215
  * CurrencyMode: "REAL" || "TEST",
1216
1216
  * },
1217
+ * AnalyticsConfig: { // AnalyticsConfig
1218
+ * Mode: "CROSS_REGION" || "DISABLED", // required
1219
+ * },
1217
1220
  * };
1218
1221
  * const command = new CreateWebACLCommand(input);
1219
1222
  * const response = await client.send(command);
@@ -1445,6 +1445,9 @@ declare const GetWebACLCommand_base: {
1445
1445
  * // ],
1446
1446
  * // CurrencyMode: "REAL" || "TEST",
1447
1447
  * // },
1448
+ * // AnalyticsConfig: { // AnalyticsConfig
1449
+ * // Mode: "CROSS_REGION" || "DISABLED", // required
1450
+ * // },
1448
1451
  * // },
1449
1452
  * // LockToken: "STRING_VALUE",
1450
1453
  * // ApplicationIntegrationURL: "STRING_VALUE",
@@ -1452,6 +1452,9 @@ declare const GetWebACLForResourceCommand_base: {
1452
1452
  * // ],
1453
1453
  * // CurrencyMode: "REAL" || "TEST",
1454
1454
  * // },
1455
+ * // AnalyticsConfig: { // AnalyticsConfig
1456
+ * // Mode: "CROSS_REGION" || "DISABLED", // required
1457
+ * // },
1455
1458
  * // },
1456
1459
  * // };
1457
1460
  *
@@ -1246,6 +1246,9 @@ declare const UpdateWebACLCommand_base: {
1246
1246
  * ],
1247
1247
  * CurrencyMode: "REAL" || "TEST",
1248
1248
  * },
1249
+ * AnalyticsConfig: { // AnalyticsConfig
1250
+ * Mode: "CROSS_REGION" || "DISABLED", // required
1251
+ * },
1249
1252
  * };
1250
1253
  * const command = new UpdateWebACLCommand(input);
1251
1254
  * const response = await client.send(command);
@@ -15,6 +15,18 @@ export declare const ActionValue: {
15
15
  * @public
16
16
  */
17
17
  export type ActionValue = (typeof ActionValue)[keyof typeof ActionValue];
18
+ /**
19
+ * @public
20
+ * @enum
21
+ */
22
+ export declare const AnalyticsMode: {
23
+ readonly CROSS_REGION: "CROSS_REGION";
24
+ readonly DISABLED: "DISABLED";
25
+ };
26
+ /**
27
+ * @public
28
+ */
29
+ export type AnalyticsMode = (typeof AnalyticsMode)[keyof typeof AnalyticsMode];
18
30
  /**
19
31
  * @public
20
32
  * @enum
@@ -1,4 +1,4 @@
1
- import type { ActionValue, AssociatedResourceType, BlockchainChain, BodyParsingFallbackBehavior, ComparisonOperator, ConnectedAccountChain, CountryCode, CryptoCurrency, Currency, CurrencyMode, DataProtectionAction, FailureReason, FallbackBehavior, FieldToProtectType, FilterBehavior, FilterRequirement, ForwardedIPPosition, GroupByType, InspectionLevel, IntervalType, IPAddressVersion, JsonMatchScope, LabelMatchScope, LogScope, LogType, LowReputationMode, MapMatchScope, OversizeHandling, PayloadType, Platform, PositionalConstraint, PreParseTextTransformationType, RankingSortBy, RankingStatisticType, RateBasedStatementAggregateKeyType, ResourceType, ResponseContentType, Scope, SensitivityLevel, SensitivityToAct, SettlementSortBy, SettlementStatus, SizeInspectionLimit, SortOrder, TextTransformationType, TimeSeriesStatisticType, UsageOfAction } from "./enums";
1
+ import type { ActionValue, AnalyticsMode, AssociatedResourceType, BlockchainChain, BodyParsingFallbackBehavior, ComparisonOperator, ConnectedAccountChain, CountryCode, CryptoCurrency, Currency, CurrencyMode, DataProtectionAction, FailureReason, FallbackBehavior, FieldToProtectType, FilterBehavior, FilterRequirement, ForwardedIPPosition, GroupByType, InspectionLevel, IntervalType, IPAddressVersion, JsonMatchScope, LabelMatchScope, LogScope, LogType, LowReputationMode, MapMatchScope, OversizeHandling, PayloadType, Platform, PositionalConstraint, PreParseTextTransformationType, RankingSortBy, RankingStatisticType, RateBasedStatementAggregateKeyType, ResourceType, ResponseContentType, Scope, SensitivityLevel, SensitivityToAct, SettlementSortBy, SettlementStatus, SizeInspectionLimit, SortOrder, TextTransformationType, TimeSeriesStatisticType, UsageOfAction } from "./enums";
2
2
  /**
3
3
  * <p>A single action condition for a <a>Condition</a> in a logging filter.</p>
4
4
  * @public
@@ -115,6 +115,28 @@ export interface AllowAction {
115
115
  */
116
116
  export interface AllQueryArguments {
117
117
  }
118
+ /**
119
+ * <p>Specifies the security analytics configuration for the web ACL. Security analytics shows the web ACL's request log data from multiple Amazon Web Services Regions in a single dashboard in the WAF console. </p>
120
+ * <p>When you enable security analytics, you authorize Amazon Web Services to transfer and store full request logs outside the Amazon Web Services Region where the web ACL is hosted. For regional web ACLs, security analytics is disabled by default when you omit this configuration. For web ACLs that protect CloudFront distributions (global web ACLs), security analytics is enabled by default. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/web-acl-security-analytics-enabling.html">Enabling security analytics for a protection pack (web ACL)</a> in the <i>WAF Developer Guide</i>. </p>
121
+ * @public
122
+ */
123
+ export interface AnalyticsConfig {
124
+ /**
125
+ * <p>The security analytics mode for the web ACL. Valid values:</p>
126
+ * <ul>
127
+ * <li>
128
+ * <p>
129
+ * <code>CROSS_REGION</code> - Enables security analytics. WAF transfers and stores the web ACL's request logs outside the Amazon Web Services Region where the web ACL is hosted, for aggregation and processing. </p>
130
+ * </li>
131
+ * <li>
132
+ * <p>
133
+ * <code>DISABLED</code> - Disables security analytics. WAF stops transferring the web ACL's request logs. </p>
134
+ * </li>
135
+ * </ul>
136
+ * @public
137
+ */
138
+ Mode: AnalyticsMode | undefined;
139
+ }
118
140
  /**
119
141
  * <p>The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. </p>
120
142
  * <note>
@@ -431,15 +453,18 @@ export interface Headers {
431
453
  * request that has enough TLS Client Hello information for the calculation. Almost
432
454
  * all web requests include this information.</p>
433
455
  * <note>
434
- * <p>You can use this choice only with a string match <code>ByteMatchStatement</code> with the <code>PositionalConstraint</code> set to
435
- * <code>EXACTLY</code>. </p>
456
+ * <p>You can use this choice with a <code>ByteMatchStatement</code>,
457
+ * <code>RegexMatchStatement</code>, <code>RegexPatternSetReferenceStatement</code>, or
458
+ * <code>SizeConstraintStatement</code>. You can't use it with <code>SqliMatchStatement</code> or
459
+ * <code>XssMatchStatement</code>. </p>
436
460
  * </note>
437
461
  * <p>You can obtain the JA3 fingerprint for client requests from the web ACL logs.
438
462
  * If WAF is able to calculate the fingerprint, it includes it in the logs.
439
463
  * For information about the logging fields,
440
464
  * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging-fields.html">Log fields</a> in the <i>WAF Developer Guide</i>. </p>
441
465
  * <p>Provide the JA3 fingerprint string from the logs in your string match statement
442
- * specification, to match with any future requests that have the same TLS configuration.</p>
466
+ * specification, to match with any future requests that have the same TLS configuration.
467
+ * To match a group of TLS configurations with a single pattern, use a regex statement.</p>
443
468
  * @public
444
469
  */
445
470
  export interface JA3Fingerprint {
@@ -465,15 +490,18 @@ export interface JA3Fingerprint {
465
490
  * request that has enough TLS Client Hello information for the calculation. Almost
466
491
  * all web requests include this information.</p>
467
492
  * <note>
468
- * <p>You can use this choice only with a string match <code>ByteMatchStatement</code> with the <code>PositionalConstraint</code> set to
469
- * <code>EXACTLY</code>. </p>
493
+ * <p>You can use this choice with a <code>ByteMatchStatement</code>,
494
+ * <code>RegexMatchStatement</code>, <code>RegexPatternSetReferenceStatement</code>, or
495
+ * <code>SizeConstraintStatement</code>. You can't use it with <code>SqliMatchStatement</code> or
496
+ * <code>XssMatchStatement</code>. </p>
470
497
  * </note>
471
498
  * <p>You can obtain the JA4 fingerprint for client requests from the web ACL logs.
472
499
  * If WAF is able to calculate the fingerprint, it includes it in the logs.
473
500
  * For information about the logging fields,
474
501
  * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging-fields.html">Log fields</a> in the <i>WAF Developer Guide</i>. </p>
475
502
  * <p>Provide the JA4 fingerprint string from the logs in your string match statement
476
- * specification, to match with any future requests that have the same TLS configuration.</p>
503
+ * specification, to match with any future requests that have the same TLS configuration.
504
+ * To match a group of TLS configurations with a single pattern, use a regex statement.</p>
477
505
  * @public
478
506
  */
479
507
  export interface JA4Fingerprint {
@@ -913,15 +941,18 @@ export interface FieldToMatch {
913
941
  * request that has enough TLS Client Hello information for the calculation. Almost
914
942
  * all web requests include this information.</p>
915
943
  * <note>
916
- * <p>You can use this choice only with a string match <code>ByteMatchStatement</code> with the <code>PositionalConstraint</code> set to
917
- * <code>EXACTLY</code>. </p>
944
+ * <p>You can use this choice with a <code>ByteMatchStatement</code>,
945
+ * <code>RegexMatchStatement</code>, <code>RegexPatternSetReferenceStatement</code>, or
946
+ * <code>SizeConstraintStatement</code>. You can't use it with <code>SqliMatchStatement</code> or
947
+ * <code>XssMatchStatement</code>. </p>
918
948
  * </note>
919
949
  * <p>You can obtain the JA3 fingerprint for client requests from the web ACL logs.
920
950
  * If WAF is able to calculate the fingerprint, it includes it in the logs.
921
951
  * For information about the logging fields,
922
952
  * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging-fields.html">Log fields</a> in the <i>WAF Developer Guide</i>. </p>
923
953
  * <p>Provide the JA3 fingerprint string from the logs in your string match statement
924
- * specification, to match with any future requests that have the same TLS configuration.</p>
954
+ * specification, to match with any future requests that have the same TLS configuration.
955
+ * To match a group of TLS configurations with a single pattern, use a regex statement.</p>
925
956
  * @public
926
957
  */
927
958
  JA3Fingerprint?: JA3Fingerprint | undefined;
@@ -930,15 +961,18 @@ export interface FieldToMatch {
930
961
  * request that has enough TLS Client Hello information for the calculation. Almost
931
962
  * all web requests include this information.</p>
932
963
  * <note>
933
- * <p>You can use this choice only with a string match <code>ByteMatchStatement</code> with the <code>PositionalConstraint</code> set to
934
- * <code>EXACTLY</code>. </p>
964
+ * <p>You can use this choice with a <code>ByteMatchStatement</code>,
965
+ * <code>RegexMatchStatement</code>, <code>RegexPatternSetReferenceStatement</code>, or
966
+ * <code>SizeConstraintStatement</code>. You can't use it with <code>SqliMatchStatement</code> or
967
+ * <code>XssMatchStatement</code>. </p>
935
968
  * </note>
936
969
  * <p>You can obtain the JA4 fingerprint for client requests from the web ACL logs.
937
970
  * If WAF is able to calculate the fingerprint, it includes it in the logs.
938
971
  * For information about the logging fields,
939
972
  * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging-fields.html">Log fields</a> in the <i>WAF Developer Guide</i>. </p>
940
973
  * <p>Provide the JA4 fingerprint string from the logs in your string match statement
941
- * specification, to match with any future requests that have the same TLS configuration.</p>
974
+ * specification, to match with any future requests that have the same TLS configuration.
975
+ * To match a group of TLS configurations with a single pattern, use a regex statement.</p>
942
976
  * @public
943
977
  */
944
978
  JA4Fingerprint?: JA4Fingerprint | undefined;
@@ -1019,8 +1053,10 @@ export interface ByteMatchStatement {
1019
1053
  * </li>
1020
1054
  * <li>
1021
1055
  * <p>
1022
- * <code>JA3Fingerprint</code>: Available for use with Amazon CloudFront distributions and Application Load Balancers. Match against the request's JA3 fingerprint. The JA3 fingerprint is a 32-character hash derived from the TLS Client Hello of an incoming request. This fingerprint serves as a unique identifier for the client's TLS configuration. You can use this choice only with a string match <code>ByteMatchStatement</code> with the <code>PositionalConstraint</code> set to
1023
- * <code>EXACTLY</code>. </p>
1056
+ * <code>JA3Fingerprint</code>: Available for use with Amazon CloudFront distributions and Application Load Balancers. Match against the request's JA3 fingerprint. The JA3 fingerprint is a 32-character hash derived from the TLS Client Hello of an incoming request. This fingerprint serves as a unique identifier for the client's TLS configuration. You can use this choice with a <code>ByteMatchStatement</code>,
1057
+ * <code>RegexMatchStatement</code>, <code>RegexPatternSetReferenceStatement</code>, or
1058
+ * <code>SizeConstraintStatement</code>. You can't use it with <code>SqliMatchStatement</code> or
1059
+ * <code>XssMatchStatement</code>. </p>
1024
1060
  * <p>You can obtain the JA3 fingerprint for client requests from the web ACL logs.
1025
1061
  * If WAF is able to calculate the fingerprint, it includes it in the logs.
1026
1062
  * For information about the logging fields,
@@ -1756,7 +1792,7 @@ export interface ClientSideAction {
1756
1792
  * <p>If usage is enabled: </p>
1757
1793
  * <ul>
1758
1794
  * <li>
1759
- * <p>The managed rule group adds the label <code>awswaf:managed:aws:anti-ddos:challengeable-request</code> to any web request whose URL does <i>NOT</i> match the regular expressions provided in the
1795
+ * <p>The managed rule group adds the label <code>awswaf:managed:aws:anti-ddos:challengeable-request</code> to any web request that does not match the regular expressions provided in the
1760
1796
  * <code>ClientSideAction</code> setting <code>ExemptUriRegularExpressions</code>. </p>
1761
1797
  * </li>
1762
1798
  * <li>
@@ -1812,20 +1848,25 @@ export interface ClientSideAction {
1812
1848
  */
1813
1849
  Sensitivity?: SensitivityToAct | undefined;
1814
1850
  /**
1815
- * <p>The regular expression to match against the web request URI, used to identify requests
1851
+ * <p>The regular expression to match against the request's host followed by its normalized URI path, used to identify requests
1816
1852
  * that can't handle a silent browser challenge. When the <code>ClientSideAction</code> setting <code>UsageOfAction</code> is enabled,
1817
1853
  * the managed rule group uses this setting to determine which requests to label with
1818
1854
  * <code>awswaf:managed:aws:anti-ddos:challengeable-request</code>. If <code>UsageOfAction</code> is disabled, this setting
1819
1855
  * has no effect and the managed rule group doesn't add the label to any requests.</p>
1856
+ * <p>WAF matches against the host immediately followed by the normalized URI path and doesn't include the scheme,
1857
+ * the query string, or the fragment. For example, <code>www.example.com/api/orders</code>. Because the match begins with the host,
1858
+ * a pattern anchored to the start of the path, such as <code>^/api/</code>, never matches. WAF normalizes the path first,
1859
+ * removing empty segments (including a trailing slash) and single-dot (<code>.</code>) segments and resolving double-dot (<code>..</code>) segments,
1860
+ * so <code>/api/</code> is evaluated as <code>/api</code>. Only <code>GET</code> requests are challengeable.</p>
1820
1861
  * <p>The anti-DDoS managed rule group doesn't
1821
- * evaluate the rules <code>ChallengeDDoSRequests</code> or <code>ChallengeAllDuringEvent</code> for web requests whose URIs match this regex. This
1862
+ * evaluate the rules <code>ChallengeDDoSRequests</code> or <code>ChallengeAllDuringEvent</code> for web requests that match this regex. This
1822
1863
  * is true regardless of whether you override the rule action for either of the rules in your web ACL configuration. </p>
1823
1864
  * <p>Amazon Web Services recommends using a regular expression. </p>
1824
1865
  * <p>This setting is required if <code>UsageOfAction</code> is set to <code>ENABLED</code>. If required, you can provide
1825
1866
  * between 1 and 5 regex objects in the array of settings. </p>
1826
1867
  * <p>Amazon Web Services recommends starting with the following setting. Review and update it for your application's needs:</p>
1827
1868
  * <p>
1828
- * <code>\/api\/|\.(acc|avi|css|gif|jpe?g|js|mp[34]|ogg|otf|pdf|png|tiff?|ttf|webm|webp|woff2?)$</code>
1869
+ * <code>\/api(\/|$)|\.(acc|avi|css|gif|jpe?g|js|mp[34]|ogg|otf|pdf|png|tiff?|ttf|webm|webp|woff2?)$</code>
1829
1870
  * </p>
1830
1871
  * @public
1831
1872
  */
@@ -8350,6 +8391,11 @@ export interface CreateWebACLRequest {
8350
8391
  * @public
8351
8392
  */
8352
8393
  MonetizationConfig?: MonetizationConfig | undefined;
8394
+ /**
8395
+ * <p>Specifies the security analytics configuration for the web ACL. For more information, see <a>AnalyticsConfig</a>. </p>
8396
+ * @public
8397
+ */
8398
+ AnalyticsConfig?: AnalyticsConfig | undefined;
8353
8399
  }
8354
8400
  /**
8355
8401
  * <p> A rule group defines a collection of rules to inspect and control web requests that you can use in a <a>WebACL</a>. When you create a rule group, you define an immutable capacity limit. If you update a rule group, you must stay within the capacity. This allows others to reuse the rule group with confidence in its capacity requirements. </p>
@@ -8647,6 +8693,11 @@ export interface UpdateWebACLRequest {
8647
8693
  * @public
8648
8694
  */
8649
8695
  MonetizationConfig?: MonetizationConfig | undefined;
8696
+ /**
8697
+ * <p>Specifies the security analytics configuration for the web ACL. For more information, see <a>AnalyticsConfig</a>. </p>
8698
+ * @public
8699
+ */
8700
+ AnalyticsConfig?: AnalyticsConfig | undefined;
8650
8701
  }
8651
8702
  /**
8652
8703
  * @public
@@ -8837,6 +8888,11 @@ export interface WebACL {
8837
8888
  * @public
8838
8889
  */
8839
8890
  MonetizationConfig?: MonetizationConfig | undefined;
8891
+ /**
8892
+ * <p>The security analytics configuration for the web ACL. For more information, see <a>AnalyticsConfig</a>. </p>
8893
+ * @public
8894
+ */
8895
+ AnalyticsConfig?: AnalyticsConfig | undefined;
8840
8896
  }
8841
8897
  /**
8842
8898
  * @public
@@ -32,6 +32,7 @@ export declare var AddressField$: StaticStructureSchema;
32
32
  export declare var All$: StaticStructureSchema;
33
33
  export declare var AllowAction$: StaticStructureSchema;
34
34
  export declare var AllQueryArguments$: StaticStructureSchema;
35
+ export declare var AnalyticsConfig$: StaticStructureSchema;
35
36
  export declare var AndStatement$: StaticStructureSchema;
36
37
  export declare var APIKeySummary$: StaticStructureSchema;
37
38
  export declare var ApplicationAttribute$: StaticStructureSchema;
@@ -8,6 +8,11 @@ export declare const ActionValue: {
8
8
  readonly MONETIZE: "MONETIZE";
9
9
  };
10
10
  export type ActionValue = (typeof ActionValue)[keyof typeof ActionValue];
11
+ export declare const AnalyticsMode: {
12
+ readonly CROSS_REGION: "CROSS_REGION";
13
+ readonly DISABLED: "DISABLED";
14
+ };
15
+ export type AnalyticsMode = (typeof AnalyticsMode)[keyof typeof AnalyticsMode];
11
16
  export declare const FallbackBehavior: {
12
17
  readonly MATCH: "MATCH";
13
18
  readonly NO_MATCH: "NO_MATCH";
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  ActionValue,
3
+ AnalyticsMode,
3
4
  AssociatedResourceType,
4
5
  BlockchainChain,
5
6
  BodyParsingFallbackBehavior,
@@ -65,6 +66,9 @@ export interface AllowAction {
65
66
  CustomRequestHandling?: CustomRequestHandling | undefined;
66
67
  }
67
68
  export interface AllQueryArguments {}
69
+ export interface AnalyticsConfig {
70
+ Mode: AnalyticsMode | undefined;
71
+ }
68
72
  export interface ForwardedIPConfig {
69
73
  HeaderName: string | undefined;
70
74
  FallbackBehavior: FallbackBehavior | undefined;
@@ -1325,6 +1329,7 @@ export interface CreateWebACLRequest {
1325
1329
  OnSourceDDoSProtectionConfig?: OnSourceDDoSProtectionConfig | undefined;
1326
1330
  ApplicationConfig?: ApplicationConfig | undefined;
1327
1331
  MonetizationConfig?: MonetizationConfig | undefined;
1332
+ AnalyticsConfig?: AnalyticsConfig | undefined;
1328
1333
  }
1329
1334
  export interface RuleGroup {
1330
1335
  Name: string | undefined;
@@ -1369,6 +1374,7 @@ export interface UpdateWebACLRequest {
1369
1374
  OnSourceDDoSProtectionConfig?: OnSourceDDoSProtectionConfig | undefined;
1370
1375
  ApplicationConfig?: ApplicationConfig | undefined;
1371
1376
  MonetizationConfig?: MonetizationConfig | undefined;
1377
+ AnalyticsConfig?: AnalyticsConfig | undefined;
1372
1378
  }
1373
1379
  export interface GetRuleGroupResponse {
1374
1380
  RuleGroup?: RuleGroup | undefined;
@@ -1397,6 +1403,7 @@ export interface WebACL {
1397
1403
  OnSourceDDoSProtectionConfig?: OnSourceDDoSProtectionConfig | undefined;
1398
1404
  ApplicationConfig?: ApplicationConfig | undefined;
1399
1405
  MonetizationConfig?: MonetizationConfig | undefined;
1406
+ AnalyticsConfig?: AnalyticsConfig | undefined;
1400
1407
  }
1401
1408
  export interface GetWebACLForResourceResponse {
1402
1409
  WebACL?: WebACL | undefined;
@@ -27,6 +27,7 @@ export declare var AddressField$: StaticStructureSchema;
27
27
  export declare var All$: StaticStructureSchema;
28
28
  export declare var AllowAction$: StaticStructureSchema;
29
29
  export declare var AllQueryArguments$: StaticStructureSchema;
30
+ export declare var AnalyticsConfig$: StaticStructureSchema;
30
31
  export declare var AndStatement$: StaticStructureSchema;
31
32
  export declare var APIKeySummary$: StaticStructureSchema;
32
33
  export declare var ApplicationAttribute$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-wafv2",
3
- "version": "3.1170.0",
3
+ "version": "3.1172.0",
4
4
  "description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-wafv2",
6
6
  "license": "Apache-2.0",