tencentcloud-sdk-nodejs-intl-en 3.0.1465 → 3.0.1467
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/package.json +1 -1
- package/tencentcloud/adp/v20260520/adp_client.js +1579 -23
- package/tencentcloud/adp/v20260520/models.js +25253 -600
- package/tencentcloud/cam/v20190116/cam_client.js +14 -0
- package/tencentcloud/cam/v20190116/models.js +193 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/mna/v20210119/mna_client.js +1 -1
- package/tencentcloud/mna/v20210119/models.js +10 -12
- package/tencentcloud/ocr/v20181119/models.js +2 -1
- package/tencentcloud/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/sts/v20180813/models.js +98 -0
- package/tencentcloud/sts/v20180813/sts_client.js +32 -19
- package/tencentcloud/teo/v20220901/models.js +611 -362
- package/tencentcloud/teo/v20220901/teo_client.js +7 -3
|
@@ -291,7 +291,7 @@ class DescribeFunctionsResponse extends AbstractModel {
|
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
/**
|
|
294
|
-
* Skipped
|
|
294
|
+
* Skipped field configuration in the exception rule
|
|
295
295
|
* @class
|
|
296
296
|
*/
|
|
297
297
|
class RequestFieldsForException extends AbstractModel {
|
|
@@ -299,33 +299,33 @@ class RequestFieldsForException extends AbstractModel {
|
|
|
299
299
|
super();
|
|
300
300
|
|
|
301
301
|
/**
|
|
302
|
-
*
|
|
303
|
-
<li>body.json: parameter content in
|
|
304
|
-
<li style="margin-top:5px">cookie:
|
|
305
|
-
<li style="margin-top:5px">header: HTTP header parameters.
|
|
306
|
-
<li style="margin-top:5px">uri.query: URL
|
|
307
|
-
<li style="margin-top:5px">uri:
|
|
308
|
-
<li style="margin-top:5px">body: request body content.
|
|
302
|
+
* Specific fields to skip. Supported values: <br/>
|
|
303
|
+
<li>body.json: parameter content in JSON requests. At this point, Condition supports key and value, and TargetField supports key and value. For example, { "Scope": "body.json", "Condition": "", "TargetField": "key" } means ALL parameters in the JSON request content skip WAF scan.</li>
|
|
304
|
+
<li style="margin-top:5px">cookie: Cookie; at this point, Condition supports key and value, and TargetField supports key and value, for example { "Scope": "cookie", "Condition": "${key} in ['account-id'] and ${value} like ['prefix-*']", "TargetField": "value" }, which means the cookie parameter name equals account-id and the parameter value wildcard matches prefix-* to skip WAF scan;</li>
|
|
305
|
+
<li style="margin-top:5px">header: HTTP header parameters. At this point, Condition supports key and value, and TargetField supports key and value. For example, { "Scope": "header", "Condition": "${key} like ['x-auth-*']", "TargetField": "value" } means the header parameter name wildcard match x-auth-* skips WAF scan.</li>
|
|
306
|
+
<li style="margin-top:5px">uri.query: URL-encoded content/query parameters. At this point, Condition supports key and value, and TargetField supports key and value. For example, { "Scope": "uri.query", "Condition": "${key} in ['action'] and ${value} in ['upload', 'delete']", "TargetField": "value" } means the parameter name of the URL-encoded content/query parameters is equal to action and the parameter value is equal to upload or delete, skip WAF scan;</li>
|
|
307
|
+
<li style="margin-top:5px">uri: request path URI. At this point, Condition must be empty, and TargetField supports query, path, and fullpath. For example, { "Scope": "uri", "Condition": "", "TargetField": "query" } means only query parameters in the request path URI skip WAF scan.</li>
|
|
308
|
+
<li style="margin-top:5px">body: request body content. At this point, Condition must be empty, and TargetField supports fullbody and multipart, for example { "Scope": "body", "Condition": "", "TargetField": "fullbody" }, which means the request body content is the complete request body and skips WAF scan;</li>
|
|
309
309
|
* @type {string || null}
|
|
310
310
|
*/
|
|
311
311
|
this.Scope = null;
|
|
312
312
|
|
|
313
313
|
/**
|
|
314
|
-
*
|
|
315
|
-
Condition supports expression configuration syntax: <li>
|
|
316
|
-
For example: <li>${key} in ['x-trace-id']:
|
|
314
|
+
* Expression of the specific field to skip, which must comply with the expression grammar.<br />
|
|
315
|
+
Condition supports expression configuration syntax: <li> Write the filter condition expression syntax based on the rule, with support for referencing key and value.</li><li> Support in and like operators, and logical combination with and.</li>
|
|
316
|
+
For example: <li>${key} in ['x-trace-id']: The parameter name is equal to x-trace-id.</li><li>${key} in ['x-trace-id'] and ${value} like ['Bearer *']: The parameter name is equal to x-trace-id and the parameter value wildcard matches Bearer *.</li>
|
|
317
317
|
* @type {string || null}
|
|
318
318
|
*/
|
|
319
319
|
this.Condition = null;
|
|
320
320
|
|
|
321
321
|
/**
|
|
322
|
-
*
|
|
323
|
-
<
|
|
324
|
-
<li>cookie: supports key and value
|
|
325
|
-
<li>header: supports key
|
|
326
|
-
<
|
|
327
|
-
<li>uri
|
|
328
|
-
<
|
|
322
|
+
* When the Scope parameter takes different values, the supported values in the TargetField expression are as follows:
|
|
323
|
+
<li> body.json: supports key and value</li>
|
|
324
|
+
<li> cookie: supports key and value</li>
|
|
325
|
+
<li> header: supports key and value</li>
|
|
326
|
+
<li> uri.query: supports key and value</li>
|
|
327
|
+
<li> uri: supports path, query, and fullpath</li>
|
|
328
|
+
<li> body: supports fullbody and multipart</li>
|
|
329
329
|
* @type {string || null}
|
|
330
330
|
*/
|
|
331
331
|
this.TargetField = null;
|
|
@@ -567,7 +567,7 @@ class DescribeSecurityIPGroupInfoResponse extends AbstractModel {
|
|
|
567
567
|
}
|
|
568
568
|
|
|
569
569
|
/**
|
|
570
|
-
* Adaptive frequency control
|
|
570
|
+
* Adaptive frequency control
|
|
571
571
|
* @class
|
|
572
572
|
*/
|
|
573
573
|
class AdaptiveFrequencyControl extends AbstractModel {
|
|
@@ -575,25 +575,25 @@ class AdaptiveFrequencyControl extends AbstractModel {
|
|
|
575
575
|
super();
|
|
576
576
|
|
|
577
577
|
/**
|
|
578
|
-
* Whether adaptive frequency control is enabled.
|
|
578
|
+
* Whether adaptive frequency control is enabled. Valid values: <li>on: enabled;</li><li>off: disabled.</li>
|
|
579
579
|
* @type {string || null}
|
|
580
580
|
*/
|
|
581
581
|
this.Enabled = null;
|
|
582
582
|
|
|
583
583
|
/**
|
|
584
|
-
* Rule ID of adaptive frequency control, returned as an output parameter.
|
|
584
|
+
* Rule ID of adaptive frequency control, returned only as an output parameter.
|
|
585
585
|
* @type {string || null}
|
|
586
586
|
*/
|
|
587
587
|
this.Id = null;
|
|
588
588
|
|
|
589
589
|
/**
|
|
590
|
-
* The
|
|
590
|
+
* The limitation level of adaptive frequency control. This field is required when Enabled is on. Valid values: <li>Loose: loose;</li><li>Moderate: moderate;</li><li>Strict: strict.</li>
|
|
591
591
|
* @type {string || null}
|
|
592
592
|
*/
|
|
593
593
|
this.Sensitivity = null;
|
|
594
594
|
|
|
595
595
|
/**
|
|
596
|
-
*
|
|
596
|
+
* Handling method of adaptive frequency control. This field is required when Enabled is on. Supported values for SecurityAction Name: <li>Monitor: monitor;</li><li>Deny: block;</li><li>Challenge: challenge. ChallengeActionParameters.Name only supports JSChallenge.</li>
|
|
597
597
|
* @type {SecurityAction || null}
|
|
598
598
|
*/
|
|
599
599
|
this.Action = null;
|
|
@@ -750,7 +750,7 @@ class DescribeWebSecurityTemplatesRequest extends AbstractModel {
|
|
|
750
750
|
}
|
|
751
751
|
|
|
752
752
|
/**
|
|
753
|
-
*
|
|
753
|
+
* Safe execution action
|
|
754
754
|
* @class
|
|
755
755
|
*/
|
|
756
756
|
class SecurityAction extends AbstractModel {
|
|
@@ -758,7 +758,7 @@ class SecurityAction extends AbstractModel {
|
|
|
758
758
|
super();
|
|
759
759
|
|
|
760
760
|
/**
|
|
761
|
-
* <p>Specific actions for safe execution. Valid values:</p><ul><li>Deny: block, prevent requests from accessing site resources;</li><li>Monitor: observe, only record logs;</li><li>Redirect: redirect to URL;</li><li>Disabled: not enabled,
|
|
761
|
+
* <p>Specific actions for safe execution. Valid values:</p><ul><li>Deny: block, prevent requests from accessing site resources;</li><li>Monitor: observe, only record logs;</li><li>Redirect: redirect to URL;</li><li>Disabled: not enabled, disable the specified rule;</li><li>Allow: allow, skip the remaining rules of the current security module. Delay response when the AllowActionParameters parameter is configured;</li><li>Challenge: challenge, respond with challenge content;</li><li>BlockIP: to be deprecated, IP block;</li><li>ReturnCustomPage: to be deprecated, use a specified page for interception;</li><li>JSChallenge: to be deprecated, JavaScript challenge;</li><li>ManagedChallenge: to be deprecated, managed challenge.</li></ul>
|
|
762
762
|
* @type {string || null}
|
|
763
763
|
*/
|
|
764
764
|
this.Name = null;
|
|
@@ -788,7 +788,7 @@ class SecurityAction extends AbstractModel {
|
|
|
788
788
|
this.ChallengeActionParameters = null;
|
|
789
789
|
|
|
790
790
|
/**
|
|
791
|
-
* <p>To be deprecated.
|
|
791
|
+
* <p>To be deprecated. An additional parameter when Name is BlockIP.</p>
|
|
792
792
|
* @type {BlockIPActionParameters || null}
|
|
793
793
|
*/
|
|
794
794
|
this.BlockIPActionParameters = null;
|
|
@@ -850,7 +850,7 @@ class SecurityAction extends AbstractModel {
|
|
|
850
850
|
}
|
|
851
851
|
|
|
852
852
|
/**
|
|
853
|
-
* IP
|
|
853
|
+
* IP Intelligence Library (formerly client profile analysis) configuration.
|
|
854
854
|
* @class
|
|
855
855
|
*/
|
|
856
856
|
class IPReputation extends AbstractModel {
|
|
@@ -858,13 +858,13 @@ class IPReputation extends AbstractModel {
|
|
|
858
858
|
super();
|
|
859
859
|
|
|
860
860
|
/**
|
|
861
|
-
* IP
|
|
861
|
+
* IP Intelligence Library (formerly client profile analysis). Valid values: <li>on: enable;</li><li>off: disable.</li>
|
|
862
862
|
* @type {string || null}
|
|
863
863
|
*/
|
|
864
864
|
this.Enabled = null;
|
|
865
865
|
|
|
866
866
|
/**
|
|
867
|
-
* IP
|
|
867
|
+
* Specific configuration content of the IP Intelligence Library (formerly client profile analysis).
|
|
868
868
|
* @type {IPReputationGroup || null}
|
|
869
869
|
*/
|
|
870
870
|
this.IPReputationGroup = null;
|
|
@@ -933,7 +933,7 @@ class CreateSecurityAPIServiceRequest extends AbstractModel {
|
|
|
933
933
|
}
|
|
934
934
|
|
|
935
935
|
/**
|
|
936
|
-
*
|
|
936
|
+
* Configuration of precise rate limiting
|
|
937
937
|
* @class
|
|
938
938
|
*/
|
|
939
939
|
class RateLimitingRules extends AbstractModel {
|
|
@@ -941,7 +941,7 @@ class RateLimitingRules extends AbstractModel {
|
|
|
941
941
|
super();
|
|
942
942
|
|
|
943
943
|
/**
|
|
944
|
-
* Definition list of precise rate limiting.
|
|
944
|
+
* Definition list of precise rate limiting. When using ModifySecurityPolicy to modify Web protection configuration: <br> <li> If the Rules parameter is not specified or its length is zero: clear all precise rate limiting configurations.</li> <li> If the RateLimitingRules parameter value is not specified in the SecurityPolicy parameter: keep the existing custom rule configuration without modification.</li>
|
|
945
945
|
* @type {Array.<RateLimitingRule> || null}
|
|
946
946
|
*/
|
|
947
947
|
this.Rules = null;
|
|
@@ -1059,7 +1059,7 @@ class OriginACLEntity extends AbstractModel {
|
|
|
1059
1059
|
}
|
|
1060
1060
|
|
|
1061
1061
|
/**
|
|
1062
|
-
*
|
|
1062
|
+
* Specific content of the IDC rule configuration.
|
|
1063
1063
|
* @class
|
|
1064
1064
|
*/
|
|
1065
1065
|
class SourceIDC extends AbstractModel {
|
|
@@ -1067,13 +1067,13 @@ class SourceIDC extends AbstractModel {
|
|
|
1067
1067
|
super();
|
|
1068
1068
|
|
|
1069
1069
|
/**
|
|
1070
|
-
* Handling method for requests from
|
|
1070
|
+
* Handling method for requests from a specified IDC. Supported values of the Name parameter of SecurityAction: <li>Deny: block;</li><li>Monitor: observe;</li><li>Disabled: not enabled, which disables the specified rule;</li><li>Challenge: challenge, where ChallengeOption in ChallengeActionParameters supports JSChallenge and ManagedChallenge;</li><li>Allow: allow (to be deprecated).</li>
|
|
1071
1071
|
* @type {SecurityAction || null}
|
|
1072
1072
|
*/
|
|
1073
1073
|
this.BaseAction = null;
|
|
1074
1074
|
|
|
1075
1075
|
/**
|
|
1076
|
-
*
|
|
1076
|
+
* Handling method for the request from the specified IDC.
|
|
1077
1077
|
* @type {Array.<BotManagementActionOverrides> || null}
|
|
1078
1078
|
*/
|
|
1079
1079
|
this.BotManagementActionOverrides = null;
|
|
@@ -1658,7 +1658,7 @@ If this field is not specified, the default value 'off' will be used. When auto-
|
|
|
1658
1658
|
}
|
|
1659
1659
|
|
|
1660
1660
|
/**
|
|
1661
|
-
*
|
|
1661
|
+
* Configuration of the minimum body transfer rate threshold.
|
|
1662
1662
|
* @class
|
|
1663
1663
|
*/
|
|
1664
1664
|
class MinimalRequestBodyTransferRate extends AbstractModel {
|
|
@@ -1666,19 +1666,19 @@ class MinimalRequestBodyTransferRate extends AbstractModel {
|
|
|
1666
1666
|
super();
|
|
1667
1667
|
|
|
1668
1668
|
/**
|
|
1669
|
-
* Minimum body transfer rate threshold
|
|
1669
|
+
* Minimum body transfer rate threshold. The measurement unit only supports bps.
|
|
1670
1670
|
* @type {string || null}
|
|
1671
1671
|
*/
|
|
1672
1672
|
this.MinimalAvgTransferRateThreshold = null;
|
|
1673
1673
|
|
|
1674
1674
|
/**
|
|
1675
|
-
*
|
|
1675
|
+
* Statistical time range for minimum body transfer rate. Valid values: <li>10s: 10 seconds;</li><li>30s: 30 seconds;</li><li>60s: 60 seconds;</li><li>120s: 120 seconds.</li>
|
|
1676
1676
|
* @type {string || null}
|
|
1677
1677
|
*/
|
|
1678
1678
|
this.CountingPeriod = null;
|
|
1679
1679
|
|
|
1680
1680
|
/**
|
|
1681
|
-
*
|
|
1681
|
+
* Whether the minimum body transfer rate threshold is enabled. Valid values: <li>on: enabled;</li><li>off: disabled.</li>
|
|
1682
1682
|
* @type {string || null}
|
|
1683
1683
|
*/
|
|
1684
1684
|
this.Enabled = null;
|
|
@@ -1738,31 +1738,31 @@ class BrowserImpersonationDetectionRule extends AbstractModel {
|
|
|
1738
1738
|
super();
|
|
1739
1739
|
|
|
1740
1740
|
/**
|
|
1741
|
-
*
|
|
1741
|
+
* ID of the browser spoofing identification rule.<br>You can perform different rule configuration operations by rule ID:<br> <li> <b>Add</b> a new rule: leave the ID empty or unspecified;</li><li><b>Modify</b> an existing rule: specify the rule ID that needs to be updated/modified;</li><li><b>Delete</b> an existing rule: existing rules not included in the Rules list in the BrowserImpersonationDetection parameter will be deleted.</li>
|
|
1742
1742
|
* @type {string || null}
|
|
1743
1743
|
*/
|
|
1744
1744
|
this.Id = null;
|
|
1745
1745
|
|
|
1746
1746
|
/**
|
|
1747
|
-
*
|
|
1747
|
+
* Name of the browser spoofing identification rule.
|
|
1748
1748
|
* @type {string || null}
|
|
1749
1749
|
*/
|
|
1750
1750
|
this.Name = null;
|
|
1751
1751
|
|
|
1752
1752
|
/**
|
|
1753
|
-
* Whether browser
|
|
1753
|
+
* Whether to enable the browser forgery identification rule. Valid values: <li>on: enable;</li><li>off: disable.</li>
|
|
1754
1754
|
* @type {string || null}
|
|
1755
1755
|
*/
|
|
1756
1756
|
this.Enabled = null;
|
|
1757
1757
|
|
|
1758
1758
|
/**
|
|
1759
|
-
*
|
|
1759
|
+
* Specific content of the browser spoofing identification rule. It only supports the configuration of request Method, request Path, and request URL, which must comply with expression syntax. For detailed specifications, see the product document.
|
|
1760
1760
|
* @type {string || null}
|
|
1761
1761
|
*/
|
|
1762
1762
|
this.Condition = null;
|
|
1763
1763
|
|
|
1764
1764
|
/**
|
|
1765
|
-
*
|
|
1765
|
+
* Handling method for browser spoofing identification rules, including Cookie verification, session tracking configuration, and client behavior validation configuration.
|
|
1766
1766
|
* @type {BrowserImpersonationDetectionAction || null}
|
|
1767
1767
|
*/
|
|
1768
1768
|
this.Action = null;
|
|
@@ -2971,7 +2971,7 @@ class QUICParameters extends AbstractModel {
|
|
|
2971
2971
|
}
|
|
2972
2972
|
|
|
2973
2973
|
/**
|
|
2974
|
-
* Managed rule group
|
|
2974
|
+
* Managed rule group information
|
|
2975
2975
|
* @class
|
|
2976
2976
|
*/
|
|
2977
2977
|
class ManagedRuleGroupMeta extends AbstractModel {
|
|
@@ -2979,19 +2979,19 @@ class ManagedRuleGroupMeta extends AbstractModel {
|
|
|
2979
2979
|
super();
|
|
2980
2980
|
|
|
2981
2981
|
/**
|
|
2982
|
-
*
|
|
2982
|
+
* Managed rule group description. For output usage only.
|
|
2983
2983
|
* @type {string || null}
|
|
2984
2984
|
*/
|
|
2985
2985
|
this.GroupDetail = null;
|
|
2986
2986
|
|
|
2987
2987
|
/**
|
|
2988
|
-
*
|
|
2988
|
+
* Managed rule group name. Output parameter only.
|
|
2989
2989
|
* @type {string || null}
|
|
2990
2990
|
*/
|
|
2991
2991
|
this.GroupName = null;
|
|
2992
2992
|
|
|
2993
2993
|
/**
|
|
2994
|
-
*
|
|
2994
|
+
* Rule information of all sub-rules in the current managed rule group. Output parameter only.
|
|
2995
2995
|
* @type {Array.<ManagedRuleDetail> || null}
|
|
2996
2996
|
*/
|
|
2997
2997
|
this.RuleDetails = null;
|
|
@@ -8326,7 +8326,7 @@ class EdgeKVGetResponse extends AbstractModel {
|
|
|
8326
8326
|
}
|
|
8327
8327
|
|
|
8328
8328
|
/**
|
|
8329
|
-
*
|
|
8329
|
+
* Specific configuration of the CAPTCHA page.
|
|
8330
8330
|
* @class
|
|
8331
8331
|
*/
|
|
8332
8332
|
class CAPTCHAPageChallenge extends AbstractModel {
|
|
@@ -8334,7 +8334,7 @@ class CAPTCHAPageChallenge extends AbstractModel {
|
|
|
8334
8334
|
super();
|
|
8335
8335
|
|
|
8336
8336
|
/**
|
|
8337
|
-
* Whether
|
|
8337
|
+
* Whether human-machine verification is enabled. Valid values: <li>on: enabled;</li><li>off: disabled.</li>
|
|
8338
8338
|
* @type {string || null}
|
|
8339
8339
|
*/
|
|
8340
8340
|
this.Enabled = null;
|
|
@@ -9205,58 +9205,30 @@ class CustomField extends AbstractModel {
|
|
|
9205
9205
|
}
|
|
9206
9206
|
|
|
9207
9207
|
/**
|
|
9208
|
-
*
|
|
9208
|
+
* ApplyFreeCertificate response structure.
|
|
9209
9209
|
* @class
|
|
9210
9210
|
*/
|
|
9211
|
-
class
|
|
9211
|
+
class ApplyFreeCertificateResponse extends AbstractModel {
|
|
9212
9212
|
constructor(){
|
|
9213
9213
|
super();
|
|
9214
9214
|
|
|
9215
9215
|
/**
|
|
9216
|
-
*
|
|
9217
|
-
|
|
9218
|
-
<li>`trans`: Allow</li>
|
|
9219
|
-
<li>`alg`: JavaScript challenge</li>
|
|
9220
|
-
<li>`monitor`: Observe</li>
|
|
9221
|
-
* @type {string || null}
|
|
9222
|
-
*/
|
|
9223
|
-
this.Action = null;
|
|
9224
|
-
|
|
9225
|
-
/**
|
|
9226
|
-
* The rule ID, which is only used as an output parameter.
|
|
9227
|
-
* @type {number || null}
|
|
9228
|
-
*/
|
|
9229
|
-
this.RuleID = null;
|
|
9230
|
-
|
|
9231
|
-
/**
|
|
9232
|
-
* Rule ID to allow. defaults to no rules configured for allowance.
|
|
9233
|
-
* @type {Array.<number> || null}
|
|
9234
|
-
*/
|
|
9235
|
-
this.TransManagedIds = null;
|
|
9236
|
-
|
|
9237
|
-
/**
|
|
9238
|
-
* Rule ID of the JS challenge. default is all rules without configuring the JS challenge.
|
|
9239
|
-
* @type {Array.<number> || null}
|
|
9240
|
-
*/
|
|
9241
|
-
this.AlgManagedIds = null;
|
|
9242
|
-
|
|
9243
|
-
/**
|
|
9244
|
-
* The rule ID for digit verification code. by default, all rules do not configure digit verification code.
|
|
9245
|
-
* @type {Array.<number> || null}
|
|
9216
|
+
* Specifies the verification information for free certificate application when VerificationMethod is dns_challenge.
|
|
9217
|
+
* @type {DnsVerification || null}
|
|
9246
9218
|
*/
|
|
9247
|
-
this.
|
|
9219
|
+
this.DnsVerification = null;
|
|
9248
9220
|
|
|
9249
9221
|
/**
|
|
9250
|
-
*
|
|
9251
|
-
* @type {
|
|
9222
|
+
* Specifies the verification information related to the free certificate application for the domain name when VerificationMethod is http_challenge.
|
|
9223
|
+
* @type {FileVerification || null}
|
|
9252
9224
|
*/
|
|
9253
|
-
this.
|
|
9225
|
+
this.FileVerification = null;
|
|
9254
9226
|
|
|
9255
9227
|
/**
|
|
9256
|
-
*
|
|
9257
|
-
* @type {
|
|
9228
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
9229
|
+
* @type {string || null}
|
|
9258
9230
|
*/
|
|
9259
|
-
this.
|
|
9231
|
+
this.RequestId = null;
|
|
9260
9232
|
|
|
9261
9233
|
}
|
|
9262
9234
|
|
|
@@ -9267,13 +9239,19 @@ class BotManagedRule extends AbstractModel {
|
|
|
9267
9239
|
if (!params) {
|
|
9268
9240
|
return;
|
|
9269
9241
|
}
|
|
9270
|
-
|
|
9271
|
-
|
|
9272
|
-
|
|
9273
|
-
|
|
9274
|
-
|
|
9275
|
-
|
|
9276
|
-
|
|
9242
|
+
|
|
9243
|
+
if (params.DnsVerification) {
|
|
9244
|
+
let obj = new DnsVerification();
|
|
9245
|
+
obj.deserialize(params.DnsVerification)
|
|
9246
|
+
this.DnsVerification = obj;
|
|
9247
|
+
}
|
|
9248
|
+
|
|
9249
|
+
if (params.FileVerification) {
|
|
9250
|
+
let obj = new FileVerification();
|
|
9251
|
+
obj.deserialize(params.FileVerification)
|
|
9252
|
+
this.FileVerification = obj;
|
|
9253
|
+
}
|
|
9254
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9277
9255
|
|
|
9278
9256
|
}
|
|
9279
9257
|
}
|
|
@@ -9343,7 +9321,7 @@ class FloatTimingTypeValue extends AbstractModel {
|
|
|
9343
9321
|
}
|
|
9344
9322
|
|
|
9345
9323
|
/**
|
|
9346
|
-
*
|
|
9324
|
+
* Action of the Bot browser verification rule (formerly active feature detection rule).
|
|
9347
9325
|
* @class
|
|
9348
9326
|
*/
|
|
9349
9327
|
class BrowserImpersonationDetectionAction extends AbstractModel {
|
|
@@ -9351,13 +9329,13 @@ class BrowserImpersonationDetectionAction extends AbstractModel {
|
|
|
9351
9329
|
super();
|
|
9352
9330
|
|
|
9353
9331
|
/**
|
|
9354
|
-
*
|
|
9332
|
+
* Cookie verification and session tracking configuration.
|
|
9355
9333
|
* @type {BotSessionValidation || null}
|
|
9356
9334
|
*/
|
|
9357
9335
|
this.BotSessionValidation = null;
|
|
9358
9336
|
|
|
9359
9337
|
/**
|
|
9360
|
-
*
|
|
9338
|
+
* Client behavior validation configuration.
|
|
9361
9339
|
* @type {ClientBehaviorDetection || null}
|
|
9362
9340
|
*/
|
|
9363
9341
|
this.ClientBehaviorDetection = null;
|
|
@@ -9485,30 +9463,58 @@ class RangeOriginPullParameters extends AbstractModel {
|
|
|
9485
9463
|
}
|
|
9486
9464
|
|
|
9487
9465
|
/**
|
|
9488
|
-
*
|
|
9466
|
+
* Bot managed rules. The rule IDs can be obtained from the output of DescribeBotManagedRules.
|
|
9489
9467
|
* @class
|
|
9490
9468
|
*/
|
|
9491
|
-
class
|
|
9469
|
+
class BotManagedRule extends AbstractModel {
|
|
9492
9470
|
constructor(){
|
|
9493
9471
|
super();
|
|
9494
9472
|
|
|
9495
9473
|
/**
|
|
9496
|
-
*
|
|
9497
|
-
|
|
9474
|
+
* The rule action. Values:
|
|
9475
|
+
<li>`drop`: Block</li>
|
|
9476
|
+
<li>`trans`: Allow</li>
|
|
9477
|
+
<li>`alg`: JavaScript challenge</li>
|
|
9478
|
+
<li>`monitor`: Observe</li>
|
|
9479
|
+
* @type {string || null}
|
|
9498
9480
|
*/
|
|
9499
|
-
this.
|
|
9481
|
+
this.Action = null;
|
|
9500
9482
|
|
|
9501
9483
|
/**
|
|
9502
|
-
*
|
|
9503
|
-
* @type {
|
|
9484
|
+
* The rule ID, which is only used as an output parameter.
|
|
9485
|
+
* @type {number || null}
|
|
9504
9486
|
*/
|
|
9505
|
-
this.
|
|
9487
|
+
this.RuleID = null;
|
|
9506
9488
|
|
|
9507
9489
|
/**
|
|
9508
|
-
*
|
|
9509
|
-
* @type {
|
|
9490
|
+
* Rule ID to allow. defaults to no rules configured for allowance.
|
|
9491
|
+
* @type {Array.<number> || null}
|
|
9510
9492
|
*/
|
|
9511
|
-
this.
|
|
9493
|
+
this.TransManagedIds = null;
|
|
9494
|
+
|
|
9495
|
+
/**
|
|
9496
|
+
* Rule ID of the JS challenge. default is all rules without configuring the JS challenge.
|
|
9497
|
+
* @type {Array.<number> || null}
|
|
9498
|
+
*/
|
|
9499
|
+
this.AlgManagedIds = null;
|
|
9500
|
+
|
|
9501
|
+
/**
|
|
9502
|
+
* The rule ID for digit verification code. by default, all rules do not configure digit verification code.
|
|
9503
|
+
* @type {Array.<number> || null}
|
|
9504
|
+
*/
|
|
9505
|
+
this.CapManagedIds = null;
|
|
9506
|
+
|
|
9507
|
+
/**
|
|
9508
|
+
* Rule ID for observation. by default, observation is not configured for all rules.
|
|
9509
|
+
* @type {Array.<number> || null}
|
|
9510
|
+
*/
|
|
9511
|
+
this.MonManagedIds = null;
|
|
9512
|
+
|
|
9513
|
+
/**
|
|
9514
|
+
* Rule ID for interception. by default, all rules have no configuration interception.
|
|
9515
|
+
* @type {Array.<number> || null}
|
|
9516
|
+
*/
|
|
9517
|
+
this.DropManagedIds = null;
|
|
9512
9518
|
|
|
9513
9519
|
}
|
|
9514
9520
|
|
|
@@ -9519,19 +9525,13 @@ class ApplyFreeCertificateResponse extends AbstractModel {
|
|
|
9519
9525
|
if (!params) {
|
|
9520
9526
|
return;
|
|
9521
9527
|
}
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
if (params.FileVerification) {
|
|
9530
|
-
let obj = new FileVerification();
|
|
9531
|
-
obj.deserialize(params.FileVerification)
|
|
9532
|
-
this.FileVerification = obj;
|
|
9533
|
-
}
|
|
9534
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9528
|
+
this.Action = 'Action' in params ? params.Action : null;
|
|
9529
|
+
this.RuleID = 'RuleID' in params ? params.RuleID : null;
|
|
9530
|
+
this.TransManagedIds = 'TransManagedIds' in params ? params.TransManagedIds : null;
|
|
9531
|
+
this.AlgManagedIds = 'AlgManagedIds' in params ? params.AlgManagedIds : null;
|
|
9532
|
+
this.CapManagedIds = 'CapManagedIds' in params ? params.CapManagedIds : null;
|
|
9533
|
+
this.MonManagedIds = 'MonManagedIds' in params ? params.MonManagedIds : null;
|
|
9534
|
+
this.DropManagedIds = 'DropManagedIds' in params ? params.DropManagedIds : null;
|
|
9535
9535
|
|
|
9536
9536
|
}
|
|
9537
9537
|
}
|
|
@@ -10040,9 +10040,9 @@ class SharedCNAMEInfo extends AbstractModel {
|
|
|
10040
10040
|
}
|
|
10041
10041
|
|
|
10042
10042
|
/**
|
|
10043
|
-
* Default
|
|
10044
|
-
<li>Default disposition action configuration for
|
|
10045
|
-
<li>OtherModules
|
|
10043
|
+
* Default block action configuration. When a security rule is hit and triggers a block action, if SecurityAction specifies only Name as Deny and DenyActionParameters is not specified, the default parameter configuration defined here is matched by feature module dimension and used:
|
|
10044
|
+
<li>Default interception disposition action configuration for ManagedRules.</li>
|
|
10045
|
+
<li>OtherModules: default block disposition action configuration for security protection rules other than managed rules (custom rules, rate limit, and Bot management function).</li>
|
|
10046
10046
|
* @class
|
|
10047
10047
|
*/
|
|
10048
10048
|
class DefaultDenySecurityActionParameters extends AbstractModel {
|
|
@@ -10050,13 +10050,13 @@ class DefaultDenySecurityActionParameters extends AbstractModel {
|
|
|
10050
10050
|
super();
|
|
10051
10051
|
|
|
10052
10052
|
/**
|
|
10053
|
-
*
|
|
10053
|
+
* Default interception disposition action configuration for managed rules. Supported configuration parameters of DenyActionParameters: <li>ReturnCustomPage: whether to use a custom page.</li><li>ResponseCode: status code of the custom page.</li><li>ErrorPageId: PageId of the custom page.</li>
|
|
10054
10054
|
* @type {DenyActionParameters || null}
|
|
10055
10055
|
*/
|
|
10056
10056
|
this.ManagedRules = null;
|
|
10057
10057
|
|
|
10058
10058
|
/**
|
|
10059
|
-
* Security protection rules other than managed rules (custom
|
|
10059
|
+
* Security protection rules other than managed rules (custom rules, rate limit, and Bot management function) default interception disposition action configuration. Configuration parameters supported by DenyActionParameters: <li>ReturnCustomPage: whether to use a custom page.</li><li>ResponseCode: status code of the custom page.</li><li>ErrorPageId: PageId of the custom page.</li>
|
|
10060
10060
|
* @type {DenyActionParameters || null}
|
|
10061
10061
|
*/
|
|
10062
10062
|
this.OtherModules = null;
|
|
@@ -10555,7 +10555,7 @@ class CacheKeyConfigParameters extends AbstractModel {
|
|
|
10555
10555
|
}
|
|
10556
10556
|
|
|
10557
10557
|
/**
|
|
10558
|
-
* Trigger threshold
|
|
10558
|
+
* Trigger threshold of verification in Bot management.
|
|
10559
10559
|
* @class
|
|
10560
10560
|
*/
|
|
10561
10561
|
class MaxNewSessionTriggerConfig extends AbstractModel {
|
|
@@ -10563,13 +10563,13 @@ class MaxNewSessionTriggerConfig extends AbstractModel {
|
|
|
10563
10563
|
super();
|
|
10564
10564
|
|
|
10565
10565
|
/**
|
|
10566
|
-
* Time window for trigger threshold statistics.
|
|
10566
|
+
* Time window for trigger threshold statistics. Valid values: <li>5s: within 5 seconds;</li><li>10s: within 10 seconds;</li><li>15s: within 15 seconds;</li><li>30s: within 30 seconds;</li><li>60s: within 60 seconds;</li><li>5m: within 5 minutes;</li><li>10m: within 10 minutes;</li><li>30m: within 30 minutes;</li><li>60m: within 60 minutes.</li>
|
|
10567
10567
|
* @type {string || null}
|
|
10568
10568
|
*/
|
|
10569
10569
|
this.MaxNewSessionCountInterval = null;
|
|
10570
10570
|
|
|
10571
10571
|
/**
|
|
10572
|
-
*
|
|
10572
|
+
* Cumulative count of trigger threshold statistics. Value range: 1-100000000.
|
|
10573
10573
|
* @type {number || null}
|
|
10574
10574
|
*/
|
|
10575
10575
|
this.MaxNewSessionCountThreshold = null;
|
|
@@ -13087,7 +13087,7 @@ Note: This field may return null, which indicates a failure to obtain a valid va
|
|
|
13087
13087
|
}
|
|
13088
13088
|
|
|
13089
13089
|
/**
|
|
13090
|
-
*
|
|
13090
|
+
* Details of managed rules
|
|
13091
13091
|
* @class
|
|
13092
13092
|
*/
|
|
13093
13093
|
class ManagedRuleDetail extends AbstractModel {
|
|
@@ -13101,7 +13101,7 @@ class ManagedRuleDetail extends AbstractModel {
|
|
|
13101
13101
|
this.RuleId = null;
|
|
13102
13102
|
|
|
13103
13103
|
/**
|
|
13104
|
-
* Protection level of managed
|
|
13104
|
+
* Protection level of the managed rule. Valid values: <li>low: low risk. This rule has lower risk and is suitable for access scenarios in very strict control environments. Rules at this level may cause considerable false alarms;</li><li>medium: medium-risk. This rule has normal risk and is suitable for strict protection scenarios;</li><li>high: high-risk. This rule has relatively high risk and will not generate false alarms in most scenarios;</li><li>extreme: ultra-high risk. This rule has extremely high risk and basically will not generate false alarms;</li>
|
|
13105
13105
|
* @type {string || null}
|
|
13106
13106
|
*/
|
|
13107
13107
|
this.RiskLevel = null;
|
|
@@ -14657,7 +14657,7 @@ class ModifyDnsRecordsStatusRequest extends AbstractModel {
|
|
|
14657
14657
|
}
|
|
14658
14658
|
|
|
14659
14659
|
/**
|
|
14660
|
-
*
|
|
14660
|
+
* Automatic update options for managed rules
|
|
14661
14661
|
* @class
|
|
14662
14662
|
*/
|
|
14663
14663
|
class ManagedRuleAutoUpdate extends AbstractModel {
|
|
@@ -14665,13 +14665,13 @@ class ManagedRuleAutoUpdate extends AbstractModel {
|
|
|
14665
14665
|
super();
|
|
14666
14666
|
|
|
14667
14667
|
/**
|
|
14668
|
-
*
|
|
14668
|
+
* Whether automatic update to the latest version is enabled. Valid values: <li>on: enabled</li><li>off: disabled</li>
|
|
14669
14669
|
* @type {string || null}
|
|
14670
14670
|
*/
|
|
14671
14671
|
this.AutoUpdateToLatestVersion = null;
|
|
14672
14672
|
|
|
14673
14673
|
/**
|
|
14674
|
-
*
|
|
14674
|
+
* Currently used version in ISO 8601 format, for example, 2023-12-21T12:00:32Z. Empty by default. Output only.
|
|
14675
14675
|
* @type {string || null}
|
|
14676
14676
|
*/
|
|
14677
14677
|
this.RulesetVersion = null;
|
|
@@ -14692,7 +14692,7 @@ class ManagedRuleAutoUpdate extends AbstractModel {
|
|
|
14692
14692
|
}
|
|
14693
14693
|
|
|
14694
14694
|
/**
|
|
14695
|
-
* Custom rule under Web protection feature.
|
|
14695
|
+
* Custom rule under the Web protection feature.
|
|
14696
14696
|
* @class
|
|
14697
14697
|
*/
|
|
14698
14698
|
class CustomRule extends AbstractModel {
|
|
@@ -14700,31 +14700,31 @@ class CustomRule extends AbstractModel {
|
|
|
14700
14700
|
super();
|
|
14701
14701
|
|
|
14702
14702
|
/**
|
|
14703
|
-
* <p>
|
|
14703
|
+
* <p>Name of the custom rule.</p>
|
|
14704
14704
|
* @type {string || null}
|
|
14705
14705
|
*/
|
|
14706
14706
|
this.Name = null;
|
|
14707
14707
|
|
|
14708
14708
|
/**
|
|
14709
|
-
* <p>The specific content of
|
|
14709
|
+
* <p>The specific content of the custom rule must comply with the expression grammar. For detailed specifications, see the <a href="https://www.tencentcloud.com/document/product/1552/125343?from_cn_redirect=1">product document</a>.</p>
|
|
14710
14710
|
* @type {string || null}
|
|
14711
14711
|
*/
|
|
14712
14712
|
this.Condition = null;
|
|
14713
14713
|
|
|
14714
14714
|
/**
|
|
14715
|
-
* <p>Handling action of the custom rule. SecurityAction.Name
|
|
14715
|
+
* <p>Handling action of the custom rule. SecurityAction.Name values are as follows:</p><ul><li>Allow: allow, where AllowActionParameters supports MinDelayTime and MaxDelayTime configuration;</li><li>Deny: block, where DenyActionParameters supports BlockIp, ReturnCustomPage, and Stall configuration;</li><li>Monitor: observe;</li><li>Challenge: challenge, where ChallengeActionParameters.ChallengeOption supports JSChallenge and ManagedChallenge;</li><li>Redirect: redirect to a URL.</li></ul>
|
|
14716
14716
|
* @type {SecurityAction || null}
|
|
14717
14717
|
*/
|
|
14718
14718
|
this.Action = null;
|
|
14719
14719
|
|
|
14720
14720
|
/**
|
|
14721
|
-
* <p>Whether the custom rule is enabled. Valid values: <ul><li>on:
|
|
14721
|
+
* <p>Whether the custom rule is enabled. Valid values: <ul><li>on: Enable;</li><li>off: Disable.</li></ul></p>
|
|
14722
14722
|
* @type {string || null}
|
|
14723
14723
|
*/
|
|
14724
14724
|
this.Enabled = null;
|
|
14725
14725
|
|
|
14726
14726
|
/**
|
|
14727
|
-
* <p>ID of the custom rule.
|
|
14727
|
+
* <p>ID of the custom rule. You can perform different rule configuration operations by rule ID: <ul><li>Add a new rule: leave the ID empty or do not specify the ID parameter;</li><li>Modify an existing rule: specify the rule ID that needs to be updated/modified;</li><li>Delete an existing rule: existing rules not included in the Rules list in the CustomRules parameter will be deleted.</li></ul></p>
|
|
14728
14728
|
* @type {string || null}
|
|
14729
14729
|
*/
|
|
14730
14730
|
this.Id = null;
|
|
@@ -14736,7 +14736,7 @@ class CustomRule extends AbstractModel {
|
|
|
14736
14736
|
this.RuleType = null;
|
|
14737
14737
|
|
|
14738
14738
|
/**
|
|
14739
|
-
* <p>Priority of custom rules
|
|
14739
|
+
* <p>Priority of custom rules, ranging from 0 to 100, with a default value of 0. Only exact matching rules (<code>PreciseMatchRule</code>) are supported.</p>
|
|
14740
14740
|
* @type {number || null}
|
|
14741
14741
|
*/
|
|
14742
14742
|
this.Priority = null;
|
|
@@ -15004,7 +15004,7 @@ class DeleteAccelerationDomainsResponse extends AbstractModel {
|
|
|
15004
15004
|
}
|
|
15005
15005
|
|
|
15006
15006
|
/**
|
|
15007
|
-
* Web security
|
|
15007
|
+
* Exception rule for Web security
|
|
15008
15008
|
* @class
|
|
15009
15009
|
*/
|
|
15010
15010
|
class ExceptionRules extends AbstractModel {
|
|
@@ -15012,7 +15012,7 @@ class ExceptionRules extends AbstractModel {
|
|
|
15012
15012
|
super();
|
|
15013
15013
|
|
|
15014
15014
|
/**
|
|
15015
|
-
* Definition list of exception Rules.
|
|
15015
|
+
* Definition list of exception Rules. When using ModifySecurityPolicy to modify Web protection configuration: <li>If the Rules parameter is not specified or its length is zero: clear all exception rule configurations.</li><li>If the ExceptionRules parameter value is not specified in the SecurityPolicy parameter: keep existing exception rule configurations without modification.</li>
|
|
15016
15016
|
* @type {Array.<ExceptionRule> || null}
|
|
15017
15017
|
*/
|
|
15018
15018
|
this.Rules = null;
|
|
@@ -15088,8 +15088,8 @@ class ExceptConfig extends AbstractModel {
|
|
|
15088
15088
|
* Additional parameter for safe execution when the action is set to redirect.
|
|
15089
15089
|
|
|
15090
15090
|
This parameter is used to specify the extra handling action taken by the system when a security rule is hit and a redirection action is executed.
|
|
15091
|
-
Different
|
|
15092
|
-
|
|
15091
|
+
Different handling actions are configured with different fixed parameter combinations. The system will determine the effective handling action type according to the configured parameter combination.
|
|
15092
|
+
Only one handling action can be configured and made effective during the same redirection. Parameter composites corresponding to multiple handling actions cannot appear at the same time. Otherwise, it is deemed as an invalid configuration.
|
|
15093
15093
|
RedirectActionParameters supports the following extra handling actions: <li>Redirect: redirect client requests to the specified destination URL. Corresponding parameter: URL.</li>
|
|
15094
15094
|
* @class
|
|
15095
15095
|
*/
|
|
@@ -15389,7 +15389,7 @@ class Identification extends AbstractModel {
|
|
|
15389
15389
|
}
|
|
15390
15390
|
|
|
15391
15391
|
/**
|
|
15392
|
-
*
|
|
15392
|
+
* Specific configuration of the body transfer timeout duration.
|
|
15393
15393
|
* @class
|
|
15394
15394
|
*/
|
|
15395
15395
|
class RequestBodyTransferTimeout extends AbstractModel {
|
|
@@ -15397,13 +15397,13 @@ class RequestBodyTransferTimeout extends AbstractModel {
|
|
|
15397
15397
|
super();
|
|
15398
15398
|
|
|
15399
15399
|
/**
|
|
15400
|
-
* Body transfer timeout duration.
|
|
15400
|
+
* Body transfer timeout duration. Value range: 5–120. Unit: seconds (s) only.
|
|
15401
15401
|
* @type {string || null}
|
|
15402
15402
|
*/
|
|
15403
15403
|
this.IdleTimeout = null;
|
|
15404
15404
|
|
|
15405
15405
|
/**
|
|
15406
|
-
* Whether body transfer timeout is enabled.
|
|
15406
|
+
* Whether body transfer timeout duration is enabled. Valid values: <li>on: enabled;</li><li>off: disabled.</li>
|
|
15407
15407
|
* @type {string || null}
|
|
15408
15408
|
*/
|
|
15409
15409
|
this.Enabled = null;
|
|
@@ -16127,7 +16127,7 @@ class BindSecurityTemplateToEntityResponse extends AbstractModel {
|
|
|
16127
16127
|
}
|
|
16128
16128
|
|
|
16129
16129
|
/**
|
|
16130
|
-
* Bot management
|
|
16130
|
+
* Basic configuration of Bot management, which takes effect for all domain names associated with the policy. Fine-grained customization can be done through CustomRules.
|
|
16131
16131
|
* @class
|
|
16132
16132
|
*/
|
|
16133
16133
|
class BasicBotSettings extends AbstractModel {
|
|
@@ -16135,31 +16135,31 @@ class BasicBotSettings extends AbstractModel {
|
|
|
16135
16135
|
super();
|
|
16136
16136
|
|
|
16137
16137
|
/**
|
|
16138
|
-
*
|
|
16138
|
+
* Source IDC configuration of the client IP, used for handling access requests from client IPs in IDCs (data centers). This type of source request is not directly accessed from a mobile terminal or browser side.
|
|
16139
16139
|
* @type {SourceIDC || null}
|
|
16140
16140
|
*/
|
|
16141
16141
|
this.SourceIDC = null;
|
|
16142
16142
|
|
|
16143
16143
|
/**
|
|
16144
|
-
* Search engine crawler configuration, used
|
|
16144
|
+
* Search engine crawler configuration, used for handling requests from search engine crawlers. The IP, User-Agent, or rDNS results of such requests match known search engine crawlers.
|
|
16145
16145
|
* @type {SearchEngineBots || null}
|
|
16146
16146
|
*/
|
|
16147
16147
|
this.SearchEngineBots = null;
|
|
16148
16148
|
|
|
16149
16149
|
/**
|
|
16150
|
-
*
|
|
16150
|
+
* UA feature configuration for commercial or open-source tools (formerly UA feature rules), used for handling access requests from known commercial or open-source tools. The User-Agent header of such requests matches the features of known commercial or open-source tools.
|
|
16151
16151
|
* @type {KnownBotCategories || null}
|
|
16152
16152
|
*/
|
|
16153
16153
|
this.KnownBotCategories = null;
|
|
16154
16154
|
|
|
16155
16155
|
/**
|
|
16156
|
-
*
|
|
16156
|
+
* IP threat intelligence database (formerly client profile analysis) configuration, used for handling client IP addresses with specific risk characteristics in recent access behavior.
|
|
16157
16157
|
* @type {IPReputation || null}
|
|
16158
16158
|
*/
|
|
16159
16159
|
this.IPReputation = null;
|
|
16160
16160
|
|
|
16161
16161
|
/**
|
|
16162
|
-
*
|
|
16162
|
+
* Specific configuration for Bot intelligent analysis.
|
|
16163
16163
|
* @type {BotIntelligence || null}
|
|
16164
16164
|
*/
|
|
16165
16165
|
this.BotIntelligence = null;
|
|
@@ -16668,7 +16668,7 @@ class WafConfig extends AbstractModel {
|
|
|
16668
16668
|
}
|
|
16669
16669
|
|
|
16670
16670
|
/**
|
|
16671
|
-
* Bandwidth abuse protection configuration (
|
|
16671
|
+
* Bandwidth abuse protection configuration (only applicable to the Chinese mainland).
|
|
16672
16672
|
* @class
|
|
16673
16673
|
*/
|
|
16674
16674
|
class BandwidthAbuseDefense extends AbstractModel {
|
|
@@ -16676,19 +16676,19 @@ class BandwidthAbuseDefense extends AbstractModel {
|
|
|
16676
16676
|
super();
|
|
16677
16677
|
|
|
16678
16678
|
/**
|
|
16679
|
-
* Whether bandwidth abuse protection (applicable to
|
|
16679
|
+
* Whether bandwidth abuse protection (only applicable to the Chinese mainland) is enabled. Valid values: <li>on: enabled;</li><li>off: disabled.</li>
|
|
16680
16680
|
* @type {string || null}
|
|
16681
16681
|
*/
|
|
16682
16682
|
this.Enabled = null;
|
|
16683
16683
|
|
|
16684
16684
|
/**
|
|
16685
|
-
* Rule ID
|
|
16685
|
+
* Rule ID for bandwidth abuse protection. Returned as an output parameter only.
|
|
16686
16686
|
* @type {string || null}
|
|
16687
16687
|
*/
|
|
16688
16688
|
this.Id = null;
|
|
16689
16689
|
|
|
16690
16690
|
/**
|
|
16691
|
-
*
|
|
16691
|
+
* Handling method for bandwidth abuse protection (applicable to Chinese mainland only). This field is required when Enabled is on. Supported values for SecurityAction Name: <li>Monitor: monitor;</li><li>Deny: block;</li><li>Challenge: challenge. ChallengeActionParameters.Name only supports JSChallenge.</li>
|
|
16692
16692
|
* @type {SecurityAction || null}
|
|
16693
16693
|
*/
|
|
16694
16694
|
this.Action = null;
|
|
@@ -17098,7 +17098,7 @@ class DeleteSharedCNAMERequest extends AbstractModel {
|
|
|
17098
17098
|
}
|
|
17099
17099
|
|
|
17100
17100
|
/**
|
|
17101
|
-
* Custom
|
|
17101
|
+
* Custom rule structure for Web security
|
|
17102
17102
|
* @class
|
|
17103
17103
|
*/
|
|
17104
17104
|
class CustomRules extends AbstractModel {
|
|
@@ -17106,7 +17106,7 @@ class CustomRules extends AbstractModel {
|
|
|
17106
17106
|
super();
|
|
17107
17107
|
|
|
17108
17108
|
/**
|
|
17109
|
-
*
|
|
17109
|
+
* Definition list of custom rules.<br>When using ModifySecurityPolicy to modify Web protection configuration: <br> - If the Rules parameter is not specified, or the parameter length of Rules is zero: clear ALL custom rule configurations.<br> - If the CustomRules parameter value is not specified in the SecurityPolicy parameter: keep the existing custom rule configuration and do not modify it.
|
|
17110
17110
|
* @type {Array.<CustomRule> || null}
|
|
17111
17111
|
*/
|
|
17112
17112
|
this.Rules = null;
|
|
@@ -17470,7 +17470,7 @@ class DestroyPlanRequest extends AbstractModel {
|
|
|
17470
17470
|
}
|
|
17471
17471
|
|
|
17472
17472
|
/**
|
|
17473
|
-
* Additional parameter for
|
|
17473
|
+
* Additional parameter for IP blocking in Web Security
|
|
17474
17474
|
* @class
|
|
17475
17475
|
*/
|
|
17476
17476
|
class BlockIPActionParameters extends AbstractModel {
|
|
@@ -17478,7 +17478,7 @@ class BlockIPActionParameters extends AbstractModel {
|
|
|
17478
17478
|
super();
|
|
17479
17479
|
|
|
17480
17480
|
/**
|
|
17481
|
-
* Penalty duration for
|
|
17481
|
+
* Penalty duration for blocked IPs. Supported units: <li>s: second, value ranges from 1 to 120;</li><li>m: minute, value ranges from 1 to 120;</li><li>h: hour, value ranges from 1 to 48.</li>
|
|
17482
17482
|
* @type {string || null}
|
|
17483
17483
|
*/
|
|
17484
17484
|
this.Duration = null;
|
|
@@ -20234,7 +20234,7 @@ class CreatePlanForZoneRequest extends AbstractModel {
|
|
|
20234
20234
|
}
|
|
20235
20235
|
|
|
20236
20236
|
/**
|
|
20237
|
-
*
|
|
20237
|
+
* Client device configuration
|
|
20238
20238
|
* @class
|
|
20239
20239
|
*/
|
|
20240
20240
|
class DeviceProfile extends AbstractModel {
|
|
@@ -20242,31 +20242,31 @@ class DeviceProfile extends AbstractModel {
|
|
|
20242
20242
|
super();
|
|
20243
20243
|
|
|
20244
20244
|
/**
|
|
20245
|
-
* Client device type. Valid values: <li>iOS;</li
|
|
20245
|
+
* <p>Client device type. Valid values: <li>iOS;</li><li>Android;</li><li>WebView;</li><li>WeChatMiniProgram.</li></p>
|
|
20246
20246
|
* @type {string || null}
|
|
20247
20247
|
*/
|
|
20248
20248
|
this.ClientType = null;
|
|
20249
20249
|
|
|
20250
20250
|
/**
|
|
20251
|
-
*
|
|
20251
|
+
* <p>Minimum risk score for high-risk requests. A request is considered high-risk when its score is equal to or greater than this value.</p><p>Value range: [2, 99]</p><p>Default value: 50</p>
|
|
20252
20252
|
* @type {number || null}
|
|
20253
20253
|
*/
|
|
20254
20254
|
this.HighRiskMinScore = null;
|
|
20255
20255
|
|
|
20256
20256
|
/**
|
|
20257
|
-
* Handling method for high-risk requests.
|
|
20257
|
+
* <p>Handling method for high-risk requests. Supported values for the Name parameter of SecurityAction: <li>Deny: Block;</li><li>Monitor: Observe;</li><li>Redirect: Redirection;</li><li>Challenge: Challenge.</li>Default value: Monitor.</p>
|
|
20258
20258
|
* @type {SecurityAction || null}
|
|
20259
20259
|
*/
|
|
20260
20260
|
this.HighRiskRequestAction = null;
|
|
20261
20261
|
|
|
20262
20262
|
/**
|
|
20263
|
-
*
|
|
20263
|
+
* <p>The minimum risk score for a medium-risk request. When the score is equal to or greater than this value and less than HighRiskMinScore, it is determined as medium-risk. When it is below this value, it is determined as low risk.</p><p>Value range: [1, 98]</p><p>Default value: 15</p>
|
|
20264
20264
|
* @type {number || null}
|
|
20265
20265
|
*/
|
|
20266
20266
|
this.MediumRiskMinScore = null;
|
|
20267
20267
|
|
|
20268
20268
|
/**
|
|
20269
|
-
* Handling method for medium
|
|
20269
|
+
* <p>Handling method for medium risk requests. Supported values for the Name of SecurityAction: <li>Deny: block;</li><li>Monitor: monitor;</li><li>Redirect: redirect;</li><li>Challenge: challenge.</li>Default value: Monitor.</p>
|
|
20270
20270
|
* @type {SecurityAction || null}
|
|
20271
20271
|
*/
|
|
20272
20272
|
this.MediumRiskRequestAction = null;
|
|
@@ -21570,7 +21570,7 @@ Note: shared CNAME is currently in beta test. if you need to use it, contact us
|
|
|
21570
21570
|
}
|
|
21571
21571
|
|
|
21572
21572
|
/**
|
|
21573
|
-
* Based on client and request features,
|
|
21573
|
+
* Based on client and request features, request sources are divided into human requests, legal Bot requests, suspected Bot requests, and high-risk Bot requests, with request handling options provided.
|
|
21574
21574
|
* @class
|
|
21575
21575
|
*/
|
|
21576
21576
|
class BotRatings extends AbstractModel {
|
|
@@ -21578,25 +21578,25 @@ class BotRatings extends AbstractModel {
|
|
|
21578
21578
|
super();
|
|
21579
21579
|
|
|
21580
21580
|
/**
|
|
21581
|
-
* Execution action for malicious Bot requests.
|
|
21581
|
+
* Execution action for malicious Bot requests. Supported values for the Name parameter of SecurityAction: <li>Deny: Block;</li><li>Monitor: Observe;</li><li>Allow: Allow;</li><li>Challenge: Challenge. Among them, ChallengeOption in ChallengeActionParameters supports JSChallenge and ManagedChallenge.</li>
|
|
21582
21582
|
* @type {SecurityAction || null}
|
|
21583
21583
|
*/
|
|
21584
21584
|
this.HighRiskBotRequestsAction = null;
|
|
21585
21585
|
|
|
21586
21586
|
/**
|
|
21587
|
-
*
|
|
21587
|
+
* Execution action for suspected Bot requests. Supported values for the Name parameter of SecurityAction: <li>Deny: Block;</li><li>Monitor: Observe;</li><li>Allow: Allow;</li><li>Challenge: Challenge. The ChallengeOption in ChallengeActionParameters supports JSChallenge and ManagedChallenge.</li>
|
|
21588
21588
|
* @type {SecurityAction || null}
|
|
21589
21589
|
*/
|
|
21590
21590
|
this.LikelyBotRequestsAction = null;
|
|
21591
21591
|
|
|
21592
21592
|
/**
|
|
21593
|
-
* Execution action
|
|
21593
|
+
* Execution action of friendly Bot requests. The Name parameter of SecurityAction supports the following values: <li>Deny: block;</li><li>Monitor: observe;</li><li>Allow: Allow;</li><li>Challenge: Challenge. The ChallengeOption in ChallengeActionParameters supports JSChallenge and ManagedChallenge.</li>
|
|
21594
21594
|
* @type {SecurityAction || null}
|
|
21595
21595
|
*/
|
|
21596
21596
|
this.VerifiedBotRequestsAction = null;
|
|
21597
21597
|
|
|
21598
21598
|
/**
|
|
21599
|
-
* Execution action for
|
|
21599
|
+
* Execution action for normal Bot requests. Valid values of SecurityAction Name: <li>Allow: Allow.</li>
|
|
21600
21600
|
* @type {SecurityAction || null}
|
|
21601
21601
|
*/
|
|
21602
21602
|
this.HumanRequestsAction = null;
|
|
@@ -21725,12 +21725,12 @@ class NormalAction extends AbstractModel {
|
|
|
21725
21725
|
}
|
|
21726
21726
|
|
|
21727
21727
|
/**
|
|
21728
|
-
* Additional parameter
|
|
21728
|
+
* Additional parameter for the safe execution action when it is interception.
|
|
21729
21729
|
|
|
21730
|
-
This parameter is used
|
|
21731
|
-
Different
|
|
21732
|
-
|
|
21733
|
-
DenyActionParameters supports the following
|
|
21730
|
+
This parameter is used to specify the extra handling action taken by the system when a security rule is hit and an intercept action is executed.
|
|
21731
|
+
Different handling actions are configured with different fixed parameter combinations. The system will determine the actually effective handling action type according to the configured parameter combination.
|
|
21732
|
+
Only one handling action can be configured and made effective during the same block execution. Parameters corresponding to multiple handling actions cannot appear simultaneously, otherwise the configuration is deemed invalid. If empty, the default block handling action is used.
|
|
21733
|
+
DenyActionParameters supports the following extra handling actions: <li>Default: When DenyActionParameters is empty or no extra handling action is enabled, the system will perform the default block, responding with an interception page.</li><li>IP blocking: Continuously block the client source IP that triggers the rule. Corresponding parameters: BlockIp, BlockIpDuration.</li><li>Custom page interception: Use the specified custom page content to respond to requests. Corresponding parameters: ReturnCustomPage, ResponseCode, ErrorPageId.</li><li>Silence: Accept client requests but do not return. Corresponding parameter: Stall.</li>
|
|
21734
21734
|
* @class
|
|
21735
21735
|
*/
|
|
21736
21736
|
class DenyActionParameters extends AbstractModel {
|
|
@@ -21738,31 +21738,27 @@ class DenyActionParameters extends AbstractModel {
|
|
|
21738
21738
|
super();
|
|
21739
21739
|
|
|
21740
21740
|
/**
|
|
21741
|
-
*
|
|
21741
|
+
* Whether to extend the block on the source IP. Valid values:
|
|
21742
21742
|
<li>`on`: Enable;</li>
|
|
21743
|
-
|
|
21744
21743
|
<li>off: Disable.</li>
|
|
21745
|
-
|
|
21746
|
-
|
|
21747
|
-
Note: this option cannot intersect with ReturnCustomPage or Stall.
|
|
21744
|
+
After enabled, the client IP that triggers the rule will be continuously blocked. When this option is enabled, the BlockIpDuration parameter must be specified simultaneously.
|
|
21745
|
+
Note: This option cannot intersect with ReturnCustomPage or Stall.
|
|
21748
21746
|
* @type {string || null}
|
|
21749
21747
|
*/
|
|
21750
21748
|
this.BlockIp = null;
|
|
21751
21749
|
|
|
21752
21750
|
/**
|
|
21753
|
-
*
|
|
21751
|
+
* IP ban duration when BlockIP is on.
|
|
21754
21752
|
* @type {string || null}
|
|
21755
21753
|
*/
|
|
21756
21754
|
this.BlockIpDuration = null;
|
|
21757
21755
|
|
|
21758
21756
|
/**
|
|
21759
|
-
*
|
|
21757
|
+
* Whether to use custom pages. Valid values:
|
|
21760
21758
|
<li>`on`: Enable;</li>
|
|
21761
|
-
|
|
21762
21759
|
<li>off: Disable.</li>
|
|
21763
|
-
|
|
21764
|
-
|
|
21765
|
-
Note: this option cannot intersect with the BlockIp or Stall option.
|
|
21760
|
+
Enabled. Use custom page content to intercept (respond to) requests. When this option is enabled, you must specify the ResponseCode and ErrorPageId parameters simultaneously.
|
|
21761
|
+
Note: This option cannot intersect with BlockIp or Stall.
|
|
21766
21762
|
|
|
21767
21763
|
* @type {string || null}
|
|
21768
21764
|
*/
|
|
@@ -21775,19 +21771,17 @@ Note: this option cannot intersect with the BlockIp or Stall option.
|
|
|
21775
21771
|
this.ResponseCode = null;
|
|
21776
21772
|
|
|
21777
21773
|
/**
|
|
21778
|
-
*
|
|
21774
|
+
* PageId of the custom page.
|
|
21779
21775
|
* @type {string || null}
|
|
21780
21776
|
*/
|
|
21781
21777
|
this.ErrorPageId = null;
|
|
21782
21778
|
|
|
21783
21779
|
/**
|
|
21784
|
-
*
|
|
21780
|
+
* Whether to suspend requests from the request source without processing. Valid values:
|
|
21785
21781
|
<li>`on`: Enable;</li>
|
|
21786
|
-
|
|
21787
21782
|
<li>off: Disable.</li>
|
|
21788
|
-
|
|
21789
|
-
|
|
21790
|
-
Note: this option cannot intersect with BlockIp or ReturnCustomPage options.
|
|
21783
|
+
Enabled. It no longer responds to requests in the current connection session and does not actively disconnect. When used for crawler counteraction, it consumes client connection resources.
|
|
21784
|
+
Note: This option cannot intersect with BlockIp or ReturnCustomPage.
|
|
21791
21785
|
* @type {string || null}
|
|
21792
21786
|
*/
|
|
21793
21787
|
this.Stall = null;
|
|
@@ -22028,6 +22022,48 @@ class DeleteJustInTimeTranscodeTemplatesResponse extends AbstractModel {
|
|
|
22028
22022
|
}
|
|
22029
22023
|
}
|
|
22030
22024
|
|
|
22025
|
+
/**
|
|
22026
|
+
* Security headers to include in requests to the origin. After the configuration takes effect, request headers with the corresponding `keyname` will be sent to the origin.
|
|
22027
|
+
* @class
|
|
22028
|
+
*/
|
|
22029
|
+
class SecurityHeadersToOrigin extends AbstractModel {
|
|
22030
|
+
constructor(){
|
|
22031
|
+
super();
|
|
22032
|
+
|
|
22033
|
+
/**
|
|
22034
|
+
* <p>Configuration of origin request headers for Bot identification information. Valid values:<ul><li>`EO-Bot-Botnet-ID`: Identifier generated based on Bot request characteristics.</li></ul></p>
|
|
22035
|
+
* @type {Array.<string> || null}
|
|
22036
|
+
*/
|
|
22037
|
+
this.BotIdentificationHeaders = null;
|
|
22038
|
+
|
|
22039
|
+
/**
|
|
22040
|
+
* <p>Configuration of origin request headers for identification results from the Advanced Bot Management module. Valid values:<ul><li>`EO-Bot-Client-Attestation`: Advanced Bot Management - Authentication ticket verification result from the Client Attestation module;</li><li>`EO-Bot-Client-Risk`: Advanced Bot Management - Device risk assessment result from the Client Attestation module;</li><li>`EO-Bot-Intelligence`: Advanced Bot Management - Identification result from the Bot Intelligence Analysis module;</li><li>`EO-Bot-IP-Reputation`: Advanced Bot Management - Identification result from Client Reputation module;</li><li>`EO-Bot-Known-Tool`: Advanced Bot Management - Basic Feature Management - Identification result from the UA Feature Rule module;</li><li>`EO-Bot-Search-Engine`: Advanced Bot Management - Basic Feature Management - Identification result from the Search Engine Rule module;</li><li>`EO-Bot-Source-IDC`: Advanced Bot Management - Basic Feature Management - Identification result from the IDC Rule module;</li><li>`EO-Bot-User-Risk`: Advanced Bot Management - Account risk assessment result from the Client Attestation module.</li></ul></p>
|
|
22041
|
+
* @type {Array.<string> || null}
|
|
22042
|
+
*/
|
|
22043
|
+
this.BotManagementHeaders = null;
|
|
22044
|
+
|
|
22045
|
+
/**
|
|
22046
|
+
* <p>Configuration of origin request headers for client fingerprint information. Valid values:<ul><li>`EO-Bot-Fingerprint`: Client fingerprint information.</li></ul></p>
|
|
22047
|
+
* @type {Array.<string> || null}
|
|
22048
|
+
*/
|
|
22049
|
+
this.ClientFingerprintHeaders = null;
|
|
22050
|
+
|
|
22051
|
+
}
|
|
22052
|
+
|
|
22053
|
+
/**
|
|
22054
|
+
* @private
|
|
22055
|
+
*/
|
|
22056
|
+
deserialize(params) {
|
|
22057
|
+
if (!params) {
|
|
22058
|
+
return;
|
|
22059
|
+
}
|
|
22060
|
+
this.BotIdentificationHeaders = 'BotIdentificationHeaders' in params ? params.BotIdentificationHeaders : null;
|
|
22061
|
+
this.BotManagementHeaders = 'BotManagementHeaders' in params ? params.BotManagementHeaders : null;
|
|
22062
|
+
this.ClientFingerprintHeaders = 'ClientFingerprintHeaders' in params ? params.ClientFingerprintHeaders : null;
|
|
22063
|
+
|
|
22064
|
+
}
|
|
22065
|
+
}
|
|
22066
|
+
|
|
22031
22067
|
/**
|
|
22032
22068
|
* DeleteRules response structure.
|
|
22033
22069
|
* @class
|
|
@@ -22210,7 +22246,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
22210
22246
|
}
|
|
22211
22247
|
|
|
22212
22248
|
/**
|
|
22213
|
-
*
|
|
22249
|
+
* Client authentication configuration.
|
|
22214
22250
|
* @class
|
|
22215
22251
|
*/
|
|
22216
22252
|
class ClientAttestationRules extends AbstractModel {
|
|
@@ -22218,7 +22254,7 @@ class ClientAttestationRules extends AbstractModel {
|
|
|
22218
22254
|
super();
|
|
22219
22255
|
|
|
22220
22256
|
/**
|
|
22221
|
-
* List of client authentication.
|
|
22257
|
+
* List of client authentication. When using ModifySecurityPolicy to modify Web protection configuration: <li> If the Rules parameter in SecurityPolicy.BotManagement.ClientAttestationRules is not specified, or the Rules parameter length is zero: clear all client authentication rule configurations.</li> <li> If the ClientAttestationRules parameter value is not specified in the SecurityPolicy.BotManagement parameter: keep the existing client authentication rule configuration without modification.</li>
|
|
22222
22258
|
* @type {Array.<ClientAttestationRule> || null}
|
|
22223
22259
|
*/
|
|
22224
22260
|
this.Rules = null;
|
|
@@ -23430,7 +23466,7 @@ class DescribeOriginGroupRequest extends AbstractModel {
|
|
|
23430
23466
|
}
|
|
23431
23467
|
|
|
23432
23468
|
/**
|
|
23433
|
-
*
|
|
23469
|
+
* UA feature configuration for commercial or open-source tools (formerly UA feature rule).
|
|
23434
23470
|
* @class
|
|
23435
23471
|
*/
|
|
23436
23472
|
class KnownBotCategories extends AbstractModel {
|
|
@@ -23438,13 +23474,13 @@ class KnownBotCategories extends AbstractModel {
|
|
|
23438
23474
|
super();
|
|
23439
23475
|
|
|
23440
23476
|
/**
|
|
23441
|
-
* Handling method for access requests from known commercial
|
|
23477
|
+
* Handling method for access requests from known commercial or open-source tools. Supported values of SecurityAction Name: <li>Deny: Block;</li><li>Monitor: Observe;</li><li>Disabled: Not enabled, disable the specified rule;</li><li>Challenge: Challenge. Among them, ChallengeOption in ChallengeActionParameters supports JSChallenge and ManagedChallenge;</li><li>Allow: Release (to be deprecated).</li>
|
|
23442
23478
|
* @type {SecurityAction || null}
|
|
23443
23479
|
*/
|
|
23444
23480
|
this.BaseAction = null;
|
|
23445
23481
|
|
|
23446
23482
|
/**
|
|
23447
|
-
*
|
|
23483
|
+
* Specify the handling method for access requests from known commercial or open-source tools.
|
|
23448
23484
|
* @type {Array.<BotManagementActionOverrides> || null}
|
|
23449
23485
|
*/
|
|
23450
23486
|
this.BotManagementActionOverrides = null;
|
|
@@ -24031,7 +24067,7 @@ class DescribeWebSecurityTemplateRequest extends AbstractModel {
|
|
|
24031
24067
|
}
|
|
24032
24068
|
|
|
24033
24069
|
/**
|
|
24034
|
-
* Client authentication
|
|
24070
|
+
* Client authentication rules
|
|
24035
24071
|
* @class
|
|
24036
24072
|
*/
|
|
24037
24073
|
class ClientAttestationRule extends AbstractModel {
|
|
@@ -24039,52 +24075,58 @@ class ClientAttestationRule extends AbstractModel {
|
|
|
24039
24075
|
super();
|
|
24040
24076
|
|
|
24041
24077
|
/**
|
|
24042
|
-
*
|
|
24078
|
+
* <p>ID of the client authentication rule.<br>Different rule configuration operations are supported by rule ID:<br> <li> <b>Add</b> a new rule: leave ID empty or do not specify the ID parameter;</li><li> <b>Modify</b> an existing rule: specify the rule ID to be updated/modified;</li><li> <b>Delete</b> an existing rule: existing rules not included in the ClientAttestationRule list in the BotManagement parameter will be deleted.</li></p>
|
|
24043
24079
|
* @type {string || null}
|
|
24044
24080
|
*/
|
|
24045
24081
|
this.Id = null;
|
|
24046
24082
|
|
|
24047
24083
|
/**
|
|
24048
|
-
*
|
|
24084
|
+
* <p>Name of the client authentication rule.</p>
|
|
24049
24085
|
* @type {string || null}
|
|
24050
24086
|
*/
|
|
24051
24087
|
this.Name = null;
|
|
24052
24088
|
|
|
24053
24089
|
/**
|
|
24054
|
-
* Whether the rule is enabled.
|
|
24090
|
+
* <p>Whether the rule is enabled. Valid values: <li>on: enabled;</li><li>off: disabled.</li></p>
|
|
24055
24091
|
* @type {string || null}
|
|
24056
24092
|
*/
|
|
24057
24093
|
this.Enabled = null;
|
|
24058
24094
|
|
|
24059
24095
|
/**
|
|
24060
|
-
* Priority of rules.
|
|
24096
|
+
* <p>Priority of rules. A smaller value indicates higher priority. Value range: 0-100. Default value: 0.</p>
|
|
24061
24097
|
* @type {number || null}
|
|
24062
24098
|
*/
|
|
24063
24099
|
this.Priority = null;
|
|
24064
24100
|
|
|
24065
24101
|
/**
|
|
24066
|
-
* The
|
|
24102
|
+
* <p>The specific content of the rule must comply with the expression syntax. For detailed specifications, see the product document.</p>
|
|
24067
24103
|
* @type {string || null}
|
|
24068
24104
|
*/
|
|
24069
24105
|
this.Condition = null;
|
|
24070
24106
|
|
|
24071
24107
|
/**
|
|
24072
|
-
*
|
|
24108
|
+
* <p>Client authentication option ID.</p>
|
|
24073
24109
|
* @type {string || null}
|
|
24074
24110
|
*/
|
|
24075
24111
|
this.AttesterId = null;
|
|
24076
24112
|
|
|
24077
24113
|
/**
|
|
24078
|
-
*
|
|
24114
|
+
* <p>Handling method when client authentication fails. SecurityAction.Name values are as follows:</p><ul><li>Allow: allow, where AllowActionParameters supports MinDelayTime and MaxDelayTime configuration;</li><li>Deny: block, where DenyActionParameters supports BlockIp, ReturnCustomPage, and Stall configuration;</li><li>Monitor: observe;</li><li>Challenge: challenge, where ChallengeActionParameters.ChallengeOption supports JSChallenge, ManagedChallenge, InterstitialChallenge, and InlineChallenge;</li><li>Redirect: redirect to a URL.</li></ul>
|
|
24115
|
+
* @type {SecurityAction || null}
|
|
24116
|
+
*/
|
|
24117
|
+
this.InvalidAttestationAction = null;
|
|
24118
|
+
|
|
24119
|
+
/**
|
|
24120
|
+
* <p>Client device configuration. If the DeviceProfiles parameter value is not specified in the ClientAttestationRules parameter: keep the existing client device configuration without modification.</p>
|
|
24079
24121
|
* @type {Array.<DeviceProfile> || null}
|
|
24080
24122
|
*/
|
|
24081
24123
|
this.DeviceProfiles = null;
|
|
24082
24124
|
|
|
24083
24125
|
/**
|
|
24084
|
-
*
|
|
24085
|
-
* @type {
|
|
24126
|
+
* <p>Account protection configuration.</p>
|
|
24127
|
+
* @type {AccountProtectionSettings || null}
|
|
24086
24128
|
*/
|
|
24087
|
-
this.
|
|
24129
|
+
this.AccountProtectionSettings = null;
|
|
24088
24130
|
|
|
24089
24131
|
}
|
|
24090
24132
|
|
|
@@ -24102,6 +24144,12 @@ class ClientAttestationRule extends AbstractModel {
|
|
|
24102
24144
|
this.Condition = 'Condition' in params ? params.Condition : null;
|
|
24103
24145
|
this.AttesterId = 'AttesterId' in params ? params.AttesterId : null;
|
|
24104
24146
|
|
|
24147
|
+
if (params.InvalidAttestationAction) {
|
|
24148
|
+
let obj = new SecurityAction();
|
|
24149
|
+
obj.deserialize(params.InvalidAttestationAction)
|
|
24150
|
+
this.InvalidAttestationAction = obj;
|
|
24151
|
+
}
|
|
24152
|
+
|
|
24105
24153
|
if (params.DeviceProfiles) {
|
|
24106
24154
|
this.DeviceProfiles = new Array();
|
|
24107
24155
|
for (let z in params.DeviceProfiles) {
|
|
@@ -24111,10 +24159,10 @@ class ClientAttestationRule extends AbstractModel {
|
|
|
24111
24159
|
}
|
|
24112
24160
|
}
|
|
24113
24161
|
|
|
24114
|
-
if (params.
|
|
24115
|
-
let obj = new
|
|
24116
|
-
obj.deserialize(params.
|
|
24117
|
-
this.
|
|
24162
|
+
if (params.AccountProtectionSettings) {
|
|
24163
|
+
let obj = new AccountProtectionSettings();
|
|
24164
|
+
obj.deserialize(params.AccountProtectionSettings)
|
|
24165
|
+
this.AccountProtectionSettings = obj;
|
|
24118
24166
|
}
|
|
24119
24167
|
|
|
24120
24168
|
}
|
|
@@ -24193,6 +24241,60 @@ class CustomEndpoint extends AbstractModel {
|
|
|
24193
24241
|
}
|
|
24194
24242
|
}
|
|
24195
24243
|
|
|
24244
|
+
/**
|
|
24245
|
+
* Account protection configuration.
|
|
24246
|
+
* @class
|
|
24247
|
+
*/
|
|
24248
|
+
class AccountProtectionSettings extends AbstractModel {
|
|
24249
|
+
constructor(){
|
|
24250
|
+
super();
|
|
24251
|
+
|
|
24252
|
+
/**
|
|
24253
|
+
* <p>Account protection feature switch.</p><p>Enumeration values: </p><ul><li>on: Enable;</li><li>off: Disable.</li></ul><p>Default value: off.</p>
|
|
24254
|
+
* @type {string || null}
|
|
24255
|
+
*/
|
|
24256
|
+
this.Enabled = null;
|
|
24257
|
+
|
|
24258
|
+
/**
|
|
24259
|
+
* <p>Request target. Used to identify the business operation scenario the request belongs to.</p> <p>Enumeration values:</p> <ul> <li>ACCOUNT.CHANGE_PASSWORD: request to change the password when the original password is known;</li> <li>ACCOUNT.CHANGE_SECURITY_QUESTION: request to modify the account security question;</li> <li>ACCOUNT.CHECK_EXISTENCE: request to verify whether the account exists, commonly used for pre-verification after entering an email or phone number on the login or registration page;</li> <li>ACCOUNT.LOGIN: request to log in to an account;</li> <li>ACCOUNT.REGISTER: request to sign up for a new account;</li> <li>ACCOUNT.RESET_PASSWORD: request to reset the password, usually by verifying identity through email or SMS and then setting a new password;</li> <li>ACCOUNT.UPDATE: request to modify account association information, such as phone number, email, payment card number, shipping address, etc.;</li> <li>ASSET.CHECK_GIFTCARD_BALANCE: request to query the gift card balance by card number and other information;</li> <li>ASSET.CHECK_LOYALTY_POINTS: request to query the account point balance;</li> <li>ASSET.REDEEM_CODE: request to exchange rights and interests using a redemption code;</li> <li>BROWSE.QUERY: request for in-site search of products or services;</li> <li>PAYMENT.ADD_TO_CART: request to add merchandise to the shopping cart;</li> <li>PAYMENT.GET_METHODS: request to obtain the list of payment methods bound to the account;</li> <li>PAYMENT.MAKE_PAYMENT: request to submit a payment, settlement, or fund transfer.</li> </ul>
|
|
24260
|
+
* @type {string || null}
|
|
24261
|
+
*/
|
|
24262
|
+
this.RequestPurpose = null;
|
|
24263
|
+
|
|
24264
|
+
/**
|
|
24265
|
+
* <p>The location of the user identity in the request source, where key is replaced with the actual parameter name.</p><p>Valid values:</p><ul><li>http.request.cookies["key"]: Obtain the Cookie value named key from the Cookie;</li><li>http.request.headers["key"]: Obtain the header value named key from the request header;</li><li>http.request.uri.args["key"]: Obtain the parameter value named key from the URL query parameter.</li></ul>
|
|
24266
|
+
* @type {string || null}
|
|
24267
|
+
*/
|
|
24268
|
+
this.UserIDSource = null;
|
|
24269
|
+
|
|
24270
|
+
/**
|
|
24271
|
+
* <p>User Risk Level configuration.</p>
|
|
24272
|
+
* @type {UserRiskProfile || null}
|
|
24273
|
+
*/
|
|
24274
|
+
this.UserRiskProfile = null;
|
|
24275
|
+
|
|
24276
|
+
}
|
|
24277
|
+
|
|
24278
|
+
/**
|
|
24279
|
+
* @private
|
|
24280
|
+
*/
|
|
24281
|
+
deserialize(params) {
|
|
24282
|
+
if (!params) {
|
|
24283
|
+
return;
|
|
24284
|
+
}
|
|
24285
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
24286
|
+
this.RequestPurpose = 'RequestPurpose' in params ? params.RequestPurpose : null;
|
|
24287
|
+
this.UserIDSource = 'UserIDSource' in params ? params.UserIDSource : null;
|
|
24288
|
+
|
|
24289
|
+
if (params.UserRiskProfile) {
|
|
24290
|
+
let obj = new UserRiskProfile();
|
|
24291
|
+
obj.deserialize(params.UserRiskProfile)
|
|
24292
|
+
this.UserRiskProfile = obj;
|
|
24293
|
+
}
|
|
24294
|
+
|
|
24295
|
+
}
|
|
24296
|
+
}
|
|
24297
|
+
|
|
24196
24298
|
/**
|
|
24197
24299
|
* ModifyOriginACL response structure.
|
|
24198
24300
|
* @class
|
|
@@ -24390,7 +24492,7 @@ class ModifyMultiPathGatewayResponse extends AbstractModel {
|
|
|
24390
24492
|
}
|
|
24391
24493
|
|
|
24392
24494
|
/**
|
|
24393
|
-
*
|
|
24495
|
+
* BOT rule structure for Web security.
|
|
24394
24496
|
* @class
|
|
24395
24497
|
*/
|
|
24396
24498
|
class BotManagement extends AbstractModel {
|
|
@@ -24398,31 +24500,31 @@ class BotManagement extends AbstractModel {
|
|
|
24398
24500
|
super();
|
|
24399
24501
|
|
|
24400
24502
|
/**
|
|
24401
|
-
* Whether Bot management is enabled.
|
|
24503
|
+
* Whether Bot management is enabled. Valid values: <li>on: enabled;</li><li>off: disabled.</li>
|
|
24402
24504
|
* @type {string || null}
|
|
24403
24505
|
*/
|
|
24404
24506
|
this.Enabled = null;
|
|
24405
24507
|
|
|
24406
24508
|
/**
|
|
24407
|
-
* Bot management
|
|
24509
|
+
* Custom rule for Bot management combines various types of crawlers and request behavior characteristics to precisely define bots and configure customized handling methods.
|
|
24408
24510
|
* @type {BotManagementCustomRules || null}
|
|
24409
24511
|
*/
|
|
24410
24512
|
this.CustomRules = null;
|
|
24411
24513
|
|
|
24412
24514
|
/**
|
|
24413
|
-
* Bot management
|
|
24515
|
+
* Basic configuration of Bot management, which takes effect on all domains associated with the policy. It can be customized through CustomRules.
|
|
24414
24516
|
* @type {BasicBotSettings || null}
|
|
24415
24517
|
*/
|
|
24416
24518
|
this.BasicBotSettings = null;
|
|
24417
24519
|
|
|
24418
24520
|
/**
|
|
24419
|
-
* Definition list of client authentication rules.
|
|
24521
|
+
* Definition list of client authentication rules. This feature is in beta test. If needed, submit a ticket.
|
|
24420
24522
|
* @type {ClientAttestationRules || null}
|
|
24421
24523
|
*/
|
|
24422
24524
|
this.ClientAttestationRules = null;
|
|
24423
24525
|
|
|
24424
24526
|
/**
|
|
24425
|
-
*
|
|
24527
|
+
* Configure browser spoofing identification rules (formerly active feature detection rules). Set the response page range for JavaScript injection, browser check options, and handling method for non-browser clients.
|
|
24426
24528
|
* @type {BrowserImpersonationDetection || null}
|
|
24427
24529
|
*/
|
|
24428
24530
|
this.BrowserImpersonationDetection = null;
|
|
@@ -25631,7 +25733,7 @@ class DeleteSecurityJSInjectionRuleResponse extends AbstractModel {
|
|
|
25631
25733
|
}
|
|
25632
25734
|
|
|
25633
25735
|
/**
|
|
25634
|
-
* Additional parameter for
|
|
25736
|
+
* Additional parameter of the custom page for Web security
|
|
25635
25737
|
* @class
|
|
25636
25738
|
*/
|
|
25637
25739
|
class ReturnCustomPageActionParameters extends AbstractModel {
|
|
@@ -25639,13 +25741,13 @@ class ReturnCustomPageActionParameters extends AbstractModel {
|
|
|
25639
25741
|
super();
|
|
25640
25742
|
|
|
25641
25743
|
/**
|
|
25642
|
-
*
|
|
25744
|
+
* status code.
|
|
25643
25745
|
* @type {string || null}
|
|
25644
25746
|
*/
|
|
25645
25747
|
this.ResponseCode = null;
|
|
25646
25748
|
|
|
25647
25749
|
/**
|
|
25648
|
-
*
|
|
25750
|
+
* ID of the custom page in the response.
|
|
25649
25751
|
* @type {string || null}
|
|
25650
25752
|
*/
|
|
25651
25753
|
this.ErrorPageId = null;
|
|
@@ -26161,7 +26263,7 @@ class WafRule extends AbstractModel {
|
|
|
26161
26263
|
}
|
|
26162
26264
|
|
|
26163
26265
|
/**
|
|
26164
|
-
*
|
|
26266
|
+
* Configuration of browser spoofing identification rules (formerly active feature detection rules).
|
|
26165
26267
|
* @class
|
|
26166
26268
|
*/
|
|
26167
26269
|
class BrowserImpersonationDetection extends AbstractModel {
|
|
@@ -26169,7 +26271,7 @@ class BrowserImpersonationDetection extends AbstractModel {
|
|
|
26169
26271
|
super();
|
|
26170
26272
|
|
|
26171
26273
|
/**
|
|
26172
|
-
* List of browser spoofing identification
|
|
26274
|
+
* List of browser spoofing identification rules. When using ModifySecurityPolicy to modify Web protection configuration: <br> <li> If the Rules parameter in SecurityPolicy.BotManagement.BrowserImpersonationDetection is not specified, or the parameter length is zero: clear all browser spoofing identification rule configurations.</li> <li> If the BrowserImpersonationDetection parameter value is not specified in the SecurityPolicy.BotManagement parameter: keep the existing browser spoofing identification rule configuration without modification.</li>
|
|
26173
26275
|
* @type {Array.<BrowserImpersonationDetectionRule> || null}
|
|
26174
26276
|
*/
|
|
26175
26277
|
this.Rules = null;
|
|
@@ -26620,7 +26722,7 @@ Note: When using MutualTLS as an input parameter in ModifyHostsCertificate, you
|
|
|
26620
26722
|
}
|
|
26621
26723
|
|
|
26622
26724
|
/**
|
|
26623
|
-
* Client behavior validation
|
|
26725
|
+
* Client behavior validation
|
|
26624
26726
|
* @class
|
|
26625
26727
|
*/
|
|
26626
26728
|
class ClientBehaviorDetection extends AbstractModel {
|
|
@@ -26628,43 +26730,43 @@ class ClientBehaviorDetection extends AbstractModel {
|
|
|
26628
26730
|
super();
|
|
26629
26731
|
|
|
26630
26732
|
/**
|
|
26631
|
-
*
|
|
26733
|
+
* Proof-of-work strength. Valid values: <li>low: Low;</li><li>medium: Medium;</li><li>high: High.</li>
|
|
26632
26734
|
* @type {string || null}
|
|
26633
26735
|
*/
|
|
26634
26736
|
this.CryptoChallengeIntensity = null;
|
|
26635
26737
|
|
|
26636
26738
|
/**
|
|
26637
|
-
*
|
|
26739
|
+
* Execution mode of client behavior validation. Valid values: <li>0ms: immediately execute;</li><li>100ms: execute after a 100ms delay;</li><li>200ms: execute after a 200ms delay;</li><li>300ms: execute after a 300ms delay;</li><li>400ms: execute after a 400ms delay;</li><li>500ms: execute after a 500ms delay;</li><li>600ms: execute after a 600ms delay;</li><li>700ms: execute after a 700ms delay;</li><li>800ms: execute after an 800ms delay;</li><li>900ms: execute after a 900ms delay;</li><li>1000ms: execute after a 1000ms delay.</li>
|
|
26638
26740
|
* @type {string || null}
|
|
26639
26741
|
*/
|
|
26640
26742
|
this.CryptoChallengeDelayBefore = null;
|
|
26641
26743
|
|
|
26642
26744
|
/**
|
|
26643
|
-
* Time window for trigger threshold statistics.
|
|
26745
|
+
* Time window for trigger threshold statistics. Valid values: <li>5s: within 5 seconds;</li><li>10s: within 10 seconds;</li><li>15s: within 15 seconds;</li><li>30s: within 30 seconds;</li><li>60s: within 60 seconds;</li><li>5m: within 5 minutes;</li><li>10m: within 10 minutes;</li><li>30m: within 30 minutes;</li><li>60m: within 60 minutes.</li>
|
|
26644
26746
|
* @type {string || null}
|
|
26645
26747
|
*/
|
|
26646
26748
|
this.MaxChallengeCountInterval = null;
|
|
26647
26749
|
|
|
26648
26750
|
/**
|
|
26649
|
-
*
|
|
26751
|
+
* Cumulative count of trigger threshold statistics. Value range: 1-100000000.
|
|
26650
26752
|
* @type {number || null}
|
|
26651
26753
|
*/
|
|
26652
26754
|
this.MaxChallengeCountThreshold = null;
|
|
26653
26755
|
|
|
26654
26756
|
/**
|
|
26655
|
-
* Execution action when client-side
|
|
26757
|
+
* Execution action when client-side JavaScript is not enabled (test not completed). Supported values for SecurityAction Name: <li>Deny: block. DenyActionParameters supports Stall configuration;</li><li>Monitor: observe;</li><li>Allow: respond after waiting. AllowActionParameters requires MinDelayTime and MaxDelayTime configuration.</li>
|
|
26656
26758
|
* @type {SecurityAction || null}
|
|
26657
26759
|
*/
|
|
26658
26760
|
this.ChallengeNotFinishedAction = null;
|
|
26659
26761
|
|
|
26660
26762
|
/**
|
|
26661
|
-
*
|
|
26763
|
+
* Execution action for client-side detection timeout. Supported values of SecurityAction Name: <li>Deny: block, where DenyActionParameters supports Stall configuration;</li><li>Monitor: observe;</li><li>Allow: respond after waiting, where AllowActionParameters requires MinDelayTime and MaxDelayTime configuration.</li>
|
|
26662
26764
|
* @type {SecurityAction || null}
|
|
26663
26765
|
*/
|
|
26664
26766
|
this.ChallengeTimeoutAction = null;
|
|
26665
26767
|
|
|
26666
26768
|
/**
|
|
26667
|
-
*
|
|
26769
|
+
* Execution action of the Bot client. Supported values of Name in SecurityAction: <li>Deny: block, where Stall configuration is supported in DenyActionParameters;</li><li>Monitor: observe;</li><li>Allow: respond after waiting, where MinDelayTime and MaxDelayTime configuration is required in AllowActionParameters.</li>
|
|
26668
26770
|
* @type {SecurityAction || null}
|
|
26669
26771
|
*/
|
|
26670
26772
|
this.BotClientAction = null;
|
|
@@ -27485,7 +27587,7 @@ class DeleteApplicationProxyRuleRequest extends AbstractModel {
|
|
|
27485
27587
|
}
|
|
27486
27588
|
|
|
27487
27589
|
/**
|
|
27488
|
-
*
|
|
27590
|
+
* Item configuration of a managed rule
|
|
27489
27591
|
* @class
|
|
27490
27592
|
*/
|
|
27491
27593
|
class ManagedRuleAction extends AbstractModel {
|
|
@@ -27493,13 +27595,13 @@ class ManagedRuleAction extends AbstractModel {
|
|
|
27493
27595
|
super();
|
|
27494
27596
|
|
|
27495
27597
|
/**
|
|
27496
|
-
* Specific
|
|
27598
|
+
* Specific item under the managed rule group, used for rewriting the configuration content of this individual rule. For details, refer to the product documentation.
|
|
27497
27599
|
* @type {string || null}
|
|
27498
27600
|
*/
|
|
27499
27601
|
this.RuleId = null;
|
|
27500
27602
|
|
|
27501
27603
|
/**
|
|
27502
|
-
*
|
|
27604
|
+
* Specifies the handling action for the managed rule item in RuleId. Supported values for SecurityAction Name: <li>Deny: Block. Responds with an interception page.</li><li>Monitor: Observe. Does not process the request but records security events in logs.</li><li>Disabled: Not enabled. Skips the rule without scanning requests.</li>
|
|
27503
27605
|
* @type {SecurityAction || null}
|
|
27504
27606
|
*/
|
|
27505
27607
|
this.Action = null;
|
|
@@ -27907,7 +28009,7 @@ class SetParameters extends AbstractModel {
|
|
|
27907
28009
|
}
|
|
27908
28010
|
|
|
27909
28011
|
/**
|
|
27910
|
-
* Configuration of Bot custom rule.
|
|
28012
|
+
* Configuration of the Bot custom rule.
|
|
27911
28013
|
* @class
|
|
27912
28014
|
*/
|
|
27913
28015
|
class BotManagementCustomRules extends AbstractModel {
|
|
@@ -27915,7 +28017,7 @@ class BotManagementCustomRules extends AbstractModel {
|
|
|
27915
28017
|
super();
|
|
27916
28018
|
|
|
27917
28019
|
/**
|
|
27918
|
-
* List of Bot custom Rules.
|
|
28020
|
+
* List of Bot custom Rules. When using ModifySecurityPolicy to modify the Web protection configuration: <br> <li> If the Rules parameter in SecurityPolicy.BotManagement.CustomRules is not specified, or the Rules parameter length is zero: clear all Bot custom rule configurations.</li> <li> If the CustomRules parameter value is not specified in the SecurityPolicy.BotManagement parameters: keep the existing Bot custom rule configuration without modification.</li>
|
|
27919
28021
|
* @type {Array.<BotManagementCustomRule> || null}
|
|
27920
28022
|
*/
|
|
27921
28023
|
this.Rules = null;
|
|
@@ -28457,31 +28559,31 @@ class ManagedRuleGroup extends AbstractModel {
|
|
|
28457
28559
|
super();
|
|
28458
28560
|
|
|
28459
28561
|
/**
|
|
28460
|
-
*
|
|
28562
|
+
* Group name of the managed rule. If no rule group is specified, the default configuration is used. For the specific value of GroupId, refer to the product documentation.
|
|
28461
28563
|
* @type {string || null}
|
|
28462
28564
|
*/
|
|
28463
28565
|
this.GroupId = null;
|
|
28464
28566
|
|
|
28465
28567
|
/**
|
|
28466
|
-
* Protection level of the managed rule group.
|
|
28568
|
+
* Protection level of the managed rule group. Valid values: <li>loose: Loose. It only contains ultra-high risk rules. At this point, Action is required and RuleActions is invalid.</li><li>normal: Normal. It contains ultra-high risk and high-risk rules. At this point, Action is required and RuleActions is invalid.</li><li>strict: Strict. It contains ultra-high risk, high-risk, and medium-risk rules. At this point, Action is required and RuleActions is invalid.</li><li>extreme: Ultra-strict. It contains ultra-high risk, high-risk, medium-risk, and low-risk rules. At this point, Action is required and RuleActions is invalid.</li><li>custom: Custom. Refined strategy. Configure the disposal method for each individual rule. At this point, the Action field is invalid. Use RuleActions to configure the refined strategy for individual rules.</li>
|
|
28467
28569
|
* @type {string || null}
|
|
28468
28570
|
*/
|
|
28469
28571
|
this.SensitivityLevel = null;
|
|
28470
28572
|
|
|
28471
28573
|
/**
|
|
28472
|
-
*
|
|
28574
|
+
* Handling action of the managed rule group. Supported values for SecurityAction Name: <li>Deny: Block. Respond with an interception page;</li><li>Monitor: Observe. Do not process requests, log security events in logs;</li><li>Disabled: Not activated. Do not scan requests, skip this rule.</li>
|
|
28473
28575
|
* @type {SecurityAction || null}
|
|
28474
28576
|
*/
|
|
28475
28577
|
this.Action = null;
|
|
28476
28578
|
|
|
28477
28579
|
/**
|
|
28478
|
-
* Specific configuration of rule items
|
|
28580
|
+
* Specific configuration of rule items in the managed rule group. This configuration is effective only when SensitivityLevel is custom.
|
|
28479
28581
|
* @type {Array.<ManagedRuleAction> || null}
|
|
28480
28582
|
*/
|
|
28481
28583
|
this.RuleActions = null;
|
|
28482
28584
|
|
|
28483
28585
|
/**
|
|
28484
|
-
*
|
|
28586
|
+
* Managed rule group information. This is an output-only parameter.
|
|
28485
28587
|
* @type {ManagedRuleGroupMeta || null}
|
|
28486
28588
|
*/
|
|
28487
28589
|
this.MetaData = null;
|
|
@@ -28523,7 +28625,7 @@ class ManagedRuleGroup extends AbstractModel {
|
|
|
28523
28625
|
}
|
|
28524
28626
|
|
|
28525
28627
|
/**
|
|
28526
|
-
*
|
|
28628
|
+
* Cookie verification and session tracking behavior configuration.
|
|
28527
28629
|
* @class
|
|
28528
28630
|
*/
|
|
28529
28631
|
class BotSessionValidation extends AbstractModel {
|
|
@@ -28531,31 +28633,31 @@ class BotSessionValidation extends AbstractModel {
|
|
|
28531
28633
|
super();
|
|
28532
28634
|
|
|
28533
28635
|
/**
|
|
28534
|
-
* Whether to update Cookie and
|
|
28636
|
+
* Whether to update the Cookie and verify. Valid values: <li>on: update the Cookie and verify;</li><li>off: verify only.</li>
|
|
28535
28637
|
* @type {string || null}
|
|
28536
28638
|
*/
|
|
28537
28639
|
this.IssueNewBotSessionCookie = null;
|
|
28538
28640
|
|
|
28539
28641
|
/**
|
|
28540
|
-
*
|
|
28642
|
+
* Update threshold for cookie update and validation. Valid only when IssueNewBotSessionCookie is on.
|
|
28541
28643
|
* @type {MaxNewSessionTriggerConfig || null}
|
|
28542
28644
|
*/
|
|
28543
28645
|
this.MaxNewSessionTriggerConfig = null;
|
|
28544
28646
|
|
|
28545
28647
|
/**
|
|
28546
|
-
* Execution action
|
|
28648
|
+
* Execution action without a Cookie or with an expired Cookie. Supported Name values for SecurityAction: <li>Deny: block. DenyActionParameters supports Stall configuration.</li><li>Monitor: observe.</li><li>Allow: respond after waiting. AllowActionParameters requires MinDelayTime and MaxDelayTime configuration.</li>
|
|
28547
28649
|
* @type {SecurityAction || null}
|
|
28548
28650
|
*/
|
|
28549
28651
|
this.SessionExpiredAction = null;
|
|
28550
28652
|
|
|
28551
28653
|
/**
|
|
28552
|
-
* Execution action for invalid Cookie.
|
|
28654
|
+
* Execution action for invalid Cookie. The Name parameter of SecurityAction supports the following values: <li>Deny: block. DenyActionParameters supports the Stall configuration.</li><li>Monitor: observe.</li><li>Allow: respond after waiting. AllowActionParameters requires the MinDelayTime and MaxDelayTime configurations.</li>
|
|
28553
28655
|
* @type {SecurityAction || null}
|
|
28554
28656
|
*/
|
|
28555
28657
|
this.SessionInvalidAction = null;
|
|
28556
28658
|
|
|
28557
28659
|
/**
|
|
28558
|
-
*
|
|
28660
|
+
* Specific configuration for session rate and periodic feature verification.
|
|
28559
28661
|
* @type {SessionRateControl || null}
|
|
28560
28662
|
*/
|
|
28561
28663
|
this.SessionRateControl = null;
|
|
@@ -28599,7 +28701,7 @@ class BotSessionValidation extends AbstractModel {
|
|
|
28599
28701
|
}
|
|
28600
28702
|
|
|
28601
28703
|
/**
|
|
28602
|
-
*
|
|
28704
|
+
* Security policy configuration.
|
|
28603
28705
|
* @class
|
|
28604
28706
|
*/
|
|
28605
28707
|
class SecurityPolicy extends AbstractModel {
|
|
@@ -28607,55 +28709,59 @@ class SecurityPolicy extends AbstractModel {
|
|
|
28607
28709
|
super();
|
|
28608
28710
|
|
|
28609
28711
|
/**
|
|
28610
|
-
* Custom
|
|
28611
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
28712
|
+
* <p>Custom rule configuration.</p>
|
|
28612
28713
|
* @type {CustomRules || null}
|
|
28613
28714
|
*/
|
|
28614
28715
|
this.CustomRules = null;
|
|
28615
28716
|
|
|
28616
28717
|
/**
|
|
28617
|
-
* Managed
|
|
28618
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
28718
|
+
* <p>Managed rule configuration.</p>
|
|
28619
28719
|
* @type {ManagedRules || null}
|
|
28620
28720
|
*/
|
|
28621
28721
|
this.ManagedRules = null;
|
|
28622
28722
|
|
|
28623
28723
|
/**
|
|
28624
|
-
* HTTP
|
|
28724
|
+
* <p>HTTP DDoS protection configuration.</p>
|
|
28625
28725
|
* @type {HttpDDoSProtection || null}
|
|
28626
28726
|
*/
|
|
28627
28727
|
this.HttpDDoSProtection = null;
|
|
28628
28728
|
|
|
28629
28729
|
/**
|
|
28630
|
-
*
|
|
28730
|
+
* <p>Rate limiting rule configuration.</p>
|
|
28631
28731
|
* @type {RateLimitingRules || null}
|
|
28632
28732
|
*/
|
|
28633
28733
|
this.RateLimitingRules = null;
|
|
28634
28734
|
|
|
28635
28735
|
/**
|
|
28636
|
-
* Exception rule configuration
|
|
28736
|
+
* <p>Exception rule configuration.</p>
|
|
28637
28737
|
* @type {ExceptionRules || null}
|
|
28638
28738
|
*/
|
|
28639
28739
|
this.ExceptionRules = null;
|
|
28640
28740
|
|
|
28641
28741
|
/**
|
|
28642
|
-
* Bot management configuration
|
|
28742
|
+
* <p>Bot management configuration.</p>
|
|
28643
28743
|
* @type {BotManagement || null}
|
|
28644
28744
|
*/
|
|
28645
28745
|
this.BotManagement = null;
|
|
28646
28746
|
|
|
28647
28747
|
/**
|
|
28648
|
-
* Basic Bot management configuration
|
|
28748
|
+
* <p>Basic Bot management configuration.</p>
|
|
28649
28749
|
* @type {BotManagementLite || null}
|
|
28650
28750
|
*/
|
|
28651
28751
|
this.BotManagementLite = null;
|
|
28652
28752
|
|
|
28653
28753
|
/**
|
|
28654
|
-
* Default
|
|
28754
|
+
* <p>Default block action configuration.</p>
|
|
28655
28755
|
* @type {DefaultDenySecurityActionParameters || null}
|
|
28656
28756
|
*/
|
|
28657
28757
|
this.DefaultDenySecurityActionParameters = null;
|
|
28658
28758
|
|
|
28759
|
+
/**
|
|
28760
|
+
* <p>Security headers to include in requests to the origin. After the configuration takes effect, request headers with the corresponding `keyname` will be sent to the origin.</p>
|
|
28761
|
+
* @type {SecurityHeadersToOrigin || null}
|
|
28762
|
+
*/
|
|
28763
|
+
this.SecurityHeadersToOrigin = null;
|
|
28764
|
+
|
|
28659
28765
|
}
|
|
28660
28766
|
|
|
28661
28767
|
/**
|
|
@@ -28714,6 +28820,12 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
28714
28820
|
this.DefaultDenySecurityActionParameters = obj;
|
|
28715
28821
|
}
|
|
28716
28822
|
|
|
28823
|
+
if (params.SecurityHeadersToOrigin) {
|
|
28824
|
+
let obj = new SecurityHeadersToOrigin();
|
|
28825
|
+
obj.deserialize(params.SecurityHeadersToOrigin)
|
|
28826
|
+
this.SecurityHeadersToOrigin = obj;
|
|
28827
|
+
}
|
|
28828
|
+
|
|
28717
28829
|
}
|
|
28718
28830
|
}
|
|
28719
28831
|
|
|
@@ -29582,12 +29694,12 @@ class DescribeIPGroupReferencesRequest extends AbstractModel {
|
|
|
29582
29694
|
}
|
|
29583
29695
|
|
|
29584
29696
|
/**
|
|
29585
|
-
* Additional parameter when the
|
|
29697
|
+
* Additional parameter when the executed action is allow.
|
|
29586
29698
|
|
|
29587
|
-
This parameter is used to specify the extra handling action taken by the system when a security rule is hit and
|
|
29699
|
+
This parameter is used to specify the extra handling action taken by the system when a security rule is hit and the Allow action is executed.
|
|
29588
29700
|
Different handling actions are configured with different fixed parameter combinations. The system will determine the actually effective handling action type according to the configured parameter combination.
|
|
29589
|
-
During the same release execution, only one handling action can be configured and made effective.
|
|
29590
|
-
AllowActionParameters supports the following additional handling actions: <li>Default: When AllowActionParameters is empty, skip the remaining rules of the current security module
|
|
29701
|
+
During the same release execution, only one handling action can be configured and made effective. Parameters for multiple handling actions cannot appear at the same time. Otherwise, it is deemed as an invalid configuration. If empty, the default release action is used.
|
|
29702
|
+
AllowActionParameters supports the following additional handling actions: <li>Default: When AllowActionParameters is empty, immediately skip the remaining rules of the current security module and continue matching subsequent security modules.</li><li>Delayed release: Add response delay to the request and continue matching the remaining rules of the current module. Corresponding parameters: MinDelayTime, MaxDelayTime.</li>
|
|
29591
29703
|
* @class
|
|
29592
29704
|
*/
|
|
29593
29705
|
class AllowActionParameters extends AbstractModel {
|
|
@@ -29595,13 +29707,13 @@ class AllowActionParameters extends AbstractModel {
|
|
|
29595
29707
|
super();
|
|
29596
29708
|
|
|
29597
29709
|
/**
|
|
29598
|
-
* Minimum
|
|
29710
|
+
* Minimum delayed response time. When configured as 0s, it means no delay and direct response. Supported units: <li>s: second, value ranges from 0 to 5.</li>
|
|
29599
29711
|
* @type {string || null}
|
|
29600
29712
|
*/
|
|
29601
29713
|
this.MinDelayTime = null;
|
|
29602
29714
|
|
|
29603
29715
|
/**
|
|
29604
|
-
* Maximum delayed response time.
|
|
29716
|
+
* Maximum delayed response time. Supported units: <li>s: seconds, value range: 5–10.</li>
|
|
29605
29717
|
* @type {string || null}
|
|
29606
29718
|
*/
|
|
29607
29719
|
this.MaxDelayTime = null;
|
|
@@ -30351,7 +30463,7 @@ Note: This field may return null, which indicates a failure to obtain a valid va
|
|
|
30351
30463
|
}
|
|
30352
30464
|
|
|
30353
30465
|
/**
|
|
30354
|
-
*
|
|
30466
|
+
* Specific configuration of the rate limit.
|
|
30355
30467
|
* @class
|
|
30356
30468
|
*/
|
|
30357
30469
|
class RateLimitingRule extends AbstractModel {
|
|
@@ -30359,67 +30471,67 @@ class RateLimitingRule extends AbstractModel {
|
|
|
30359
30471
|
super();
|
|
30360
30472
|
|
|
30361
30473
|
/**
|
|
30362
|
-
*
|
|
30474
|
+
* <p>ID of the precise rate limiting rule.<br>Different rule configuration operations can be performed by rule ID:<br> <li> <b>Add</b> a new rule: leave ID empty or unspecified;</li><li><b>Modify</b> an existing rule: specify the rule ID that needs to be updated/modified;</li><li><b>Delete</b> an existing rule: existing rules not included in the Rules list in the RateLimitingRules parameter will be deleted.</li></p>
|
|
30363
30475
|
* @type {string || null}
|
|
30364
30476
|
*/
|
|
30365
30477
|
this.Id = null;
|
|
30366
30478
|
|
|
30367
30479
|
/**
|
|
30368
|
-
*
|
|
30480
|
+
* <p>Name of the precise rate limit.</p>
|
|
30369
30481
|
* @type {string || null}
|
|
30370
30482
|
*/
|
|
30371
30483
|
this.Name = null;
|
|
30372
30484
|
|
|
30373
30485
|
/**
|
|
30374
|
-
* The specific content of precise rate limiting must comply with expression
|
|
30486
|
+
* <p>The specific content of precise rate limiting must comply with expression syntax. For detailed specifications, see <a href="https://www.tencentcloud.com/document/product/1552/125343?from_cn_redirect=1">product document</a>.</p>
|
|
30375
30487
|
* @type {string || null}
|
|
30376
30488
|
*/
|
|
30377
30489
|
this.Condition = null;
|
|
30378
30490
|
|
|
30379
30491
|
/**
|
|
30380
|
-
*
|
|
30492
|
+
* <p>Bandwidth limit mode. Within the statistical time window CountingPeriod, for requests that meet the CountBy feature, the following bandwidth limit modes can be configured: <li>Block: Block the access source. When the count exceeds the MaxRequestThreshold, execute the Action on all subsequent requests that meet the feature within the ActionDuration;</li><li>Throttle: Only handle excess requests. When the count exceeds the MaxRequestThreshold, execute the Action only on requests that exceed the threshold, and stop when the window ends. At this point, the ActionDuration parameter will be ignored.</li><br>Default value: Block.</p>
|
|
30381
30493
|
* @type {string || null}
|
|
30382
30494
|
*/
|
|
30383
30495
|
this.Mode = null;
|
|
30384
30496
|
|
|
30385
30497
|
/**
|
|
30386
|
-
*
|
|
30498
|
+
* <p>Match mode of the rate threshold request feature. Required when Enabled is on.<br><br>When there are multiple conditions, they will be combined for statistics and calculation. A maximum of 5 conditions is allowed. Valid values:<br><li><b>http.request.ip</b>: client IP;</li><li><b>http.request.xff_header_ip</b>: client IP (priority match XFF header);</li><li><b>http.request.uri.path</b>: access path of the request;</li><li><b>http.request.cookies['session']</b>: Cookie named session, where session can be replaced with your own parameter;</li><li><b>http.request.headers['user-agent']</b>: HTTP header named user-agent, where user-agent can be replaced with your own parameter;</li><li><b>http.request.ja3</b>: JA3 fingerprint of the request;</li><li><b>http.request.ja4</b>: JA4 fingerprint of the request;</li><li><b>http.request.uri.query['test']</b>: URL query parameter named test, where test can be replaced with your own parameter.</li></p>
|
|
30387
30499
|
* @type {Array.<string> || null}
|
|
30388
30500
|
*/
|
|
30389
30501
|
this.CountBy = null;
|
|
30390
30502
|
|
|
30391
30503
|
/**
|
|
30392
|
-
*
|
|
30504
|
+
* <p>Cumulative number of interceptions by precise rate limiting within the time range, with a value range of 1 to 100000.</p>
|
|
30393
30505
|
* @type {number || null}
|
|
30394
30506
|
*/
|
|
30395
30507
|
this.MaxRequestThreshold = null;
|
|
30396
30508
|
|
|
30397
30509
|
/**
|
|
30398
|
-
*
|
|
30510
|
+
* <p>Time window for statistics. Valid values: <li>1s: 1 second;</li><li>5s: 5 seconds;</li><li>10s: 10 seconds;</li><li>20s: 20 seconds;</li><li>30s: 30 seconds;</li><li>40s: 40 seconds;</li><li>50s: 50 seconds;</li><li>1m: 1 minute;</li><li>2m: 2 minutes;</li><li>5m: 5 minutes;</li><li>10m: 10 minutes;</li><li>1h: 1 hour.</li></p>
|
|
30399
30511
|
* @type {string || null}
|
|
30400
30512
|
*/
|
|
30401
30513
|
this.CountingPeriod = null;
|
|
30402
30514
|
|
|
30403
30515
|
/**
|
|
30404
|
-
* Duration of the Action.
|
|
30516
|
+
* <p>Duration of the Action. Supported units: <li>s: seconds, value range: 1-120;</li><li>m: minutes, value range: 1-120;</li><li>h: hours, value range: 1-48;</li><li>d: days, value range: 1-30.</li><br>When Mode is Throttle, this parameter will be ignored and will not take effect.</p>
|
|
30405
30517
|
* @type {string || null}
|
|
30406
30518
|
*/
|
|
30407
30519
|
this.ActionDuration = null;
|
|
30408
30520
|
|
|
30409
30521
|
/**
|
|
30410
|
-
*
|
|
30522
|
+
* <p>Handling method for precise rate limiting. SecurityAction.Name value range is as follows:</p><ul><li>Allow: allow, where AllowActionParameters supports MinDelayTime and MaxDelayTime configuration;</li><li>Deny: block, where DenyActionParameters supports ReturnCustomPage and Stall configuration;</li><li>Monitor: observe;</li><li>Challenge: challenge, where ChallengeActionParameters.ChallengeOption supports JSChallenge and ManagedChallenge;</li><li>Redirect: redirect to a URL.</li></ul>
|
|
30411
30523
|
* @type {SecurityAction || null}
|
|
30412
30524
|
*/
|
|
30413
30525
|
this.Action = null;
|
|
30414
30526
|
|
|
30415
30527
|
/**
|
|
30416
|
-
*
|
|
30528
|
+
* <p>Priority of precise rate limiting, ranging from 0 to 100, with a default value of 0.</p>
|
|
30417
30529
|
* @type {number || null}
|
|
30418
30530
|
*/
|
|
30419
30531
|
this.Priority = null;
|
|
30420
30532
|
|
|
30421
30533
|
/**
|
|
30422
|
-
* Whether the precise rate limiting rule is enabled.
|
|
30534
|
+
* <p>Whether the precise rate limiting rule is enabled. Valid values: <li>on: enabled;</li><li>off: disabled.</li></p>
|
|
30423
30535
|
* @type {string || null}
|
|
30424
30536
|
*/
|
|
30425
30537
|
this.Enabled = null;
|
|
@@ -32459,7 +32571,7 @@ class InferenceAPIToken extends AbstractModel {
|
|
|
32459
32571
|
}
|
|
32460
32572
|
|
|
32461
32573
|
/**
|
|
32462
|
-
* Web security
|
|
32574
|
+
* Exception rule for Web security
|
|
32463
32575
|
* @class
|
|
32464
32576
|
*/
|
|
32465
32577
|
class ExceptionRule extends AbstractModel {
|
|
@@ -32467,61 +32579,67 @@ class ExceptionRule extends AbstractModel {
|
|
|
32467
32579
|
super();
|
|
32468
32580
|
|
|
32469
32581
|
/**
|
|
32470
|
-
*
|
|
32582
|
+
* ID of the exception rule.<br>Different rule configuration operations can be performed by rule ID:<br> <li> <b>Add</b> a new rule: leave the ID empty or do not specify the ID parameter;</li><li> <b>Modify</b> an existing rule: specify the rule ID to be updated/modified;</li><li> <b>Delete</b> an existing rule: existing rules not included in the Rules list in the ExceptionRules parameter will be deleted.</li>
|
|
32471
32583
|
* @type {string || null}
|
|
32472
32584
|
*/
|
|
32473
32585
|
this.Id = null;
|
|
32474
32586
|
|
|
32475
32587
|
/**
|
|
32476
|
-
*
|
|
32588
|
+
* Name of the exception rule.
|
|
32477
32589
|
* @type {string || null}
|
|
32478
32590
|
*/
|
|
32479
32591
|
this.Name = null;
|
|
32480
32592
|
|
|
32481
32593
|
/**
|
|
32482
|
-
*
|
|
32594
|
+
* Specific content of the exception rule must comply with the expression grammar. For detailed specifications, please refer to the product document.
|
|
32483
32595
|
* @type {string || null}
|
|
32484
32596
|
*/
|
|
32485
32597
|
this.Condition = null;
|
|
32486
32598
|
|
|
32487
32599
|
/**
|
|
32488
|
-
* Exception rule execution options
|
|
32600
|
+
* Exception rule execution options. Valid values: <li>WebSecurityModules: assigns the security protection module for the exception rule. Use in conjunction with WebSecurityModulesForException.</li><li>WebSecuritySubmodules: assigns the security protection submodule for the exception rule. Use in conjunction with WebSecuritySubmodulesForException.</li><li>ManagedRules: assigns the specific managed rule for the exception rule. Use in conjunction with ManagedRulesForException.</li><li>ManagedRuleGroups: assigns the managed rule group for the exception rule. Use in conjunction with ManagedRuleGroupsForException.</li>
|
|
32489
32601
|
* @type {string || null}
|
|
32490
32602
|
*/
|
|
32491
32603
|
this.SkipScope = null;
|
|
32492
32604
|
|
|
32493
32605
|
/**
|
|
32494
|
-
* Skip the specific type of request.
|
|
32606
|
+
* Skip the specific type of request. Valid values: <li>SkipOnAllRequestFields: skip all requests;</li><li>SkipOnSpecifiedRequestFields: skip specified request fields.</li>Valid only when SkipScope is ManagedRules or ManagedRuleGroups.
|
|
32495
32607
|
* @type {string || null}
|
|
32496
32608
|
*/
|
|
32497
32609
|
this.SkipOption = null;
|
|
32498
32610
|
|
|
32499
32611
|
/**
|
|
32500
|
-
*
|
|
32612
|
+
* Security protection module for the exception rule. Valid only when SkipScope is WebSecurityModules. Valid values: <li>websec-mod-managed-rules: managed rule</li><li>websec-mod-rate-limiting: rate limit</li><li>websec-mod-custom-rules: custom rule</li><li>websec-mod-adaptive-control: adaptive frequency control, intelligent client filtering, slow attack protection, traffic theft protection</li><li>websec-mod-bot: bot management</li>
|
|
32501
32613
|
* @type {Array.<string> || null}
|
|
32502
32614
|
*/
|
|
32503
32615
|
this.WebSecurityModulesForException = null;
|
|
32504
32616
|
|
|
32505
32617
|
/**
|
|
32506
|
-
* Specifies the
|
|
32618
|
+
* Specifies the security protection submodule for the exception rule. Valid only when SkipScope is WebSecuritySubmodules. Valid values: <ul><li>ManagedRules module features: <ul><li>websec-mod-managed-rules/managed-rule-groups: rule set;</li><li>websec-mod-managed-rules/frequent-scanning-protection: high frequency scan protection;</li></ul></li><li>RateLimitingRules module features: <ul><li>websec-mod-rate-limiting-rules: rate limiting rule;</li></ul></li><li>CustomRules module features: <ul><li>websec-mod-custom-rules: custom rule;</li></ul></li><li>HttpDDoSProtection module features: <ul><li>websec-mod-HTTP-DDoS-protection/adaptive-frequency-control: adaptive frequency control;</li><li>websec-mod-HTTP-DDoS-protection/client-filtering: intelligent client filtering;</li><li>websec-mod-HTTP-DDoS-protection/bandwidth-abuse-defense: traffic fraud protection;</li></ul></li><li>BotManagement module features: <ul><li>websec-mod-Bot-management/basic-feature: basic feature management;</li><li>websec-mod-Bot-management/ip-reputation: client profile analysis;</li><li>websec-mod-Bot-management/Bot-intelligence: intelligent Bot analysis;</li><li>websec-mod-Bot-management/custom-rules: custom rule;</li><li>websec-mod-Bot-management/browser-impersonation-detection: proactive feature recognition;</li><li>websec-mod-Bot-management/client-attestation-rules: client authentication;</li></ul></li><li>BotManagementLite module features: <ul><li>websec-mod-Bot-management-lite/ai-crawler-detection: ai crawler disposal;</li><li>websec-mod-Bot-management-lite/captcha-page-challenge: captcha page challenge.</li></ul></li></ul>
|
|
32619
|
+
* @type {Array.<string> || null}
|
|
32620
|
+
*/
|
|
32621
|
+
this.WebSecuritySubmodulesForException = null;
|
|
32622
|
+
|
|
32623
|
+
/**
|
|
32624
|
+
* Specify the specific managed rule for the exception rule. This parameter is valid only when SkipScope is ManagedRules.
|
|
32507
32625
|
* @type {Array.<string> || null}
|
|
32508
32626
|
*/
|
|
32509
32627
|
this.ManagedRulesForException = null;
|
|
32510
32628
|
|
|
32511
32629
|
/**
|
|
32512
|
-
*
|
|
32630
|
+
* Managed rule group with specified exception rules. This parameter is valid only when SkipScope is ManagedRuleGroups.
|
|
32513
32631
|
* @type {Array.<string> || null}
|
|
32514
32632
|
*/
|
|
32515
32633
|
this.ManagedRuleGroupsForException = null;
|
|
32516
32634
|
|
|
32517
32635
|
/**
|
|
32518
|
-
*
|
|
32636
|
+
* Configuration for specifying exception rules to skip specified request fields. This is valid only when SkipScope is ManagedRules or ManagedRuleGroups and SkipOption is SkipOnSpecifiedRequestFields.
|
|
32519
32637
|
* @type {Array.<RequestFieldsForException> || null}
|
|
32520
32638
|
*/
|
|
32521
32639
|
this.RequestFieldsForException = null;
|
|
32522
32640
|
|
|
32523
32641
|
/**
|
|
32524
|
-
* Whether the exception rule is enabled.
|
|
32642
|
+
* Whether the exception rule is enabled. Valid values: <li>on: enabled</li><li>off: disabled</li>
|
|
32525
32643
|
* @type {string || null}
|
|
32526
32644
|
*/
|
|
32527
32645
|
this.Enabled = null;
|
|
@@ -32541,6 +32659,7 @@ class ExceptionRule extends AbstractModel {
|
|
|
32541
32659
|
this.SkipScope = 'SkipScope' in params ? params.SkipScope : null;
|
|
32542
32660
|
this.SkipOption = 'SkipOption' in params ? params.SkipOption : null;
|
|
32543
32661
|
this.WebSecurityModulesForException = 'WebSecurityModulesForException' in params ? params.WebSecurityModulesForException : null;
|
|
32662
|
+
this.WebSecuritySubmodulesForException = 'WebSecuritySubmodulesForException' in params ? params.WebSecuritySubmodulesForException : null;
|
|
32544
32663
|
this.ManagedRulesForException = 'ManagedRulesForException' in params ? params.ManagedRulesForException : null;
|
|
32545
32664
|
this.ManagedRuleGroupsForException = 'ManagedRuleGroupsForException' in params ? params.ManagedRuleGroupsForException : null;
|
|
32546
32665
|
|
|
@@ -35112,7 +35231,7 @@ class DeleteMultiPathGatewayLineResponse extends AbstractModel {
|
|
|
35112
35231
|
}
|
|
35113
35232
|
|
|
35114
35233
|
/**
|
|
35115
|
-
* Intelligent client filtering
|
|
35234
|
+
* Intelligent client filtering
|
|
35116
35235
|
* @class
|
|
35117
35236
|
*/
|
|
35118
35237
|
class ClientFiltering extends AbstractModel {
|
|
@@ -35120,19 +35239,19 @@ class ClientFiltering extends AbstractModel {
|
|
|
35120
35239
|
super();
|
|
35121
35240
|
|
|
35122
35241
|
/**
|
|
35123
|
-
* Whether intelligent client filtering is enabled.
|
|
35242
|
+
* Whether intelligent client filtering is enabled. Valid values: <li>on: Enable;</li><li>off: Disable.</li>
|
|
35124
35243
|
* @type {string || null}
|
|
35125
35244
|
*/
|
|
35126
35245
|
this.Enabled = null;
|
|
35127
35246
|
|
|
35128
35247
|
/**
|
|
35129
|
-
* Rule ID of intelligent client filtering
|
|
35248
|
+
* Rule ID of intelligent client filtering. Output only.
|
|
35130
35249
|
* @type {string || null}
|
|
35131
35250
|
*/
|
|
35132
35251
|
this.Id = null;
|
|
35133
35252
|
|
|
35134
35253
|
/**
|
|
35135
|
-
*
|
|
35254
|
+
* Handling method for intelligent client filtering. This field is required when Enabled is on. Supported values for SecurityAction Name: <li>Monitor: observe;</li><li>Deny: block;</li><li>Challenge: challenge, where ChallengeActionParameters.Name only supports JSChallenge.</li>
|
|
35136
35255
|
* @type {SecurityAction || null}
|
|
35137
35256
|
*/
|
|
35138
35257
|
this.Action = null;
|
|
@@ -35371,25 +35490,25 @@ class SessionRateControl extends AbstractModel {
|
|
|
35371
35490
|
super();
|
|
35372
35491
|
|
|
35373
35492
|
/**
|
|
35374
|
-
*
|
|
35493
|
+
* Whether session rate and periodic feature verification are enabled. Valid values: <li>on: enable</li><li>off: disable</li>
|
|
35375
35494
|
* @type {string || null}
|
|
35376
35495
|
*/
|
|
35377
35496
|
this.Enabled = null;
|
|
35378
35497
|
|
|
35379
35498
|
/**
|
|
35380
|
-
* Session rate and periodic feature verification high-risk
|
|
35499
|
+
* Session rate and periodic feature verification for high-risk executed actions. The Name parameter of SecurityAction supports the following values: <li>Deny: block, with Stall configuration supported in DenyActionParameters;</li><li>Monitor: observe;</li><li>Allow: respond after waiting, where AllowActionParameters requires MinDelayTime and MaxDelayTime configuration.</li>
|
|
35381
35500
|
* @type {SecurityAction || null}
|
|
35382
35501
|
*/
|
|
35383
35502
|
this.HighRateSessionAction = null;
|
|
35384
35503
|
|
|
35385
35504
|
/**
|
|
35386
|
-
*
|
|
35505
|
+
* Execution action for medium-risk session rate and periodic feature verification. Supported values of SecurityAction Name: <li>Deny: block, where DenyActionParameters supports Stall configuration;</li><li>Monitor: observe;</li><li>Allow: respond after waiting, where AllowActionParameters requires MinDelayTime and MaxDelayTime configuration.</li>
|
|
35387
35506
|
* @type {SecurityAction || null}
|
|
35388
35507
|
*/
|
|
35389
35508
|
this.MidRateSessionAction = null;
|
|
35390
35509
|
|
|
35391
35510
|
/**
|
|
35392
|
-
* Session rate and periodic feature verification low
|
|
35511
|
+
* Session rate and periodic feature verification are low-risk execution actions. The Name parameter of SecurityAction supports: <li>Deny: block, where DenyActionParameters supports Stall configuration;</li><li>Monitor: observe;</li><li>Allow: wait then respond, where AllowActionParameters requires MinDelayTime and MaxDelayTime configuration.</li>
|
|
35393
35512
|
* @type {SecurityAction || null}
|
|
35394
35513
|
*/
|
|
35395
35514
|
this.LowRateSessionAction = null;
|
|
@@ -36240,7 +36359,7 @@ class TemplateConfig extends AbstractModel {
|
|
|
36240
36359
|
}
|
|
36241
36360
|
|
|
36242
36361
|
/**
|
|
36243
|
-
* Bot
|
|
36362
|
+
* Configuration of a Bot rule item, used to overwrite the upper-layer default configuration.
|
|
36244
36363
|
* @class
|
|
36245
36364
|
*/
|
|
36246
36365
|
class BotManagementActionOverrides extends AbstractModel {
|
|
@@ -36248,13 +36367,13 @@ class BotManagementActionOverrides extends AbstractModel {
|
|
|
36248
36367
|
super();
|
|
36249
36368
|
|
|
36250
36369
|
/**
|
|
36251
|
-
* Specific item under Bot
|
|
36370
|
+
* Specific item under the Bot rule group, used to rewrite the configuration content of this individual rule item. For detailed information corresponding to the Ids, see the returned message of the DescribeBotManagedRules API.
|
|
36252
36371
|
* @type {Array.<string> || null}
|
|
36253
36372
|
*/
|
|
36254
36373
|
this.Ids = null;
|
|
36255
36374
|
|
|
36256
36375
|
/**
|
|
36257
|
-
*
|
|
36376
|
+
* Handling action for the Bot rule item specified in Ids. Supported values for SecurityAction Name: <li>Deny: block;</li><li>Monitor: observe;</li><li>Disabled: not enabled, disable the specified rule;</li><li>Challenge: challenge. ChallengeOption in ChallengeActionParameters supports JSChallenge and ManagedChallenge;</li><li>Allow: allow (only for basic feature management of Bot).</li>
|
|
36258
36377
|
|
|
36259
36378
|
* @type {SecurityAction || null}
|
|
36260
36379
|
*/
|
|
@@ -36359,7 +36478,7 @@ class DescribeIdentificationsResponse extends AbstractModel {
|
|
|
36359
36478
|
}
|
|
36360
36479
|
|
|
36361
36480
|
/**
|
|
36362
|
-
*
|
|
36481
|
+
* Custom Bot rules for Web security.
|
|
36363
36482
|
* @class
|
|
36364
36483
|
*/
|
|
36365
36484
|
class BotManagementCustomRule extends AbstractModel {
|
|
@@ -36367,37 +36486,37 @@ class BotManagementCustomRule extends AbstractModel {
|
|
|
36367
36486
|
super();
|
|
36368
36487
|
|
|
36369
36488
|
/**
|
|
36370
|
-
*
|
|
36489
|
+
* <p>ID of the bot custom rule.<br>Different rule configuration operations are supported via the rule ID:<br> <li> <b>Add</b> a new rule: leave the ID empty or do not specify the ID parameter;</li><li><b>Modify</b> an existing rule: specify the rule ID that needs to be updated/modified;</li><li><b>Delete</b> an existing rule: existing rules not included in the Rules list in the BotManagementCustomRules parameter will be deleted.</li></p>
|
|
36371
36490
|
* @type {string || null}
|
|
36372
36491
|
*/
|
|
36373
36492
|
this.Id = null;
|
|
36374
36493
|
|
|
36375
36494
|
/**
|
|
36376
|
-
*
|
|
36495
|
+
* <p>Name of the Bot custom rule.</p>
|
|
36377
36496
|
* @type {string || null}
|
|
36378
36497
|
*/
|
|
36379
36498
|
this.Name = null;
|
|
36380
36499
|
|
|
36381
36500
|
/**
|
|
36382
|
-
* Whether the custom Bot rule is enabled.
|
|
36501
|
+
* <p>Whether the custom Bot rule is enabled. Valid values: <li>on: enable;</li><li>off: disable.</li></p>
|
|
36383
36502
|
* @type {string || null}
|
|
36384
36503
|
*/
|
|
36385
36504
|
this.Enabled = null;
|
|
36386
36505
|
|
|
36387
36506
|
/**
|
|
36388
|
-
* Priority of custom
|
|
36507
|
+
* <p>Priority of Bot custom rules, ranging from 1 to 100, with a default value of 50.</p>
|
|
36389
36508
|
* @type {number || null}
|
|
36390
36509
|
*/
|
|
36391
36510
|
this.Priority = null;
|
|
36392
36511
|
|
|
36393
36512
|
/**
|
|
36394
|
-
*
|
|
36513
|
+
* <p>For specific content of the Bot custom rule, it must comply with the expression grammar. For detailed specifications, see the product document.</p>
|
|
36395
36514
|
* @type {string || null}
|
|
36396
36515
|
*/
|
|
36397
36516
|
this.Condition = null;
|
|
36398
36517
|
|
|
36399
36518
|
/**
|
|
36400
|
-
*
|
|
36519
|
+
* <p>List of safe execution actions by weight assignment.</p>
|
|
36401
36520
|
* @type {Array.<SecurityWeightedAction> || null}
|
|
36402
36521
|
*/
|
|
36403
36522
|
this.Action = null;
|
|
@@ -36757,7 +36876,7 @@ class ModifyMultiPathGatewayStatusResponse extends AbstractModel {
|
|
|
36757
36876
|
}
|
|
36758
36877
|
|
|
36759
36878
|
/**
|
|
36760
|
-
* IP
|
|
36879
|
+
* Specific configuration of IP Intelligence Library (formerly client profile analysis).
|
|
36761
36880
|
* @class
|
|
36762
36881
|
*/
|
|
36763
36882
|
class IPReputationGroup extends AbstractModel {
|
|
@@ -36765,13 +36884,13 @@ class IPReputationGroup extends AbstractModel {
|
|
|
36765
36884
|
super();
|
|
36766
36885
|
|
|
36767
36886
|
/**
|
|
36768
|
-
* Execution action of the IP
|
|
36887
|
+
* Execution action of the IP Intelligence Library (formerly client profile analysis). Supported values for SecurityAction Name: <li>Deny: block;</li><li>Monitor: observe;</li><li>Disabled: not enabled, disable the specified rule;</li><li>Challenge: challenge. ChallengeOption in ChallengeActionParameters supports JSChallenge and ManagedChallenge.</li>
|
|
36769
36888
|
* @type {SecurityAction || null}
|
|
36770
36889
|
*/
|
|
36771
36890
|
this.BaseAction = null;
|
|
36772
36891
|
|
|
36773
36892
|
/**
|
|
36774
|
-
*
|
|
36893
|
+
* Specific configuration of the IP Intelligence Library (formerly client profile analysis), used to override the default configuration in BaseAction. The Ids of BotManagementActionOverrides can be filled with: <li>IPREP_WEB_AND_DDOS_ATTACKERS_LOW: network attack - general confidence;</li><li>IPREP_WEB_AND_DDOS_ATTACKERS_MID: network attack - medium confidence;</li><li>IPREP_WEB_AND_DDOS_ATTACKERS_HIGH: network attack - high confidence;</li><li>IPREP_PROXIES_AND_ANONYMIZERS_LOW: network proxy - general confidence;</li><li>IPREP_PROXIES_AND_ANONYMIZERS_MID: network proxy - medium confidence;</li><li>IPREP_PROXIES_AND_ANONYMIZERS_HIGH: network proxy - high confidence;</li><li>IPREP_SCANNING_TOOLS_LOW: scanner - general confidence;</li><li>IPREP_SCANNING_TOOLS_MID: scanner - medium confidence;</li><li>IPREP_SCANNING_TOOLS_HIGH: scanner - high confidence;</li><li>IPREP_ATO_ATTACKERS_LOW: account takeover attack - general confidence;</li><li>IPREP_ATO_ATTACKERS_MID: account takeover attack - medium confidence;</li><li>IPREP_ATO_ATTACKERS_HIGH: account takeover attack - high confidence;</li><li>IPREP_WEB_SCRAPERS_AND_TRAFFIC_BOTS_LOW: malicious bot - general confidence;</li><li>IPREP_WEB_SCRAPERS_AND_TRAFFIC_BOTS_MID: malicious bot - medium confidence;</li><li>IPREP_WEB_SCRAPERS_AND_TRAFFIC_BOTS_HIGH: malicious bot - high confidence.</li>
|
|
36775
36894
|
* @type {Array.<BotManagementActionOverrides> || null}
|
|
36776
36895
|
*/
|
|
36777
36896
|
this.BotManagementActionOverrides = null;
|
|
@@ -37601,6 +37720,65 @@ class DDosProtectionConfig extends AbstractModel {
|
|
|
37601
37720
|
}
|
|
37602
37721
|
}
|
|
37603
37722
|
|
|
37723
|
+
/**
|
|
37724
|
+
* User Risk Level configuration. The risk score range is 0–100. The higher the score, the higher the risk.
|
|
37725
|
+
* @class
|
|
37726
|
+
*/
|
|
37727
|
+
class UserRiskProfile extends AbstractModel {
|
|
37728
|
+
constructor(){
|
|
37729
|
+
super();
|
|
37730
|
+
|
|
37731
|
+
/**
|
|
37732
|
+
* <p>Minimum risk score for high-risk requests. A request is considered high-risk when its score is equal to or greater than this value.</p><p>Value range: [2, 99]</p><p>Default value: 50</p>
|
|
37733
|
+
* @type {number || null}
|
|
37734
|
+
*/
|
|
37735
|
+
this.HighRiskMinScore = null;
|
|
37736
|
+
|
|
37737
|
+
/**
|
|
37738
|
+
* <p>Handling method for high-risk requests. Supported values for SecurityAction Name: <li>Deny: block;</li><li>Monitor: observe;</li><li>Redirect: redirect;</li><li>Challenge: challenge.</li>Default value: Monitor</p>
|
|
37739
|
+
* @type {SecurityAction || null}
|
|
37740
|
+
*/
|
|
37741
|
+
this.HighRiskRequestAction = null;
|
|
37742
|
+
|
|
37743
|
+
/**
|
|
37744
|
+
* <p>Minimum risk score for a medium-risk request. A score equal to or greater than this value and less than HighRiskMinScore is considered medium-risk; a score lower than this value is considered low risk.</p><p>Value range: [1, 98]</p><p>Default value: 15</p>
|
|
37745
|
+
* @type {number || null}
|
|
37746
|
+
*/
|
|
37747
|
+
this.MediumRiskMinScore = null;
|
|
37748
|
+
|
|
37749
|
+
/**
|
|
37750
|
+
* <p>Handling method for medium-risk requests. Supported values for the Name parameter of SecurityAction: <li>Deny: block;</li><li>Monitor: observe;</li><li>Redirect: redirect;</li><li>Challenge: challenge.</li>Default value: Monitor</p>
|
|
37751
|
+
* @type {SecurityAction || null}
|
|
37752
|
+
*/
|
|
37753
|
+
this.MediumRiskRequestAction = null;
|
|
37754
|
+
|
|
37755
|
+
}
|
|
37756
|
+
|
|
37757
|
+
/**
|
|
37758
|
+
* @private
|
|
37759
|
+
*/
|
|
37760
|
+
deserialize(params) {
|
|
37761
|
+
if (!params) {
|
|
37762
|
+
return;
|
|
37763
|
+
}
|
|
37764
|
+
this.HighRiskMinScore = 'HighRiskMinScore' in params ? params.HighRiskMinScore : null;
|
|
37765
|
+
|
|
37766
|
+
if (params.HighRiskRequestAction) {
|
|
37767
|
+
let obj = new SecurityAction();
|
|
37768
|
+
obj.deserialize(params.HighRiskRequestAction)
|
|
37769
|
+
this.HighRiskRequestAction = obj;
|
|
37770
|
+
}
|
|
37771
|
+
this.MediumRiskMinScore = 'MediumRiskMinScore' in params ? params.MediumRiskMinScore : null;
|
|
37772
|
+
|
|
37773
|
+
if (params.MediumRiskRequestAction) {
|
|
37774
|
+
let obj = new SecurityAction();
|
|
37775
|
+
obj.deserialize(params.MediumRiskRequestAction)
|
|
37776
|
+
this.MediumRiskRequestAction = obj;
|
|
37777
|
+
}
|
|
37778
|
+
|
|
37779
|
+
}
|
|
37780
|
+
}
|
|
37781
|
+
|
|
37604
37782
|
/**
|
|
37605
37783
|
* ModifyFunctionRule request structure.
|
|
37606
37784
|
* @class
|
|
@@ -38255,7 +38433,7 @@ class DescribeDDoSAttackDataRequest extends AbstractModel {
|
|
|
38255
38433
|
}
|
|
38256
38434
|
|
|
38257
38435
|
/**
|
|
38258
|
-
*
|
|
38436
|
+
* Specific configuration for slow attack protection.
|
|
38259
38437
|
* @class
|
|
38260
38438
|
*/
|
|
38261
38439
|
class SlowAttackDefense extends AbstractModel {
|
|
@@ -38263,31 +38441,31 @@ class SlowAttackDefense extends AbstractModel {
|
|
|
38263
38441
|
super();
|
|
38264
38442
|
|
|
38265
38443
|
/**
|
|
38266
|
-
* Whether slow attack protection is enabled.
|
|
38444
|
+
* Whether slow attack protection is enabled. Valid values: <li>on: enabled;</li><li>off: disabled.</li>
|
|
38267
38445
|
* @type {string || null}
|
|
38268
38446
|
*/
|
|
38269
38447
|
this.Enabled = null;
|
|
38270
38448
|
|
|
38271
38449
|
/**
|
|
38272
|
-
* Rule ID of slow attack protection, returned as an output parameter.
|
|
38450
|
+
* Rule ID of slow attack protection, returned only as an output parameter.
|
|
38273
38451
|
* @type {string || null}
|
|
38274
38452
|
*/
|
|
38275
38453
|
this.Id = null;
|
|
38276
38454
|
|
|
38277
38455
|
/**
|
|
38278
|
-
*
|
|
38456
|
+
* Handling method for slow attack protection. This field is required when Enabled is on. Supported values for SecurityAction Name: <li>Monitor: observe;</li><li>Deny: block;</li>
|
|
38279
38457
|
* @type {SecurityAction || null}
|
|
38280
38458
|
*/
|
|
38281
38459
|
this.Action = null;
|
|
38282
38460
|
|
|
38283
38461
|
/**
|
|
38284
|
-
*
|
|
38462
|
+
* Specific configuration of the minimum body transfer rate threshold. Required when Enabled is on.
|
|
38285
38463
|
* @type {MinimalRequestBodyTransferRate || null}
|
|
38286
38464
|
*/
|
|
38287
38465
|
this.MinimalRequestBodyTransferRate = null;
|
|
38288
38466
|
|
|
38289
38467
|
/**
|
|
38290
|
-
*
|
|
38468
|
+
* Specific configuration of the body transfer timeout duration. Required if Enabled is on.
|
|
38291
38469
|
* @type {RequestBodyTransferTimeout || null}
|
|
38292
38470
|
*/
|
|
38293
38471
|
this.RequestBodyTransferTimeout = null;
|
|
@@ -39084,7 +39262,7 @@ class AICrawlerDetection extends AbstractModel {
|
|
|
39084
39262
|
* Execution action of AI crawler detection. Required if Enabled is on. Name of SecurityAction only supports:
|
|
39085
39263
|
<li>Deny: block;</li>
|
|
39086
39264
|
<li>Monitor: observation;</li>
|
|
39087
|
-
<li>Allow:
|
|
39265
|
+
<li>Allow: Allow access;</li>
|
|
39088
39266
|
<li>Challenge: Among them, ChallengeOption in ChallengeActionParameters only supports JSChallenge and ManagedChallenge.</li>
|
|
39089
39267
|
* @type {SecurityAction || null}
|
|
39090
39268
|
*/
|
|
@@ -39486,7 +39664,7 @@ class DescribeMultiPathGatewaySecretKeyRequest extends AbstractModel {
|
|
|
39486
39664
|
super();
|
|
39487
39665
|
|
|
39488
39666
|
/**
|
|
39489
|
-
*
|
|
39667
|
+
* <p>Site ID.</p>
|
|
39490
39668
|
* @type {string || null}
|
|
39491
39669
|
*/
|
|
39492
39670
|
this.ZoneId = null;
|
|
@@ -40541,7 +40719,7 @@ class DeleteFunctionResponse extends AbstractModel {
|
|
|
40541
40719
|
}
|
|
40542
40720
|
|
|
40543
40721
|
/**
|
|
40544
|
-
*
|
|
40722
|
+
* Structure of BOT rules for Web security.
|
|
40545
40723
|
* @class
|
|
40546
40724
|
*/
|
|
40547
40725
|
class BotManagementLite extends AbstractModel {
|
|
@@ -40549,13 +40727,13 @@ class BotManagementLite extends AbstractModel {
|
|
|
40549
40727
|
super();
|
|
40550
40728
|
|
|
40551
40729
|
/**
|
|
40552
|
-
* Configuration of the
|
|
40730
|
+
* Configuration of the CAPTCHA page.
|
|
40553
40731
|
* @type {CAPTCHAPageChallenge || null}
|
|
40554
40732
|
*/
|
|
40555
40733
|
this.CAPTCHAPageChallenge = null;
|
|
40556
40734
|
|
|
40557
40735
|
/**
|
|
40558
|
-
* AI crawler detection
|
|
40736
|
+
* Specific configuration for AI crawler detection.
|
|
40559
40737
|
* @type {AICrawlerDetection || null}
|
|
40560
40738
|
*/
|
|
40561
40739
|
this.AICrawlerDetection = null;
|
|
@@ -41476,11 +41654,11 @@ class AccelerateMainland extends AbstractModel {
|
|
|
41476
41654
|
}
|
|
41477
41655
|
|
|
41478
41656
|
/**
|
|
41479
|
-
* Additional parameter for the
|
|
41657
|
+
* Additional parameter for the safe execution action when it is a challenge.
|
|
41480
41658
|
|
|
41481
|
-
This parameter is used
|
|
41482
|
-
Challenge disposal actions are segmented
|
|
41483
|
-
ChallengeActionParameters supports the following challenge disposition types: <li>Interstitial challenge: responds with a new page and runs the authentication mechanism
|
|
41659
|
+
This parameter is used to specify the extra handling action taken by the system when a security rule is hit and a challenge action is executed.
|
|
41660
|
+
Challenge disposal actions are segmented through ChallengeOption. Different challenge types correspond to different interaction forms and parameter requirements. The system will bring the corresponding parameter configuration into effect according to the selected challenge type.
|
|
41661
|
+
ChallengeActionParameters supports the following challenge disposition types: <li>Interstitial challenge: responds with a new page and runs the authentication mechanism within the new page. The corresponding ChallengeOption value is InterstitialChallenge.</li><li>Inline challenge: responds with an SDK challenge. The corresponding ChallengeOption value is InlineChallenge.</li><li>JavaScript challenge: invisible verification in the browser. The browser automatically performs verification and shows the requested resource. The corresponding ChallengeOption value is JSChallenge.</li><li>Managed challenge: responds with a redirect page containing a JavaScript program, used for verification of the browser runtime environment. The corresponding ChallengeOption value is ManagedChallenge.</li>
|
|
41484
41662
|
* @class
|
|
41485
41663
|
*/
|
|
41486
41664
|
class ChallengeActionParameters extends AbstractModel {
|
|
@@ -41488,7 +41666,7 @@ class ChallengeActionParameters extends AbstractModel {
|
|
|
41488
41666
|
super();
|
|
41489
41667
|
|
|
41490
41668
|
/**
|
|
41491
|
-
* <p>Specific challenge action for safe execution.</p><p>Enumeration values:</p><ul><li>InterstitialChallenge:
|
|
41669
|
+
* <p>Specific challenge action for safe execution.</p><p>Enumeration values:</p><ul><li>InterstitialChallenge: Interstitial challenge;</li><li>InlineChallenge: Embedded challenge (SDK challenge);</li><li>ManagedChallenge: Managed challenge. Applicable only to HTML web pages directly accessed by users through a browser. API interfaces, XHR/AJAX asynchronous requests within web pages, mobile apps, command line tools, and other scenarios cannot complete the verification. Do not configure;</li><li>JSChallenge: JavaScript challenge. Applicable only to HTML web pages directly accessed by users through a browser. API interfaces, XHR/AJAX asynchronous requests within web pages, mobile apps, command line tools, and other scenarios cannot complete the verification. Do not configure.</li></ul>
|
|
41492
41670
|
* @type {string || null}
|
|
41493
41671
|
*/
|
|
41494
41672
|
this.ChallengeOption = null;
|
|
@@ -42540,7 +42718,7 @@ class CacheConfigCustomTime extends AbstractModel {
|
|
|
42540
42718
|
}
|
|
42541
42719
|
|
|
42542
42720
|
/**
|
|
42543
|
-
* Managed rules
|
|
42721
|
+
* Managed rules for Web security
|
|
42544
42722
|
* @class
|
|
42545
42723
|
*/
|
|
42546
42724
|
class ManagedRules extends AbstractModel {
|
|
@@ -42548,37 +42726,43 @@ class ManagedRules extends AbstractModel {
|
|
|
42548
42726
|
super();
|
|
42549
42727
|
|
|
42550
42728
|
/**
|
|
42551
|
-
*
|
|
42729
|
+
* <p>Whether managed rules are enabled. Valid values: <li>on: enabled. All managed rules take effect as configured.</li><li>off: disabled. No managed rules take effect.</li></p>
|
|
42552
42730
|
* @type {string || null}
|
|
42553
42731
|
*/
|
|
42554
42732
|
this.Enabled = null;
|
|
42555
42733
|
|
|
42556
42734
|
/**
|
|
42557
|
-
*
|
|
42735
|
+
* <p>Whether evaluation mode is enabled. This parameter is valid only when the `Enabled` parameter is set to `on`. Valid values: <li>on: enabled. All managed rules take effect in observation mode.</li><li>off: disabled. All managed rules take effect as configured.</li></p>
|
|
42558
42736
|
* @type {string || null}
|
|
42559
42737
|
*/
|
|
42560
42738
|
this.DetectionOnly = null;
|
|
42561
42739
|
|
|
42562
42740
|
/**
|
|
42563
|
-
*
|
|
42741
|
+
* <p>Whether the deep analysis option for managed rules is enabled. This parameter is valid only when the `Enabled` parameter is set to `on`. Valid values: <li>on: enabled. Requests are processed after deep analysis.</li><li>off: disabled. Requests are processed directly without deep analysis.</li> <br>This parameter is to be deprecated. The switch for deep analysis rules is migrated to the `SemanticAnalysisRules.Enabled` parameter.</p>
|
|
42564
42742
|
* @type {string || null}
|
|
42565
42743
|
*/
|
|
42566
42744
|
this.SemanticAnalysis = null;
|
|
42567
42745
|
|
|
42568
42746
|
/**
|
|
42569
|
-
*
|
|
42747
|
+
* <p>Deep analysis configuration option. Identifies malicious behaviors in requests (such as SQL injection and XSS attacks), and logs and blocks malicious requests.</p>
|
|
42748
|
+
* @type {SemanticAnalysisRules || null}
|
|
42749
|
+
*/
|
|
42750
|
+
this.SemanticAnalysisRules = null;
|
|
42751
|
+
|
|
42752
|
+
/**
|
|
42753
|
+
* <p>Auto-update option for managed rules.</p>
|
|
42570
42754
|
* @type {ManagedRuleAutoUpdate || null}
|
|
42571
42755
|
*/
|
|
42572
42756
|
this.AutoUpdate = null;
|
|
42573
42757
|
|
|
42574
42758
|
/**
|
|
42575
|
-
* Configuration of
|
|
42759
|
+
* <p>Configuration of managed rule groups. If an empty array is passed for this structure or `GroupId` is not included in the list, the default processing method is used.</p>
|
|
42576
42760
|
* @type {Array.<ManagedRuleGroup> || null}
|
|
42577
42761
|
*/
|
|
42578
42762
|
this.ManagedRuleGroups = null;
|
|
42579
42763
|
|
|
42580
42764
|
/**
|
|
42581
|
-
* High-
|
|
42765
|
+
* <p>High-frequency scan protection configuration option. When a visitor's requests frequently trigger managed rules configured as block, all requests from this visitor are blocked for a period of time.</p>
|
|
42582
42766
|
* @type {FrequentScanningProtection || null}
|
|
42583
42767
|
*/
|
|
42584
42768
|
this.FrequentScanningProtection = null;
|
|
@@ -42596,6 +42780,12 @@ class ManagedRules extends AbstractModel {
|
|
|
42596
42780
|
this.DetectionOnly = 'DetectionOnly' in params ? params.DetectionOnly : null;
|
|
42597
42781
|
this.SemanticAnalysis = 'SemanticAnalysis' in params ? params.SemanticAnalysis : null;
|
|
42598
42782
|
|
|
42783
|
+
if (params.SemanticAnalysisRules) {
|
|
42784
|
+
let obj = new SemanticAnalysisRules();
|
|
42785
|
+
obj.deserialize(params.SemanticAnalysisRules)
|
|
42786
|
+
this.SemanticAnalysisRules = obj;
|
|
42787
|
+
}
|
|
42788
|
+
|
|
42599
42789
|
if (params.AutoUpdate) {
|
|
42600
42790
|
let obj = new ManagedRuleAutoUpdate();
|
|
42601
42791
|
obj.deserialize(params.AutoUpdate)
|
|
@@ -42672,7 +42862,7 @@ class DescribeMultiPathGatewaySecretKeyResponse extends AbstractModel {
|
|
|
42672
42862
|
super();
|
|
42673
42863
|
|
|
42674
42864
|
/**
|
|
42675
|
-
* Access key
|
|
42865
|
+
* <p>Access key.</p>
|
|
42676
42866
|
* @type {string || null}
|
|
42677
42867
|
*/
|
|
42678
42868
|
this.SecretKey = null;
|
|
@@ -42828,7 +43018,7 @@ class CreateSecurityClientAttesterResponse extends AbstractModel {
|
|
|
42828
43018
|
}
|
|
42829
43019
|
|
|
42830
43020
|
/**
|
|
42831
|
-
*
|
|
43021
|
+
* SecurityAction with weight assignment.
|
|
42832
43022
|
* @class
|
|
42833
43023
|
*/
|
|
42834
43024
|
class SecurityWeightedAction extends AbstractModel {
|
|
@@ -42836,13 +43026,13 @@ class SecurityWeightedAction extends AbstractModel {
|
|
|
42836
43026
|
super();
|
|
42837
43027
|
|
|
42838
43028
|
/**
|
|
42839
|
-
*
|
|
43029
|
+
* Handling method of the Bot custom rule. Valid values: <li>Allow: Allow, where AllowActionParameters supports MinDelayTime and MaxDelayTime configuration;</li><li>Deny: block, where DenyActionParameters supports BlockIp, ReturnCustomPage, and Stall configuration;</li><li>Monitor: Monitor;</li><li>Challenge: Challenge, where ChallengeActionParameters.ChallengeOption supports JSChallenge and ManagedChallenge;</li><li>Redirect: Redirect to a URL.</li>
|
|
42840
43030
|
* @type {SecurityAction || null}
|
|
42841
43031
|
*/
|
|
42842
43032
|
this.SecurityAction = null;
|
|
42843
43033
|
|
|
42844
43034
|
/**
|
|
42845
|
-
*
|
|
43035
|
+
* Weight of the current SecurityAction. Only multiples of 10 from 10 to 100 are supported. The sum of all Weight parameters must equal 100.
|
|
42846
43036
|
* @type {number || null}
|
|
42847
43037
|
*/
|
|
42848
43038
|
this.Weight = null;
|
|
@@ -42945,6 +43135,61 @@ class DescribeDefaultCertificatesResponse extends AbstractModel {
|
|
|
42945
43135
|
}
|
|
42946
43136
|
}
|
|
42947
43137
|
|
|
43138
|
+
/**
|
|
43139
|
+
*
|
|
43140
|
+
* @class
|
|
43141
|
+
*/
|
|
43142
|
+
class SemanticAnalysisRules extends AbstractModel {
|
|
43143
|
+
constructor(){
|
|
43144
|
+
super();
|
|
43145
|
+
|
|
43146
|
+
/**
|
|
43147
|
+
*
|
|
43148
|
+
* @type {string || null}
|
|
43149
|
+
*/
|
|
43150
|
+
this.Enabled = null;
|
|
43151
|
+
|
|
43152
|
+
/**
|
|
43153
|
+
*
|
|
43154
|
+
* @type {Array.<ManagedRuleAction> || null}
|
|
43155
|
+
*/
|
|
43156
|
+
this.RuleActions = null;
|
|
43157
|
+
|
|
43158
|
+
/**
|
|
43159
|
+
*
|
|
43160
|
+
* @type {ManagedRuleGroupMeta || null}
|
|
43161
|
+
*/
|
|
43162
|
+
this.MetaData = null;
|
|
43163
|
+
|
|
43164
|
+
}
|
|
43165
|
+
|
|
43166
|
+
/**
|
|
43167
|
+
* @private
|
|
43168
|
+
*/
|
|
43169
|
+
deserialize(params) {
|
|
43170
|
+
if (!params) {
|
|
43171
|
+
return;
|
|
43172
|
+
}
|
|
43173
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
43174
|
+
|
|
43175
|
+
if (params.RuleActions) {
|
|
43176
|
+
this.RuleActions = new Array();
|
|
43177
|
+
for (let z in params.RuleActions) {
|
|
43178
|
+
let obj = new ManagedRuleAction();
|
|
43179
|
+
obj.deserialize(params.RuleActions[z]);
|
|
43180
|
+
this.RuleActions.push(obj);
|
|
43181
|
+
}
|
|
43182
|
+
}
|
|
43183
|
+
|
|
43184
|
+
if (params.MetaData) {
|
|
43185
|
+
let obj = new ManagedRuleGroupMeta();
|
|
43186
|
+
obj.deserialize(params.MetaData)
|
|
43187
|
+
this.MetaData = obj;
|
|
43188
|
+
}
|
|
43189
|
+
|
|
43190
|
+
}
|
|
43191
|
+
}
|
|
43192
|
+
|
|
42948
43193
|
/**
|
|
42949
43194
|
* CreateOriginGroup response structure.
|
|
42950
43195
|
* @class
|
|
@@ -44356,7 +44601,7 @@ class CreateWebSecurityTemplateResponse extends AbstractModel {
|
|
|
44356
44601
|
}
|
|
44357
44602
|
|
|
44358
44603
|
/**
|
|
44359
|
-
* Bot intelligent analysis
|
|
44604
|
+
* Specific configuration for Bot intelligent analysis.
|
|
44360
44605
|
* @class
|
|
44361
44606
|
*/
|
|
44362
44607
|
class BotIntelligence extends AbstractModel {
|
|
@@ -44364,22 +44609,22 @@ class BotIntelligence extends AbstractModel {
|
|
|
44364
44609
|
super();
|
|
44365
44610
|
|
|
44366
44611
|
/**
|
|
44367
|
-
*
|
|
44612
|
+
* Specific configuration switch for Bot intelligent analysis. Valid values:
|
|
44368
44613
|
|
|
44369
|
-
on:
|
|
44370
|
-
off:
|
|
44614
|
+
on: enable;
|
|
44615
|
+
off: Disable.
|
|
44371
44616
|
* @type {string || null}
|
|
44372
44617
|
*/
|
|
44373
44618
|
this.Enabled = null;
|
|
44374
44619
|
|
|
44375
44620
|
/**
|
|
44376
|
-
* Rule ID of Bot intelligent analysis, returned as an output parameter.
|
|
44621
|
+
* Rule ID of Bot intelligent analysis, returned only as an output parameter.
|
|
44377
44622
|
* @type {string || null}
|
|
44378
44623
|
*/
|
|
44379
44624
|
this.Id = null;
|
|
44380
44625
|
|
|
44381
44626
|
/**
|
|
44382
|
-
* Based on client and request features,
|
|
44627
|
+
* Based on the client and request features, divide the request source into human requests, valid Bot requests, suspected Bot requests, and high-risk Bot requests, and provide request handling options.
|
|
44383
44628
|
* @type {BotRatings || null}
|
|
44384
44629
|
*/
|
|
44385
44630
|
this.BotRatings = null;
|
|
@@ -44451,7 +44696,7 @@ OriginCertificateVerify specifies CertId of the corresponding certificate as an
|
|
|
44451
44696
|
}
|
|
44452
44697
|
|
|
44453
44698
|
/**
|
|
44454
|
-
*
|
|
44699
|
+
* Search engine rule configuration.
|
|
44455
44700
|
* @class
|
|
44456
44701
|
*/
|
|
44457
44702
|
class SearchEngineBots extends AbstractModel {
|
|
@@ -44459,13 +44704,13 @@ class SearchEngineBots extends AbstractModel {
|
|
|
44459
44704
|
super();
|
|
44460
44705
|
|
|
44461
44706
|
/**
|
|
44462
|
-
*
|
|
44707
|
+
* Execution action for requests from search engine crawlers. Supported values of SecurityAction Name: <li>Deny: block;</li><li>Monitor: observe;</li><li>Disabled: not enabled, disable the specified rule;</li><li>Challenge: challenge. ChallengeOption in ChallengeActionParameters supports JSChallenge and ManagedChallenge;</li><li>Allow: allow (to be deprecated).</li>
|
|
44463
44708
|
* @type {SecurityAction || null}
|
|
44464
44709
|
*/
|
|
44465
44710
|
this.BaseAction = null;
|
|
44466
44711
|
|
|
44467
44712
|
/**
|
|
44468
|
-
*
|
|
44713
|
+
* Specify the handling method for search engine crawler requests.
|
|
44469
44714
|
* @type {Array.<BotManagementActionOverrides> || null}
|
|
44470
44715
|
*/
|
|
44471
44716
|
this.BotManagementActionOverrides = null;
|
|
@@ -44557,25 +44802,25 @@ class HttpDDoSProtection extends AbstractModel {
|
|
|
44557
44802
|
super();
|
|
44558
44803
|
|
|
44559
44804
|
/**
|
|
44560
|
-
*
|
|
44805
|
+
* Specific configuration of adaptive frequency control.
|
|
44561
44806
|
* @type {AdaptiveFrequencyControl || null}
|
|
44562
44807
|
*/
|
|
44563
44808
|
this.AdaptiveFrequencyControl = null;
|
|
44564
44809
|
|
|
44565
44810
|
/**
|
|
44566
|
-
*
|
|
44811
|
+
* Specific configuration for intelligent client filtering.
|
|
44567
44812
|
* @type {ClientFiltering || null}
|
|
44568
44813
|
*/
|
|
44569
44814
|
this.ClientFiltering = null;
|
|
44570
44815
|
|
|
44571
44816
|
/**
|
|
44572
|
-
*
|
|
44817
|
+
* Bandwidth abuse protection configuration.
|
|
44573
44818
|
* @type {BandwidthAbuseDefense || null}
|
|
44574
44819
|
*/
|
|
44575
44820
|
this.BandwidthAbuseDefense = null;
|
|
44576
44821
|
|
|
44577
44822
|
/**
|
|
44578
|
-
*
|
|
44823
|
+
* Specific configuration of slow attack protection.
|
|
44579
44824
|
* @type {SlowAttackDefense || null}
|
|
44580
44825
|
*/
|
|
44581
44826
|
this.SlowAttackDefense = null;
|
|
@@ -44671,7 +44916,7 @@ class CheckRegionHealthStatus extends AbstractModel {
|
|
|
44671
44916
|
}
|
|
44672
44917
|
|
|
44673
44918
|
/**
|
|
44674
|
-
* High frequency scan protection configuration
|
|
44919
|
+
* High frequency scan protection configuration options. When a visitor's requests frequently hit managed rules configured as block, all requests from the visitor are blocked within a period of time.
|
|
44675
44920
|
* @class
|
|
44676
44921
|
*/
|
|
44677
44922
|
class FrequentScanningProtection extends AbstractModel {
|
|
@@ -44679,43 +44924,43 @@ class FrequentScanningProtection extends AbstractModel {
|
|
|
44679
44924
|
super();
|
|
44680
44925
|
|
|
44681
44926
|
/**
|
|
44682
|
-
* Whether
|
|
44927
|
+
* Whether high-frequency scan protection is enabled. Valid values: <li>on: enabled, the high-frequency scan protection rule takes effect;</li><li>off: disabled, the high-frequency scan protection rule does not take effect.</li>
|
|
44683
44928
|
* @type {string || null}
|
|
44684
44929
|
*/
|
|
44685
44930
|
this.Enabled = null;
|
|
44686
44931
|
|
|
44687
44932
|
/**
|
|
44688
|
-
* Rule ID of high
|
|
44933
|
+
* Rule ID of high-frequency scan protection, returned only as an output parameter.
|
|
44689
44934
|
* @type {string || null}
|
|
44690
44935
|
*/
|
|
44691
44936
|
this.Id = null;
|
|
44692
44937
|
|
|
44693
44938
|
/**
|
|
44694
|
-
*
|
|
44939
|
+
* Handling action for high frequency scan protection. When Enabled is on, this field is required. The Name parameter of SecurityAction supports: <li>Deny: block and respond with an Interception page;</li><li>Monitor: observe, do not process request records, and log security events;</li><li>JSChallenge: javascript challenge and respond with a JavaScript challenge page.</li>
|
|
44695
44940
|
* @type {SecurityAction || null}
|
|
44696
44941
|
*/
|
|
44697
44942
|
this.Action = null;
|
|
44698
44943
|
|
|
44699
44944
|
/**
|
|
44700
|
-
*
|
|
44945
|
+
* Match mode for request statistics. This field is required when Enabled is on. Valid values: <li>http.request.xff_header_ip: client ip (priority match xff header);</li><li>http.request.ip: client ip.</li>
|
|
44701
44946
|
* @type {string || null}
|
|
44702
44947
|
*/
|
|
44703
44948
|
this.CountBy = null;
|
|
44704
44949
|
|
|
44705
44950
|
/**
|
|
44706
|
-
* This parameter specifies the threshold for high-frequency scan protection, which is the
|
|
44951
|
+
* This parameter specifies the threshold for high-frequency scan protection, which is the total interception count when managed rules configured for interception are hit within the time range set by CountingPeriod. The value ranges from 1 to 4294967294, for example, 100. When this statistical value is exceeded, subsequent requests trigger the handling action set by Action. This field is required when Enabled is on.
|
|
44707
44952
|
* @type {number || null}
|
|
44708
44953
|
*/
|
|
44709
44954
|
this.BlockThreshold = null;
|
|
44710
44955
|
|
|
44711
44956
|
/**
|
|
44712
|
-
* This parameter specifies the
|
|
44957
|
+
* This parameter specifies the time window for high-frequency scan protection statistics, that is, the statistical time window for requests that hit managed rules configured for interception. Value range: 5-1800. The unit only supports seconds (s), for example, 5s. Required when Enabled is on.
|
|
44713
44958
|
* @type {string || null}
|
|
44714
44959
|
*/
|
|
44715
44960
|
this.CountingPeriod = null;
|
|
44716
44961
|
|
|
44717
44962
|
/**
|
|
44718
|
-
* This parameter specifies the duration of the handling Action set by the high frequency scan protection Action parameter. value
|
|
44963
|
+
* This parameter specifies the duration of the handling Action set by the high frequency scan protection Action parameter. The value ranges from 60 to 86400. The unit only supports seconds (s), for example, 60s. This field is required when Enabled is on.
|
|
44719
44964
|
* @type {string || null}
|
|
44720
44965
|
*/
|
|
44721
44966
|
this.ActionDuration = null;
|
|
@@ -46205,13 +46450,13 @@ module.exports = {
|
|
|
46205
46450
|
DeleteMultiPathGatewayRequest: DeleteMultiPathGatewayRequest,
|
|
46206
46451
|
DeleteCustomErrorPageRequest: DeleteCustomErrorPageRequest,
|
|
46207
46452
|
CustomField: CustomField,
|
|
46208
|
-
|
|
46453
|
+
ApplyFreeCertificateResponse: ApplyFreeCertificateResponse,
|
|
46209
46454
|
FloatTimingTypeValue: FloatTimingTypeValue,
|
|
46210
46455
|
BrowserImpersonationDetectionAction: BrowserImpersonationDetectionAction,
|
|
46211
46456
|
CacheKeyHeader: CacheKeyHeader,
|
|
46212
46457
|
DeleteZoneRequest: DeleteZoneRequest,
|
|
46213
46458
|
RangeOriginPullParameters: RangeOriginPullParameters,
|
|
46214
|
-
|
|
46459
|
+
BotManagedRule: BotManagedRule,
|
|
46215
46460
|
CurrentOriginACL: CurrentOriginACL,
|
|
46216
46461
|
DescribeIPGroupReferencesResponse: DescribeIPGroupReferencesResponse,
|
|
46217
46462
|
CreateEdgeKVNamespaceRequest: CreateEdgeKVNamespaceRequest,
|
|
@@ -46446,6 +46691,7 @@ module.exports = {
|
|
|
46446
46691
|
DescribeZoneSettingResponse: DescribeZoneSettingResponse,
|
|
46447
46692
|
CreateMultiPathGatewayResponse: CreateMultiPathGatewayResponse,
|
|
46448
46693
|
DeleteJustInTimeTranscodeTemplatesResponse: DeleteJustInTimeTranscodeTemplatesResponse,
|
|
46694
|
+
SecurityHeadersToOrigin: SecurityHeadersToOrigin,
|
|
46449
46695
|
DeleteRulesResponse: DeleteRulesResponse,
|
|
46450
46696
|
ModifyDnsRecordsRequest: ModifyDnsRecordsRequest,
|
|
46451
46697
|
DescribeLogAnalysisDetailResponse: DescribeLogAnalysisDetailResponse,
|
|
@@ -46488,6 +46734,7 @@ module.exports = {
|
|
|
46488
46734
|
DescribeWebSecurityTemplateRequest: DescribeWebSecurityTemplateRequest,
|
|
46489
46735
|
ClientAttestationRule: ClientAttestationRule,
|
|
46490
46736
|
CustomEndpoint: CustomEndpoint,
|
|
46737
|
+
AccountProtectionSettings: AccountProtectionSettings,
|
|
46491
46738
|
ModifyOriginACLResponse: ModifyOriginACLResponse,
|
|
46492
46739
|
VerifyOwnershipRequest: VerifyOwnershipRequest,
|
|
46493
46740
|
InferenceContainerConfigForModify: InferenceContainerConfigForModify,
|
|
@@ -46741,6 +46988,7 @@ module.exports = {
|
|
|
46741
46988
|
ImportZoneConfigRequest: ImportZoneConfigRequest,
|
|
46742
46989
|
IpTableRule: IpTableRule,
|
|
46743
46990
|
DDosProtectionConfig: DDosProtectionConfig,
|
|
46991
|
+
UserRiskProfile: UserRiskProfile,
|
|
46744
46992
|
ModifyFunctionRuleRequest: ModifyFunctionRuleRequest,
|
|
46745
46993
|
DescribeSecurityIPGroupResponse: DescribeSecurityIPGroupResponse,
|
|
46746
46994
|
IncreasePlanQuotaRequest: IncreasePlanQuotaRequest,
|
|
@@ -46849,6 +47097,7 @@ module.exports = {
|
|
|
46849
47097
|
SecurityWeightedAction: SecurityWeightedAction,
|
|
46850
47098
|
ModifyMultiPathGatewayLineResponse: ModifyMultiPathGatewayLineResponse,
|
|
46851
47099
|
DescribeDefaultCertificatesResponse: DescribeDefaultCertificatesResponse,
|
|
47100
|
+
SemanticAnalysisRules: SemanticAnalysisRules,
|
|
46852
47101
|
CreateOriginGroupResponse: CreateOriginGroupResponse,
|
|
46853
47102
|
CreateMultiPathGatewayLineRequest: CreateMultiPathGatewayLineRequest,
|
|
46854
47103
|
IPGroupReference: IPGroupReference,
|