tencentcloud-sdk-nodejs-waf 4.1.34 → 4.1.35

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-waf",
3
- "version": "4.1.34",
3
+ "version": "4.1.35",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1145,7 +1145,7 @@ export interface ModifyAreaBanStatusRequest {
1145
1145
  */
1146
1146
  export interface SpartaProtectionPort {
1147
1147
  /**
1148
- * 分配的服务器id
1148
+ * 分配的服务器id。首次接入的域名和端口该参数填0,已接入的域名和端口分配的id可以通过DescribeDomainDetailsSaas或DescribeDomains接口获取。
1149
1149
  */
1150
1150
  NginxServerId: number;
1151
1151
  /**
@@ -2168,6 +2168,10 @@ export interface DescribeBotSceneUCBRuleRequest {
2168
2168
  * 0-全部 1-生效中 2-已过期
2169
2169
  */
2170
2170
  ValidStatus?: number;
2171
+ /**
2172
+ * 规则id
2173
+ */
2174
+ RuleId?: string;
2171
2175
  }
2172
2176
  /**
2173
2177
  * DescribeDomainCountInfo请求参数结构体
@@ -2632,10 +2636,6 @@ export interface LoadBalancer {
2632
2636
  * 负载均衡监听器的名称
2633
2637
  */
2634
2638
  ListenerName: string;
2635
- /**
2636
- * 负载均衡实例的IP
2637
- */
2638
- Vip: string;
2639
2639
  /**
2640
2640
  * 负载均衡实例的端口
2641
2641
  */
@@ -2652,6 +2652,10 @@ export interface LoadBalancer {
2652
2652
  * 负载均衡监听器所在的zone
2653
2653
  */
2654
2654
  Zone: string;
2655
+ /**
2656
+ * 负载均衡实例的IP。域名化CLB VIP可填空。
2657
+ */
2658
+ Vip?: string;
2655
2659
  /**
2656
2660
  * 负载均衡的VPCID,公网为-1,内网按实际填写
2657
2661
  */
@@ -3672,7 +3676,7 @@ export interface ModifyHostFlowModeRequest {
3672
3676
  */
3673
3677
  export interface CreateHostRequest {
3674
3678
  /**
3675
- * 防护域名配置信息
3679
+ * 防护域名配置信息。内网负载均衡器必须携带对应的NumericalVpcId。
3676
3680
  */
3677
3681
  Host: HostRecord;
3678
3682
  /**
@@ -4185,7 +4189,6 @@ export interface UserWhiteRuleItem {
4185
4189
  export interface DescribeBotSceneUCBRuleResponse {
4186
4190
  /**
4187
4191
  * 返回数据包
4188
- 注意:此字段可能返回 null,表示取不到有效值。
4189
4192
  */
4190
4193
  Data?: DescribeBotUCBRuleRsp;
4191
4194
  /**
@@ -4478,6 +4481,14 @@ export interface ClbObject {
4478
4481
  * 数值形式的私有网络 ID
4479
4482
  */
4480
4483
  NumericalVpcId?: number;
4484
+ /**
4485
+ * 修改时间
4486
+ */
4487
+ ModifyTime?: string;
4488
+ /**
4489
+ * 创建时间
4490
+ */
4491
+ AddTime?: string;
4481
4492
  }
4482
4493
  /**
4483
4494
  * api列表
@@ -5571,6 +5582,10 @@ export interface ModifyBotSceneUCBRuleResponse {
5571
5582
  * 正常情况下为null
5572
5583
  */
5573
5584
  Data?: string;
5585
+ /**
5586
+ * ["1231"]
5587
+ */
5588
+ RuleIdList?: Array<string>;
5574
5589
  /**
5575
5590
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5576
5591
  */
@@ -5611,7 +5626,7 @@ export interface DescribeCertificateVerifyResultRequest {
5611
5626
  */
5612
5627
  Domain: string;
5613
5628
  /**
5614
- * 证书类型。 0:不检测国际标准证书 1:证书来源为自有证书 2:证书来源为托管证书
5629
+ * 证书类型,此参数和GmCertType不可同时为0。 0:不检测国际标准证书 1:证书来源为自有证书 2:证书来源为托管证书
5615
5630
  */
5616
5631
  CertType?: number;
5617
5632
  /**
@@ -5627,7 +5642,7 @@ export interface DescribeCertificateVerifyResultRequest {
5627
5642
  */
5628
5643
  PrivateKey?: string;
5629
5644
  /**
5630
- * 国密证书类型。0:不检测国密证书 1:证书来源为自有国密证书 2:证书来源为托管国密证书
5645
+ * 国密证书类型,此参数和CertType不可同时为0。0:不检测国密证书 1:证书来源为自有国密证书 2:证书来源为托管国密证书
5631
5646
  */
5632
5647
  GmCertType?: number;
5633
5648
  /**
@@ -5655,6 +5670,19 @@ export interface DescribeCertificateVerifyResultRequest {
5655
5670
  * DescribeUserCdcClbWafRegions请求参数结构体
5656
5671
  */
5657
5672
  export declare type DescribeUserCdcClbWafRegionsRequest = null;
5673
+ /**
5674
+ * bot-自定义规则请求参数比对结构体
5675
+ */
5676
+ export interface ParamCompareList {
5677
+ /**
5678
+ * 请求参数比对的匹配参数
5679
+ */
5680
+ Key?: string;
5681
+ /**
5682
+ * 请求参数比对的匹配值
5683
+ */
5684
+ Value?: string;
5685
+ }
5658
5686
  /**
5659
5687
  * DeleteAttackDownloadRecord返回参数结构体
5660
5688
  */
@@ -5946,6 +5974,10 @@ export interface InOutputUCBRuleEntry {
5946
5974
  * 语言环境
5947
5975
  */
5948
5976
  Lang?: string;
5977
+ /**
5978
+ * 参数匹配
5979
+ */
5980
+ ParamCompareList?: Array<ParamCompareList>;
5949
5981
  }
5950
5982
  /**
5951
5983
  * DestroyPostCLSFlow返回参数结构体
@@ -8097,6 +8129,10 @@ export interface DescribeBotSceneListRequest {
8097
8129
  * 是否仅显示生效场景
8098
8130
  */
8099
8131
  IsValid?: boolean;
8132
+ /**
8133
+ * 要查询的场景id
8134
+ */
8135
+ SceneId?: string;
8100
8136
  }
8101
8137
  /**
8102
8138
  * 计费下单接口出入参Goods
@@ -8399,7 +8435,7 @@ export interface UpsertCCRuleRequest {
8399
8435
  */
8400
8436
  ValidTime: number;
8401
8437
  /**
8402
- * 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(内容为空)。 args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
8438
+ * 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。
8403
8439
  */
8404
8440
  OptionsArr?: string;
8405
8441
  /**
@@ -8430,6 +8466,10 @@ export interface UpsertCCRuleRequest {
8430
8466
  * url长度
8431
8467
  */
8432
8468
  Length?: number;
8469
+ /**
8470
+ * 限频方式
8471
+ */
8472
+ LimitMethod?: string;
8433
8473
  }
8434
8474
  /**
8435
8475
  * ModifyAreaBanRule返回参数结构体
@@ -9156,6 +9196,10 @@ export interface CCRuleItems {
9156
9196
  * 创建时间
9157
9197
  */
9158
9198
  CreateTime?: number;
9199
+ /**
9200
+ * 限频方式
9201
+ */
9202
+ LimitMethod?: string;
9159
9203
  }
9160
9204
  /**
9161
9205
  * ModifyDomainIpv6Status请求参数结构体
@@ -10192,6 +10236,10 @@ export interface InOutputBotUCBRule {
10192
10236
  * 当Action=intercept时,此字段必填
10193
10237
  */
10194
10238
  ActionList?: Array<UCBActionProportion>;
10239
+ /**
10240
+ * 惩罚时间
10241
+ */
10242
+ DelayTime?: number;
10195
10243
  }
