tencentcloud-sdk-nodejs-waf 4.1.38 → 4.1.43
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
CHANGED
|
@@ -3843,7 +3843,6 @@ export interface TigaMainClassMode {
|
|
|
3843
3843
|
export interface DeleteBotSceneUCBRuleResponse {
|
|
3844
3844
|
/**
|
|
3845
3845
|
* 正常情况下为null
|
|
3846
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3847
3846
|
*/
|
|
3848
3847
|
Data?: string;
|
|
3849
3848
|
/**
|
|
@@ -8418,14 +8417,6 @@ export interface UpsertCCRuleRequest {
|
|
|
8418
8417
|
* CC检测周期
|
|
8419
8418
|
*/
|
|
8420
8419
|
Interval: string;
|
|
8421
|
-
/**
|
|
8422
|
-
* 检测Url
|
|
8423
|
-
*/
|
|
8424
|
-
Url: string;
|
|
8425
|
-
/**
|
|
8426
|
-
* 匹配方法,0表示等于,1表示前缀匹配,2表示包含,3表示不等于,6表示后缀匹配,7表示不包含
|
|
8427
|
-
*/
|
|
8428
|
-
MatchFunc: number;
|
|
8429
8420
|
/**
|
|
8430
8421
|
* 动作,20表示观察,21表示人机识别,22表示拦截,23表示精准拦截,26表示精准人机识别,27表示JS校验
|
|
8431
8422
|
*/
|
|
@@ -8438,6 +8429,14 @@ export interface UpsertCCRuleRequest {
|
|
|
8438
8429
|
* 动作有效时间
|
|
8439
8430
|
*/
|
|
8440
8431
|
ValidTime: number;
|
|
8432
|
+
/**
|
|
8433
|
+
* 检测Url
|
|
8434
|
+
*/
|
|
8435
|
+
Url?: string;
|
|
8436
|
+
/**
|
|
8437
|
+
* 匹配方法,0表示等于,1表示前缀匹配,2表示包含,3表示不等于,6表示后缀匹配,7表示不包含
|
|
8438
|
+
*/
|
|
8439
|
+
MatchFunc?: number;
|
|
8441
8440
|
/**
|
|
8442
8441
|
* CC的匹配条件JSON序列化的字符串,示例:[{\"key\":\"Method\",\"args\":[\"=R0VU\"],\"match\":\"0\",\"encodeflag\":true}] Key可选值为 Method、Post、Referer、Cookie、User-Agent、CustomHeader match可选值为,当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、2(包含),3(不等于)、7(不包含)、 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空)。 Key为IPLocation时,可选值为13(属于)、14(不属于)。args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
|
|
8443
8442
|
*/
|
|
@@ -8474,6 +8473,14 @@ export interface UpsertCCRuleRequest {
|
|
|
8474
8473
|
* 限频方式
|
|
8475
8474
|
*/
|
|
8476
8475
|
LimitMethod?: string;
|
|
8476
|
+
/**
|
|
8477
|
+
* cel表达式
|
|
8478
|
+
*/
|
|
8479
|
+
CelRule?: string;
|
|
8480
|
+
/**
|
|
8481
|
+
* 配置方式的逻辑操作符,and或者or
|
|
8482
|
+
*/
|
|
8483
|
+
LogicalOp?: string;
|
|
8477
8484
|
}
|
|
8478
8485
|
/**
|
|
8479
8486
|
* ModifyAreaBanRule返回参数结构体
|
|
@@ -9204,6 +9211,14 @@ export interface CCRuleItems {
|
|
|
9204
9211
|
* 限频方式
|
|
9205
9212
|
*/
|
|
9206
9213
|
LimitMethod?: string;
|
|
9214
|
+
/**
|
|
9215
|
+
* cel表达式
|
|
9216
|
+
*/
|
|
9217
|
+
CelRule?: string;
|
|
9218
|
+
/**
|
|
9219
|
+
* 逻辑操作符
|
|
9220
|
+
*/
|
|
9221
|
+
LogicalOp?: string;
|
|
9207
9222
|
}
|
|
9208
9223
|
/**
|
|
9209
9224
|
* ModifyDomainIpv6Status请求参数结构体
|
|
@@ -9428,6 +9443,10 @@ export interface ModifyCustomWhiteRuleRequest {
|
|
|
9428
9443
|
* 定时任务配置
|
|
9429
9444
|
*/
|
|
9430
9445
|
JobDateTime?: JobDateTime;
|
|
9446
|
+
/**
|
|
9447
|
+
* 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
9448
|
+
*/
|
|
9449
|
+
LogicalOp?: string;
|
|
9431
9450
|
}
|
|
9432
9451
|
/**
|
|
9433
9452
|
* DeleteCustomWhiteRule请求参数结构体
|
|
@@ -9509,6 +9528,10 @@ export interface AddCustomWhiteRuleRequest {
|
|
|
9509
9528
|
* 定时任务配置
|
|
9510
9529
|
*/
|
|
9511
9530
|
JobDateTime?: JobDateTime;
|
|
9531
|
+
/**
|
|
9532
|
+
* 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
9533
|
+
*/
|
|
9534
|
+
LogicalOp?: string;
|
|
9512
9535
|
}
|
|
9513
9536
|
/**
|
|
9514
9537
|
* 规则周期执行的数据结构
|