@aws-sdk/client-wafv2 3.600.0 → 3.608.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.
|
@@ -516,11 +516,12 @@ export type JsonMatchScope = (typeof JsonMatchScope)[keyof typeof JsonMatchScope
|
|
|
516
516
|
* <p>This is used to indicate the web request component to inspect, in the <a>FieldToMatch</a> specification. </p>
|
|
517
517
|
* <p>Use the specifications in this object to indicate which parts of the JSON body to
|
|
518
518
|
* inspect using the rule's inspection criteria. WAF inspects only the parts of the JSON
|
|
519
|
-
* that result from the matches that you indicate.
|
|
520
|
-
* </p>
|
|
519
|
+
* that result from the matches that you indicate. </p>
|
|
521
520
|
* <p>Example JSON: <code>"JsonBody": \{ "MatchPattern": \{ "All": \{\} \}, "MatchScope": "ALL"
|
|
522
521
|
* \}</code>
|
|
523
522
|
* </p>
|
|
523
|
+
* <p>For additional information about this request component option, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body">JSON body</a>
|
|
524
|
+
* in the <i>WAF Developer Guide</i>.</p>
|
|
524
525
|
* @public
|
|
525
526
|
*/
|
|
526
527
|
export interface JsonBody {
|
|
@@ -564,24 +565,12 @@ export interface JsonBody {
|
|
|
564
565
|
* </ul>
|
|
565
566
|
* <p>If you don't provide this setting, WAF parses and evaluates the content only up to the
|
|
566
567
|
* first parsing failure that it encounters. </p>
|
|
567
|
-
* <
|
|
568
|
-
*
|
|
569
|
-
*
|
|
570
|
-
*
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
* <p>Missing comma: <code>\{"key1":"value1""key2":"value2"\}</code>
|
|
574
|
-
* </p>
|
|
575
|
-
* </li>
|
|
576
|
-
* <li>
|
|
577
|
-
* <p>Missing colon: <code>\{"key1":"value1","key2""value2"\}</code>
|
|
578
|
-
* </p>
|
|
579
|
-
* </li>
|
|
580
|
-
* <li>
|
|
581
|
-
* <p>Extra colons: <code>\{"key1"::"value1","key2""value2"\}</code>
|
|
582
|
-
* </p>
|
|
583
|
-
* </li>
|
|
584
|
-
* </ul>
|
|
568
|
+
* <note>
|
|
569
|
+
* <p>WAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When
|
|
570
|
+
* parsing succeeds, WAF doesn't apply the fallback behavior. For more information,
|
|
571
|
+
* see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body">JSON body</a>
|
|
572
|
+
* in the <i>WAF Developer Guide</i>.</p>
|
|
573
|
+
* </note>
|
|
585
574
|
* @public
|
|
586
575
|
*/
|
|
587
576
|
InvalidFallbackBehavior?: BodyParsingFallbackBehavior;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wafv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.608.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-wafv2",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.606.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.606.0",
|
|
25
25
|
"@aws-sdk/core": "3.598.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.600.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.598.0",
|