10196
10244
  /**
10197
10245
  * 攻击日志详情
@@ -10925,7 +10973,6 @@ export interface DescribeBotSceneOverviewResponse {
10925
10973
  ValidSceneCount?: number;
10926
10974
  /**
10927
10975
  * 当前开启的、匹配范围为全局、优先级最高的场景
10928
- 注意:此字段可能返回 null,表示取不到有效值。
10929
10976
  */
10930
10977
  CurrentGlobalScene?: GlobalSceneInfo;
10931
10978
  /**
@@ -11470,6 +11517,14 @@ export interface DescribeObjectsRequest {
11470
11517
  * 支持的过滤器: ObjectId: clb实例ID VIP: clb实例的公网IP InstanceId: waf实例ID Domain: 精准域名 Status: waf防护开关状态: 0关闭,1开启 ClsStatus: waf日志开关: 0关闭,1开启
11471
11518
  */
11472
11519
  Filters?: Array<FiltersItemNew>;
11520
+ /**
11521
+ * 排序方式,支持asc或者desc
11522
+ */
11523
+ Order?: string;
11524
+ /**
11525
+ * 根据哪个字段排序
11526
+ */
11527
+ By?: string;
11473
11528
  }
11474
11529
  /**
11475
11530
  * ModifyHostStatus请求参数结构体