tencentcloud-sdk-nodejs-waf 4.1.17 → 4.1.22

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.
@@ -183,6 +183,27 @@ export interface DescribeApiListVersionTwoResponse {
183
183
  */
184
184
  RequestId?: string;
185
185
  }
186
+ /**
187
+ * 当前开启的、匹配范围为全局、优先级最高的场景信息
188
+ */
189
+ export interface GlobalSceneInfo {
190
+ /**
191
+ * 场景ID
192
+ */
193
+ SceneId?: string;
194
+ /**
195
+ * 场景名称
196
+ */
197
+ SceneName?: string;
198
+ /**
199
+ * 场景优先级
200
+ */
201
+ Priority?: number;
202
+ /**
203
+ * 场景更新时间
204
+ */
205
+ UpdateTime?: number;
206
+ }
186
207
  /**
187
208
  * DescribePeakValue返回参数结构体
188
209
  */
@@ -548,6 +569,15 @@ export interface ModifyHostModeResponse {
548
569
  */
549
570
  RequestId?: string;
550
571
  }
572
+ /**
573
+ * ModifyBotSceneStatus返回参数结构体
574
+ */
575
+ export interface ModifyBotSceneStatusResponse {
576
+ /**
577
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
578
+ */
579
+ RequestId?: string;
580
+ }
551
581
  /**
552
582
  * GetAttackDownloadRecords请求参数结构体
553
583
  */
@@ -712,6 +742,51 @@ export interface AddAntiInfoLeakRulesRequest {
712
742
  */
713
743
  Uri?: string;
714
744
  }
745
+ /**
746
+ * bot-token配置
747
+ */
748
+ export interface BotToken {
749
+ /**
750
+ * 会话名称
751
+ */
752
+ Name?: string;
753
+ /**
754
+ * 会话描述
755
+ */
756
+ Description?: string;
757
+ /**
758
+ * 会话id
759
+ */
760
+ Id?: string;
761
+ /**
762
+ * 策略的开关状态
763
+ */
764
+ Status?: boolean;
765
+ /**
766
+ * 会话位置
767
+ */
768
+ Location?: string;
769
+ /**
770
+ * 会话key
771
+ */
772
+ Key?: string;
773
+ /**
774
+ * 会话匹配方式,前缀匹配、后缀匹配等
775
+ */
776
+ Operator?: string;
777
+ /**
778
+ * 会话更新的时间戳
779
+ */
780
+ Timestamp?: number;
781
+ /**
782
+ * 场景列表,内容为空表示全部场景应用
783
+ */
784
+ Scene?: Array<string>;
785
+ /**
786
+ * 优先级
787
+ */
788
+ Priority?: number;
789
+ }
715
790
  /**
716
791
  * DeleteAttackWhiteRule返回参数结构体
717
792
  */
@@ -986,17 +1061,17 @@ export interface HostRecord {
986
1061
  Note?: string;
987
1062
  }
988
1063
  /**
989
- * ModifyCustomRule返回参数结构体
1064
+ * 获取自定义规则列表时的出参
990
1065
  */
991
- export interface ModifyCustomRuleResponse {
1066
+ export interface DescribeBotUCBRuleRsp {
992
1067
  /**
993
- * 操作的状态码,如果所有的资源操作成功则返回的是成功的状态码,如果有资源操作失败则需要解析Message的内容来查看哪个资源失败
1068
+ * 规则列表
994
1069
  */
995
- Success?: ResponseCode;
1070
+ Res?: Array<InOutputBotUCBRule>;
996
1071
  /**
997
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1072
+ * 规则总数
998
1073
  */
999
- RequestId?: string;
1074
+ TotalCount?: number;
1000
1075
  }
1001
1076
  /**
1002
1077
  * FreshAntiFakeUrl请求参数结构体
@@ -1202,6 +1277,19 @@ export interface DescribeAccessFastAnalysisRequest {
1202
1277
  */
1203
1278
  Count?: number;
1204
1279
  }
1280
+ /**
1281
+ * bot自定义规则动作灰度
1282
+ */
1283
+ export interface UCBActionProportion {
1284
+ /**
1285
+ * 动作
1286
+ */
1287
+ Action?: string;
1288
+ /**
1289
+ * 比例
1290
+ */
1291
+ Proportion?: number;
1292
+ }
1205
1293
  /**
1206
1294
  * DeleteIpAccessControl请求参数结构体
1207
1295
  */
@@ -1987,13 +2075,49 @@ export interface TargetEntity {
1987
2075
  Domain?: string;
1988
2076
  }
1989
2077
  /**
1990
- * DeleteHost请求参数结构体
2078
+ * DescribeBotSceneUCBRule请求参数结构体
1991
2079
  */
1992
- export interface DeleteHostRequest {
2080
+ export interface DescribeBotSceneUCBRuleRequest {
1993
2081
  /**
1994
- * 删除的域名列表
2082
+ * 域名
1995
2083
  */
1996
- HostsDel: Array<HostDel>;
2084
+ Domain: string;
2085
+ /**
2086
+ * 翻页组件的起始页
2087
+ */
2088
+ Skip: number;
2089
+ /**
2090
+ * 翻页组件的页数据条数
2091
+ */
2092
+ Limit: number;
2093
+ /**
2094
+ * 排序参数
2095
+ */
2096
+ Sort: string;
2097
+ /**
2098
+ * 1.BOT全局白名单处调用时,传"global";2.BOT场景配置处调用时,传具体的场景ID
2099
+ */
2100
+ SceneId: string;
2101
+ /**
2102
+ * 需要过滤的动作
2103
+ */
2104
+ Operate?: string;
2105
+ /**
2106
+ * 需要过滤的规则名称
2107
+ */
2108
+ Name?: string;
2109
+ /**
2110
+ * 兼容老数据和新旧版前端
2111
+ */
2112
+ VersionFlag?: string;
2113
+ /**
2114
+ * 生效方式:0-全部 1-永久生效 2-定时生效 3-周粒度生效 4-月粒度生效
2115
+ */
2116
+ TimerType?: number;
2117
+ /**
2118
+ * 0-全部 1-生效中 2-已过期
2119
+ */
2120
+ ValidStatus?: number;
1997
2121
  }
1998
2122
  /**
1999
2123
  * DescribeDomainCountInfo请求参数结构体
@@ -2382,6 +2506,23 @@ export interface BatchOperateUserSignatureRulesRequest {
2382
2506
  */
2383
2507
  Filters?: Array<FiltersItemNew>;
2384
2508
  }
2509
+ /**
2510
+ * 设置哪些字段是否存储或转发
2511
+ */
2512
+ export interface FieldWriteConfig {
2513
+ /**
2514
+ * 1:开启 0:不开启
2515
+ */
2516
+ EnableHeaders?: number;
2517
+ /**
2518
+ * 1:开启 0:不开启
2519
+ */
2520
+ EnableBody?: number;
2521
+ /**
2522
+ * 1:开启 0:不开启
2523
+ */
2524
+ EnableBot?: number;
2525
+ }
2385
2526
  /**
2386
2527
  * ModifyWafThreatenIntelligence返回参数结构体
2387
2528
  */
@@ -2622,6 +2763,32 @@ export interface ModifyAntiInfoLeakRulesResponse {
2622
2763
  */
2623
2764
  RequestId?: string;
2624
2765
  }
2766
+ /**
2767
+ * DeleteBotSceneUCBRule请求参数结构体
2768
+ */
2769
+ export interface DeleteBotSceneUCBRuleRequest {
2770
+ /**
2771
+ * 域名
2772
+ */
2773
+ Domain: string;
2774
+ /**
2775
+ * 自定义规则ID
2776
+ */
2777
+ RuleId: string;
2778
+ /**
2779
+ * 1.BOT全局白名单处调用时,传"global";2.BOT场景配置时,传具体的场景ID
2780
+ */
2781
+ SceneId: string;
2782
+ }
2783
+ /**
2784
+ * DeleteHost请求参数结构体
2785
+ */
2786
+ export interface DeleteHostRequest {
2787
+ /**
2788
+ * 删除的域名列表
2789
+ */
2790
+ HostsDel: Array<HostDel>;
2791
+ }
2625
2792
  /**
2626
2793
  * 获取弹性qps的默认相关值
2627
2794
  */
@@ -3006,6 +3173,31 @@ export interface DescribeDomainsResponse {
3006
3173
  */
3007
3174
  RequestId?: string;
3008
3175
  }
3176
+ /**
3177
+ * 动作策略的匹配规则实体
3178
+ */
3179
+ export interface BotActionScopeRuleEntry {
3180
+ /**
3181
+ * 参数
3182
+ */
3183
+ Key?: string;
3184
+ /**
3185
+ * 匹配符
3186
+ */
3187
+ Op?: string;
3188
+ /**
3189
+ * 参数值
3190
+ */
3191
+ Value?: string;
3192
+ /**
3193
+ * 对于头部字段匹配value的时候指定的头部名
3194
+ */
3195
+ Name?: string;
3196
+ /**
3197
+ * 470后使用此字段存储多值
3198
+ */
3199
+ ValueArray?: Array<string>;
3200
+ }
3009
3201
  /**
3010
3202
  * AddAntiFakeUrl返回参数结构体
3011
3203
  */
@@ -3535,6 +3727,23 @@ export interface ApiPkg {
3535
3727
  */
3536
3728
  IsAPISecurityTrial?: number;
3537
3729
  }
3730
+ /**
3731
+ * ModifyBotSceneStatus请求参数结构体
3732
+ */
3733
+ export interface ModifyBotSceneStatusRequest {
3734
+ /**
3735
+ * 域名
3736
+ */
3737
+ Domain: string;
3738
+ /**
3739
+ * 场景ID
3740
+ */
3741
+ SceneId: string;
3742
+ /**
3743
+ * true-开启 false-关闭
3744
+ */
3745
+ Status: boolean;
3746
+ }
3538
3747
  /**
3539
3748
  * DescribeAreaBanSupportAreas返回参数结构体
3540
3749
  */
@@ -3561,6 +3770,20 @@ export interface TigaMainClassMode {
3561
3770
  */
3562
3771
  Mode?: number;
3563
3772
  }
3773
+ /**
3774
+ * DeleteBotSceneUCBRule返回参数结构体
3775
+ */
3776
+ export interface DeleteBotSceneUCBRuleResponse {
3777
+ /**
3778
+ * 正常情况下为null
3779
+ 注意:此字段可能返回 null,表示取不到有效值。
3780
+ */
3781
+ Data?: string;
3782
+ /**
3783
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3784
+ */
3785
+ RequestId?: string;
3786
+ }
3564
3787
  /**
3565
3788
  * DescribeUserSignatureClass返回参数结构体
3566
3789
  */
@@ -3893,6 +4116,20 @@ export interface UserWhiteRuleItem {
3893
4116
  */
3894
4117
  MatchParams?: string;
3895
4118
  }
4119
+ /**
4120
+ * DescribeBotSceneUCBRule返回参数结构体
4121
+ */
4122
+ export interface DescribeBotSceneUCBRuleResponse {
4123
+ /**
4124
+ * 返回数据包
4125
+ 注意:此字段可能返回 null,表示取不到有效值。
4126
+ */
4127
+ Data?: DescribeBotUCBRuleRsp;
4128
+ /**
4129
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4130
+ */
4131
+ RequestId?: string;
4132
+ }
3896
4133
  /**
3897
4134
  * 产品明细
3898
4135
  */
@@ -4083,84 +4320,110 @@ export interface DeleteIpAccessControlResponse {
4083
4320
  RequestId?: string;
4084
4321
  }
4085
4322
  /**
4086
- * 批量多域名黑白名单列表Ip
4323
+ * Clb类型防护对象
4087
4324
  */
4088
- export interface BatchIpAccessControlItem {
4325
+ export interface ClbObject {
4089
4326
  /**
4090
- * mongo表自增Id
4091
- * @deprecated
4327
+ * 对象ID
4092
4328
  */
4093
- Id?: string;
4329
+ ObjectId?: string;
4094
4330
  /**
4095
- * 黑名单42或白名单40
4331
+ * 实例ID
4096
4332
  */
4097
- ActionType?: number;
4333
+ InstanceId?: string;
4098
4334
  /**
4099
- * 黑白名单的IP
4100
- * @deprecated
4335
+ * 实例名称
4101
4336
  */
4102
- Ip?: string;
4337
+ InstanceName?: string;
4103
4338
  /**
4104
- * 备注
4339
+ * 精准域名列表
4105
4340
  */
4106
- Note?: string;
4341
+ PreciseDomains?: Array<string>;
4107
4342
  /**
4108
- * batch为批量域名,batch-group为防护对象组
4343
+ * WAF功能开关状态,0关闭1开启
4109
4344
  */
4110
- Source?: string;
4345
+ Status?: number;
4111
4346
  /**
4112
- * 修改时间
4347
+ * WAF日志开关状态,0关闭1开启
4113
4348
  */
4114
- TsVersion?: number;
4349
+ ClsStatus?: number;
4115
4350
  /**
4116
- * 超时时间
4351
+ * CLB对象对应的虚拟域名
4117
4352
  */
4118
- ValidTs?: number;
4353
+ VirtualDomain?: string;
4119
4354
  /**
4120
- * 域名列表
4355
+ * 对象名称
4121
4356
  */
4122
- Hosts?: Array<string>;
4357
+ ObjectName?: string;
4123
4358
  /**
4124
- * 55101145
4359
+ * 公网地址
4125
4360
  */
4126
- RuleId?: number;
4361
+ PublicIp?: Array<string>;
4127
4362
  /**
4128
- * IP列表
4363
+ * 内网地址
4129
4364
  */
4130
- IpList?: Array<string>;
4365
+ PrivateIp?: Array<string>;
4131
4366
  /**
4132
- * 创建时间
4367
+ * VPC名称
4133
4368
  */
4134
- CreateTime?: number;
4369
+ VpcName?: string;
4135
4370
  /**
4136
- * 定时任务类型
4371
+ * VPC ID
4137
4372
  */
4138
- JobType?: string;
4373
+ Vpc?: string;
4139
4374
  /**
4140
- * 周期任务类型
4375
+ * waf实例等级,如果未绑定实例为0
4141
4376
  */
4142
- CronType?: string;
4377
+ InstanceLevel?: number;
4143
4378
  /**
4144
- * 定时任务配置详情
4379
+ * clb投递开关
4145
4380
  */
4146
- JobDateTime?: JobDateTime;
4381
+ PostCLSStatus?: number;
4147
4382
  /**
4148
- * 生效状态
4383
+ * kafka投递开关
4149
4384
  */
4150
- ValidStatus?: number;
4385
+ PostCKafkaStatus?: number;
4151
4386
  /**
4152
- * 防护对象组ID列表,如果绑定的是防护对象组
4387
+ * 对象类型:CLB:负载均衡器,TSE:云原生网关
4153
4388
  */
4154
- GroupIds?: Array<number | bigint>;
4155
- }
4156
- /**
4157
- * api列表
4158
- */
4159
- export interface ApiSecKey {
4389
+ Type?: string;
4160
4390
  /**
4161
- * api名称
4391
+ * 对象地域
4162
4392
  */
4163
- ApiName: string;
4393
+ Region?: string;
4394
+ /**
4395
+ * 代理状态: 0:不开启,1:以XFF的第一个IP地址作为客户端IP,2:以remote_addr作为客户端IP,3:从指定的头部字段获取客户端IP,字段通过IpHeaders字段给出
4396
+ */
4397
+ Proxy?: number;
4398
+ /**
4399
+ * 指定获取客户端IP的头部字段列表。IsCdn为3时有效
4400
+ */
4401
+ IpHeaders?: Array<string>;
4402
+ /**
4403
+ * bot防护开关
4404
+ */
4405
+ BotStatus?: number;
4406
+ /**
4407
+ * api防护开关
4408
+ */
4409
+ ApiStatus?: number;
4410
+ /**
4411
+ * 对象接入模式,0表示镜像模式,1表示清洗模式,2表示体检模式,默认为清洗模式
4412
+ */
4413
+ ObjectFlowMode?: number;
4414
+ /**
4415
+ * 数值形式的私有网络 ID
4416
+ */
4417
+ NumericalVpcId?: number;
4418
+ }
4419
+ /**
4420
+ * api列表
4421
+ */
4422
+ export interface ApiSecKey {
4423
+ /**
4424
+ * api名称
4425
+ */
4426
+ ApiName: string;
4164
4427
  /**
4165
4428
  * 域名
4166
4429
  */
@@ -4342,6 +4605,31 @@ export interface FraudPkg {
4342
4605
  */
4343
4606
  RenewFlag?: number;
4344
4607
  }
4608
+ /**
4609
+ * 云图API改版后, 不支持将复杂json类型编码成string,因此通过此复杂类型识别传入的不同类型参数值
4610
+ */
4611
+ export interface UCBEntryValue {
4612
+ /**
4613
+ * string类型值
4614
+ */
4615
+ BasicValue?: string;
4616
+ /**
4617
+ * 布尔类型值
4618
+ */
4619
+ LogicValue?: boolean;
4620
+ /**
4621
+ * string数组类型值
4622
+ */
4623
+ BelongValue?: Array<string>;
4624
+ /**
4625
+ * 指示有效的字段
4626
+ */
4627
+ ValidKey?: string;
4628
+ /**
4629
+ * string数组类型值
4630
+ */
4631
+ MultiValue?: Array<string>;
4632
+ }
4345
4633
  /**
4346
4634
  * DescribeDomainDetailsClb返回参数结构体
4347
4635
  */
@@ -4661,6 +4949,27 @@ export interface GoodNews {
4661
4949
  */
4662
4950
  RegionId?: number;
4663
4951
  }
4952
+ /**
4953
+ * ModifyBotSceneUCBRule请求参数结构体
4954
+ */
4955
+ export interface ModifyBotSceneUCBRuleRequest {
4956
+ /**
4957
+ * 域名
4958
+ */
4959
+ Domain: string;
4960
+ /**
4961
+ * 1.BOT全局白名单处调用时,传"global";2.BOT场景配置时,传具体的场景ID
4962
+ */
4963
+ SceneId: string;
4964
+ /**
4965
+ * 规则内容, 增加编码SceneId信息,1.BOT全局白名单处调用时,SceneId为"global", RuleType传10, Action为"permit";2.BOT场景配置时,SceneId为场景ID
4966
+ */
4967
+ Rule?: InOutputBotUCBRule;
4968
+ /**
4969
+ * 530改批量操作
4970
+ */
4971
+ BatchRules?: Array<InOutputBotUCBRule>;
4972
+ }
4664
4973
  /**
4665
4974
  * 扫描ip信息
4666
4975
  */
@@ -4784,6 +5093,43 @@ export interface CreatePostCKafkaFlowRequest {
4784
5093
  * kafka集群的版本号
4785
5094
  */
4786
5095
  KafkaVersion: string;
5096
+ /**
5097
+ * 是否开启SASL校验,默认不开启,0-关闭,1-开启
5098
+ */
5099
+ SASLEnable?: number;
5100
+ /**
5101
+ * SASL用户名
5102
+ */
5103
+ SASLUser?: string;
5104
+ /**
5105
+ * SASL密码
5106
+ */
5107
+ SASLPassword?: string;
5108
+ /**
5109
+ * 开启访问日志某些字段是否投递
5110
+ */
5111
+ WriteConfig?: FieldWriteConfig;
5112
+ }
5113
+ /**
5114
+ * DescribeBotSceneList返回参数结构体
5115
+ */
5116
+ export interface DescribeBotSceneListResponse {
5117
+ /**
5118
+ * 符合筛选条件的场景数目
5119
+ */
5120
+ TotalCount?: number;
5121
+ /**
5122
+ * 当TotalCount为0时,返回空
5123
+ */
5124
+ BotSceneList?: Array<BotSceneInfo>;
5125
+ /**
5126
+ * true-简易模式
5127
+ */
5128
+ SimpleFlag?: boolean;
5129
+ /**
5130
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5131
+ */
5132
+ RequestId?: string;
4787
5133
  }
4788
5134
  /**
4789
5135
  * AddAntiInfoLeakRules返回参数结构体
@@ -5042,101 +5388,75 @@ export interface DescribeHistogramResponse {
5042
5388
  RequestId?: string;
5043
5389
  }
5044
5390
  /**
5045
- * Clb类型防护对象
5391
+ * 批量多域名黑白名单列表Ip
5046
5392
  */
5047
- export interface ClbObject {
5048
- /**
5049
- * 对象ID
5050
- */
5051
- ObjectId?: string;
5052
- /**
5053
- * 实例ID
5054
- */
5055
- InstanceId?: string;
5056
- /**
5057
- * 实例名称
5058
- */
5059
- InstanceName?: string;
5060
- /**
5061
- * 精准域名列表
5062
- */
5063
- PreciseDomains?: Array<string>;
5064
- /**
5065
- * WAF功能开关状态,0关闭1开启
5066
- */
5067
- Status?: number;
5068
- /**
5069
- * WAF日志开关状态,0关闭1开启
5070
- */
5071
- ClsStatus?: number;
5072
- /**
5073
- * CLB对象对应的虚拟域名
5074
- */
5075
- VirtualDomain?: string;
5393
+ export interface BatchIpAccessControlItem {
5076
5394
  /**
5077
- * 对象名称
5395
+ * mongo表自增Id
5396
+ * @deprecated
5078
5397
  */
5079
- ObjectName?: string;
5398
+ Id?: string;
5080
5399
  /**
5081
- * 公网地址
5400
+ * 黑名单42或白名单40
5082
5401
  */
5083
- PublicIp?: Array<string>;
5402
+ ActionType?: number;
5084
5403
  /**
5085
- * 内网地址
5404
+ * 黑白名单的IP
5405
+ * @deprecated
5086
5406
  */
5087
- PrivateIp?: Array<string>;
5407
+ Ip?: string;
5088
5408
  /**
5089
- * VPC名称
5409
+ * 备注
5090
5410
  */
5091
- VpcName?: string;
5411
+ Note?: string;
5092
5412
  /**
5093
- * VPC ID
5413
+ * batch为批量域名,batch-group为防护对象组
5094
5414
  */
5095
- Vpc?: string;
5415
+ Source?: string;
5096
5416
  /**
5097
- * waf实例等级,如果未绑定实例为0
5417
+ * 修改时间
5098
5418
  */
5099
- InstanceLevel?: number;
5419
+ TsVersion?: number;
5100
5420
  /**
5101
- * clb投递开关
5421
+ * 超时时间
5102
5422
  */
5103
- PostCLSStatus?: number;
5423
+ ValidTs?: number;
5104
5424
  /**
5105
- * kafka投递开关
5425
+ * 域名列表
5106
5426
  */
5107
- PostCKafkaStatus?: number;
5427
+ Hosts?: Array<string>;
5108
5428
  /**
5109
- * 对象类型:CLB:负载均衡器,TSE:云原生网关
5429
+ * 55101145
5110
5430
  */
5111
- Type?: string;
5431
+ RuleId?: number;
5112
5432
  /**
5113
- * 对象地域
5433
+ * IP列表
5114
5434
  */
5115
- Region?: string;
5435
+ IpList?: Array<string>;
5116
5436
  /**
5117
- * 代理状态: 0:不开启,1:以XFF的第一个IP地址作为客户端IP,2:以remote_addr作为客户端IP,3:从指定的头部字段获取客户端IP,字段通过IpHeaders字段给出
5437
+ * 创建时间
5118
5438
  */
5119
- Proxy?: number;
5439
+ CreateTime?: number;
5120
5440
  /**
5121
- * 指定获取客户端IP的头部字段列表。IsCdn为3时有效
5441
+ * 定时任务类型
5122
5442
  */
5123
- IpHeaders?: Array<string>;
5443
+ JobType?: string;
5124
5444
  /**
5125
- * bot防护开关
5445
+ * 周期任务类型
5126
5446
  */
5127
- BotStatus?: number;
5447
+ CronType?: string;
5128
5448
  /**
5129
- * api防护开关
5449
+ * 定时任务配置详情
5130
5450
  */
5131
- ApiStatus?: number;
5451
+ JobDateTime?: JobDateTime;
5132
5452
  /**
5133
- * 对象接入模式,0表示镜像模式,1表示清洗模式,2表示体检模式,默认为清洗模式
5453
+ * 生效状态
5134
5454
  */
5135
- ObjectFlowMode?: number;
5455
+ ValidStatus?: number;
5136
5456
  /**
5137
- * 数值形式的私有网络 ID
5457
+ * 防护对象组ID列表,如果绑定的是防护对象组
5138
5458
  */
5139
- NumericalVpcId?: number;
5459
+ GroupIds?: Array<number | bigint>;
5140
5460
  }
5141
5461
  /**
5142
5462
  * ModifyUserLevel返回参数结构体
@@ -5181,17 +5501,17 @@ export interface CreateAccessExportRequest {
5181
5501
  Order?: string;
5182
5502
  }
5183
5503
  /**
5184
- * ModifyUserLevel请求参数结构体
5504
+ * ModifyBotSceneUCBRule返回参数结构体
5185
5505
  */
5186
- export interface ModifyUserLevelRequest {
5506
+ export interface ModifyBotSceneUCBRuleResponse {
5187
5507
  /**
5188
- * 域名
5508
+ * 正常情况下为null
5189
5509
  */
5190
- Domain: string;
5510
+ Data?: string;
5191
5511
  /**
5192
- * 防护规则等级 300=standard,400=extended
5512
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5193
5513
  */
5194
- Level: number;
5514
+ RequestId?: string;
5195
5515
  }
5196
5516
  /**
5197
5517
  * DescribeIpHitItems返回参数结构体
@@ -5386,6 +5706,31 @@ export interface MiniPkg {
5386
5706
  */
5387
5707
  BillingItem?: string;
5388
5708
  }
5709
+ /**
5710
+ * 场景匹配条件
5711
+ */
5712
+ export interface BotSceneMatchCondition {
5713
+ /**
5714
+ * 匹配参数
5715
+ */
5716
+ Key: string;
5717
+ /**
5718
+ * 匹配符
5719
+ */
5720
+ Op: string;
5721
+ /**
5722
+ * 匹配值
5723
+ */
5724
+ Value: string;
5725
+ /**
5726
+ * 对于头部字段匹配value的时候指定的头部名
5727
+ */
5728
+ Name?: string;
5729
+ /**
5730
+ * 470后使用此入参存在多值
5731
+ */
5732
+ ValueArray?: Array<string>;
5733
+ }
5389
5734
  /**
5390
5735
  * DescribeAreaBanAreas请求参数结构体
5391
5736
  */
@@ -5486,65 +5831,58 @@ export interface AccessRuleTagInfo {
5486
5831
  KeyValues?: Array<AccessKeyValueInfo>;
5487
5832
  }
5488
5833
  /**
5489
- * ip黑白名单
5834
+ * ModifyInstanceQpsLimit请求参数结构体
5490
5835
  */
5491
- export interface IpAccessControlItem {
5492
- /**
5493
- * mongo表自增Id
5494
- */
5495
- Id?: string;
5496
- /**
5497
- * 动作
5498
- */
5499
- ActionType?: number;
5500
- /**
5501
- * ip
5502
- */
5503
- Ip?: string;
5836
+ export interface ModifyInstanceQpsLimitRequest {
5504
5837
  /**
5505
- * 备注
5838
+ * 套餐实例id
5506
5839
  */
5507
- Note?: string;
5840
+ InstanceId: string;
5508
5841
  /**
5509
- * 来源
5842
+ * qps上限
5510
5843
  */
5511
- Source?: string;
5844
+ QpsLimit: number;
5845
+ }
5846
+ /**
5847
+ * 自定义规则UCB的Rule生效条件
5848
+ */
5849
+ export interface InOutputUCBRuleEntry {
5512
5850
  /**
5513
- * 更新时间戳
5851
+ *
5514
5852
  */
5515
- TsVersion?: number;
5853
+ Key?: string;
5516
5854
  /**
5517
- * 有效截止时间戳
5855
+ * 操作符
5518
5856
  */
5519
- ValidTs?: number;
5857
+ Op?: string;
5520
5858
  /**
5521
- * 生效状态
5859
+ *
5522
5860
  */
5523
- ValidStatus?: number;
5861
+ Value?: UCBEntryValue;
5524
5862
  /**
5525
- * 55000001
5863
+ * 可选的补充操作符
5526
5864
  */
5527
- RuleId?: number;
5865
+ OpOp?: string;
5528
5866
  /**
5529
- * IP列表
5867
+ * 可选的补充参数
5530
5868
  */
5531
- IpList?: Array<string>;
5869
+ OpArg?: Array<string>;
5532
5870
  /**
5533
- * 规则创建时间
5871
+ * 可选的补充值
5534
5872
  */
5535
- CreateTime?: number;
5873
+ OpValue?: number;
5536
5874
  /**
5537
- * 定时任务类型
5875
+ * Header参数值时使用
5538
5876
  */
5539
- JobType?: string;
5877
+ Name?: string;
5540
5878
  /**
5541
- * 周期任务类型
5879
+ * 区域选择
5542
5880
  */
5543
- CronType?: string;
5881
+ Areas?: Array<Area>;
5544
5882
  /**
5545
- * 定时任务配置详情
5883
+ * 语言环境
5546
5884
  */
5547
- JobDateTime?: JobDateTime;
5885
+ Lang?: string;
5548
5886
  }
5549
5887
  /**
5550
5888
  * DestroyPostCLSFlow返回参数结构体
@@ -5764,6 +6102,51 @@ export interface UpsertIpAccessControlRequest {
5764
6102
  */
5765
6103
  SourceType?: string;
5766
6104
  }
6105
+ /**
6106
+ * 获取场景动作策略列表时的动作策略实体
6107
+ */
6108
+ export interface BotSceneActionRule {
6109
+ /**
6110
+ * 动作策略ID
6111
+ */
6112
+ RuleId?: string;
6113
+ /**
6114
+ * 动作策略名称
6115
+ */
6116
+ RuleName?: string;
6117
+ /**
6118
+ * 策略优先级
6119
+ */
6120
+ Priority?: number;
6121
+ /**
6122
+ * 策略生效状态
6123
+ */
6124
+ Status?: boolean;
6125
+ /**
6126
+ * 分数范围
6127
+ */
6128
+ Score?: Array<BotScoreRuleEntry>;
6129
+ /**
6130
+ * 100-宽松、200-中等、300-严格、0-自定义
6131
+ */
6132
+ Level?: string;
6133
+ /**
6134
+ * 生效范围,为空表示全部范围
6135
+ */
6136
+ Scope?: Array<BotActionScopeRuleEntry>;
6137
+ /**
6138
+ * default:默认创建 custom:自定义创建
6139
+ */
6140
+ Type?: string;
6141
+ /**
6142
+ * 匹配范围类型:全局匹配 or 自定义匹配范围
6143
+ */
6144
+ ScopeType?: string;
6145
+ /**
6146
+ * 匹配条件间的与或关系
6147
+ */
6148
+ ActionMatchType?: string;
6149
+ }
5767
6150
  /**
5768
6151
  * session定义
5769
6152
  */
@@ -5978,74 +6361,272 @@ export interface IpAccessControlParam {
5978
6361
  */
5979
6362
  export interface DescribeCustomRuleListResponse {
5980
6363
  /**
5981
- * 规则详情
6364
+ * 规则详情
6365
+ */
6366
+ RuleList?: Array<DescribeCustomRulesRspRuleListItem>;
6367
+ /**
6368
+ * 规则条数
6369
+ */
6370
+ TotalCount?: string;
6371
+ /**
6372
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6373
+ */
6374
+ RequestId?: string;
6375
+ }
6376
+ /**
6377
+ * GetInstanceQpsLimit请求参数结构体
6378
+ */
6379
+ export interface GetInstanceQpsLimitRequest {
6380
+ /**
6381
+ * 套餐实例id
6382
+ */
6383
+ InstanceId: string;
6384
+ /**
6385
+ * 套餐类型
6386
+ */
6387
+ Type?: string;
6388
+ }
6389
+ /**
6390
+ * 场景的详细配置信息
6391
+ */
6392
+ export interface BotSceneInfo {
6393
+ /**
6394
+ * 场景ID
6395
+ */
6396
+ SceneId?: string;
6397
+ /**
6398
+ * 场景类型,default:默认场景,custom:非默认场景
6399
+ */
6400
+ Type?: string;
6401
+ /**
6402
+ * 场景名
6403
+ */
6404
+ SceneName?: string;
6405
+ /**
6406
+ * 更新时间
6407
+ */
6408
+ UpdateTime?: number;
6409
+ /**
6410
+ * 场景模板类型,登录: login 秒杀:seckill 爬内容:crawl 自定义: custom
6411
+ */
6412
+ BusinessType?: Array<string>;
6413
+ /**
6414
+ * 客户端类型,浏览器/H5 : browser 小程序: miniApp App:
6415
+ */
6416
+ ClientType?: Array<string>;
6417
+ /**
6418
+ * 优先级
6419
+ */
6420
+ Priority?: number;
6421
+ /**
6422
+ * 匹配范围
6423
+ */
6424
+ MatchCondition?: Array<BotSceneMatchCondition>;
6425
+ /**
6426
+ * 场景开关
6427
+ */
6428
+ SceneStatus?: boolean;
6429
+ /**
6430
+ * 前端对抗开关
6431
+ */
6432
+ JsInjectStatus?: boolean;
6433
+ /**
6434
+ * AI开关
6435
+ */
6436
+ AIStatus?: boolean;
6437
+ /**
6438
+ * TI开关
6439
+ */
6440
+ TIStatus?: boolean;
6441
+ /**
6442
+ * 智能统计开关
6443
+ */
6444
+ StatisticStatus?: boolean;
6445
+ /**
6446
+ * 动作策略数量
6447
+ */
6448
+ ActionRuleCount?: number;
6449
+ /**
6450
+ * 自定义规则数量
6451
+ */
6452
+ UCBCount?: number;
6453
+ /**
6454
+ * 场景的匹配范围,global-全部匹配 custom-自定义匹配范围
6455
+ */
6456
+ MatchType?: string;
6457
+ /**
6458
+ * 匹配条件间的与或关系
6459
+ */
6460
+ ActionMatchType?: string;
6461
+ /**
6462
+ * UA模块开关
6463
+ */
6464
+ UAStatus?: boolean;
6465
+ /**
6466
+ * 简易模式场景:前端对抗对应mysql的记录id
6467
+ */
6468
+ JsInjectRuleId?: number;
6469
+ /**
6470
+ * 简易模式场景:前端对抗配置动作
6471
+ */
6472
+ JsInjectAction?: number;
6473
+ /**
6474
+ * 简易模式场景:前端对抗重定向路径
6475
+ */
6476
+ JsInjectRedirect?: string;
6477
+ /**
6478
+ * 简易模式场景:动作策略信息 PS:简易模式只有一个动作策略
6479
+ */
6480
+ ActionRuleList?: Array<BotSceneActionRule>;
6481
+ /**
6482
+ * 简易模式场景:monitor-观察 intercept-拦截 custom-自定义
6483
+ */
6484
+ BotIdPattern?: string;
6485
+ /**
6486
+ * 简易模式场景:bot_id规则总数
6487
+ */
6488
+ BotIdCount?: number;
6489
+ /**
6490
+ * 简易模式场景:观察动作的规则总数
6491
+ */
6492
+ BotIdMonitorCount?: number;
6493
+ /**
6494
+ * 简易模式场景:拦截动作的规则总数
6495
+ */
6496
+ BotIdInterceptCount?: number;
6497
+ /**
6498
+ * 创建场景时选择的规则集
6499
+ */
6500
+ RuleSetSelection?: Array<string>;
6501
+ /**
6502
+ * 改场景的bot token列表
6503
+ */
6504
+ TokenList?: Array<BotToken>;
6505
+ /**
6506
+ * 简易模式场景:重定向动作的规则总数
6507
+ */
6508
+ BotIdRedirectCount?: number;
6509
+ /**
6510
+ * 简易模式场景:人机识别动作的规则总数
6511
+ */
6512
+ BotIdCaptchaCount?: number;
6513
+ /**
6514
+ * 简易模式场景:防护等级
6515
+ */
6516
+ BotIdProtectLevel?: string;
6517
+ /**
6518
+ * 简易模式场景:全局重定向路径
6519
+ */
6520
+ BotIdGlobalRedirect?: string;
6521
+ /**
6522
+ * 简易模式场景:JS校验动作的规则总数
6523
+ */
6524
+ BotIdJsChallengeCount?: number;
6525
+ }
6526
+ /**
6527
+ * 参数包装
6528
+ */
6529
+ export interface SessionData {
6530
+ /**
6531
+ * session定义
6532
+ */
6533
+ Res?: Array<SessionItem>;
6534
+ }
6535
+ /**
6536
+ * DescribeAutoDenyIP返回参数结构体
6537
+ */
6538
+ export interface DescribeAutoDenyIPResponse {
6539
+ /**
6540
+ * 查询IP封禁状态返回结果
6541
+ */
6542
+ Data?: IpHitItemsData;
6543
+ /**
6544
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6545
+ */
6546
+ RequestId?: string;
6547
+ }
6548
+ /**
6549
+ * SwitchDomainRules返回参数结构体
6550
+ */
6551
+ export interface SwitchDomainRulesResponse {
6552
+ /**
6553
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6554
+ */
6555
+ RequestId?: string;
6556
+ }
6557
+ /**
6558
+ * ModifyCustomRule返回参数结构体
6559
+ */
6560
+ export interface ModifyCustomRuleResponse {
6561
+ /**
6562
+ * 操作的状态码,如果所有的资源操作成功则返回的是成功的状态码,如果有资源操作失败则需要解析Message的内容来查看哪个资源失败
6563
+ */
6564
+ Success?: ResponseCode;
6565
+ /**
6566
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6567
+ */
6568
+ RequestId?: string;
6569
+ }
6570
+ /**
6571
+ * ip黑白名单
6572
+ */
6573
+ export interface IpAccessControlItem {
6574
+ /**
6575
+ * mongo表自增Id
6576
+ */
6577
+ Id?: string;
6578
+ /**
6579
+ * 动作
6580
+ */
6581
+ ActionType?: number;
6582
+ /**
6583
+ * ip
6584
+ */
6585
+ Ip?: string;
6586
+ /**
6587
+ * 备注
5982
6588
  */
5983
- RuleList?: Array<DescribeCustomRulesRspRuleListItem>;
6589
+ Note?: string;
5984
6590
  /**
5985
- * 规则条数
6591
+ * 来源
5986
6592
  */
5987
- TotalCount?: string;
6593
+ Source?: string;
5988
6594
  /**
5989
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6595
+ * 更新时间戳
5990
6596
  */
5991
- RequestId?: string;
5992
- }
5993
- /**
5994
- * GetInstanceQpsLimit请求参数结构体
5995
- */
5996
- export interface GetInstanceQpsLimitRequest {
6597
+ TsVersion?: number;
5997
6598
  /**
5998
- * 套餐实例id
6599
+ * 有效截止时间戳
5999
6600
  */
6000
- InstanceId: string;
6601
+ ValidTs?: number;
6001
6602
  /**
6002
- * 套餐类型
6603
+ * 生效状态
6003
6604
  */
6004
- Type?: string;
6005
- }
6006
- /**
6007
- * 参数包装
6008
- */
6009
- export interface SessionData {
6605
+ ValidStatus?: number;
6010
6606
  /**
6011
- * session定义
6607
+ * 55000001
6012
6608
  */
6013
- Res?: Array<SessionItem>;
6014
- }
6015
- /**
6016
- * DescribeAutoDenyIP返回参数结构体
6017
- */
6018
- export interface DescribeAutoDenyIPResponse {
6609
+ RuleId?: number;
6019
6610
  /**
6020
- * 查询IP封禁状态返回结果
6611
+ * IP列表
6021
6612
  */
6022
- Data?: IpHitItemsData;
6613
+ IpList?: Array<string>;
6023
6614
  /**
6024
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6615
+ * 规则创建时间
6025
6616
  */
6026
- RequestId?: string;
6027
- }
6028
- /**
6029
- * SwitchDomainRules返回参数结构体
6030
- */
6031
- export interface SwitchDomainRulesResponse {
6617
+ CreateTime?: number;
6032
6618
  /**
6033
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6619
+ * 定时任务类型
6034
6620
  */
6035
- RequestId?: string;
6036
- }
6037
- /**
6038
- * ModifyInstanceQpsLimit请求参数结构体
6039
- */
6040
- export interface ModifyInstanceQpsLimitRequest {
6621
+ JobType?: string;
6041
6622
  /**
6042
- * 套餐实例id
6623
+ * 周期任务类型
6043
6624
  */
6044
- InstanceId: string;
6625
+ CronType?: string;
6045
6626
  /**
6046
- * qps上限
6627
+ * 定时任务配置详情
6047
6628
  */
6048
- QpsLimit: number;
6629
+ JobDateTime?: JobDateTime;
6049
6630
  }
6050
6631
  /**
6051
6632
  * FreshAntiFakeUrl返回参数结构体
@@ -7264,6 +7845,19 @@ export interface GenerateDealsAndPayNewResponse {
7264
7845
  */
7265
7846
  RequestId?: string;
7266
7847
  }
7848
+ /**
7849
+ * ModifyUserLevel请求参数结构体
7850
+ */
7851
+ export interface ModifyUserLevelRequest {
7852
+ /**
7853
+ * 域名
7854
+ */
7855
+ Domain: string;
7856
+ /**
7857
+ * 防护规则等级 300=standard,400=extended
7858
+ */
7859
+ Level: number;
7860
+ }
7267
7861
  /**
7268
7862
  * DescribeCCRule请求参数结构体
7269
7863
  */
@@ -7392,22 +7986,51 @@ export interface DescribeAccessHistogramResponse {
7392
7986
  RequestId?: string;
7393
7987
  }
7394
7988
  /**
7395
- * DescribeTopAttackDomain返回参数结构体
7989
+ * ModifyHostFlowMode返回参数结构体
7396
7990
  */
7397
- export interface DescribeTopAttackDomainResponse {
7398
- /**
7399
- * CC攻击域名列表
7400
- */
7401
- CC?: Array<KVInt>;
7991
+ export interface ModifyHostFlowModeResponse {
7402
7992
  /**
7403
- * Web攻击域名列表
7993
+ * 成功的状态码
7404
7994
  */
7405
- Web?: Array<KVInt>;
7995
+ Success?: ResponseCode;
7406
7996
  /**
7407
7997
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7408
7998
  */
7409
7999
  RequestId?: string;
7410
8000
  }
8001
+ /**
8002
+ * DescribeBotSceneList请求参数结构体
8003
+ */
8004
+ export interface DescribeBotSceneListRequest {
8005
+ /**
8006
+ * 域名
8007
+ */
8008
+ Domain: string;
8009
+ /**
8010
+ * 每页数量
8011
+ */
8012
+ Limit: number;
8013
+ /**
8014
+ * 页码
8015
+ */
8016
+ Offset: number;
8017
+ /**
8018
+ * 场景模板类型,通过此下拉字段进行场景筛选。全部: all 登录: login 秒杀:seckill 爬内容:crawl 自定义: custom
8019
+ */
8020
+ BusinessType?: Array<string>;
8021
+ /**
8022
+ * 通过场景名称模糊搜索
8023
+ */
8024
+ SceneName?: string;
8025
+ /**
8026
+ * 是否只显示默认场景
8027
+ */
8028
+ IsDefault?: boolean;
8029
+ /**
8030
+ * 是否仅显示生效场景
8031
+ */
8032
+ IsValid?: boolean;
8033
+ }
7411
8034
  /**
7412
8035
  * 计费下单接口出入参Goods
7413
8036
  */
@@ -7487,6 +8110,31 @@ export interface DescribeAccessHistogramRequest {
7487
8110
  */
7488
8111
  Interval?: number;
7489
8112
  }
8113
+ /**
8114
+ * 动作策略的一条分数段实体
8115
+ */
8116
+ export interface BotScoreRuleEntry {
8117
+ /**
8118
+ * 分数区间上限
8119
+ */
8120
+ Upper: string;
8121
+ /**
8122
+ * 分数区间下限
8123
+ */
8124
+ Lower: string;
8125
+ /**
8126
+ * 处置动作
8127
+ */
8128
+ Action: string;
8129
+ /**
8130
+ * 流量标签
8131
+ */
8132
+ Label: string;
8133
+ /**
8134
+ * 重定向
8135
+ */
8136
+ Redirect?: string;
8137
+ }
7490
8138
  /**
7491
8139
  * DescribeWafThreatenIntelligence请求参数结构体
7492
8140
  */
@@ -8257,13 +8905,17 @@ export interface DescribePeakPointsRequest {
8257
8905
  MetricName?: string;
8258
8906
  }
8259
8907
  /**
8260
- * ModifyHostFlowMode返回参数结构体
8908
+ * DescribeTopAttackDomain返回参数结构体
8261
8909
  */
8262
- export interface ModifyHostFlowModeResponse {
8910
+ export interface DescribeTopAttackDomainResponse {
8263
8911
  /**
8264
- * 成功的状态码
8912
+ * CC攻击域名列表
8265
8913
  */
8266
- Success?: ResponseCode;
8914
+ CC?: Array<KVInt>;
8915
+ /**
8916
+ * Web攻击域名列表
8917
+ */
8918
+ Web?: Array<KVInt>;
8267
8919
  /**
8268
8920
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8269
8921
  */
@@ -9377,6 +10029,103 @@ export interface ModifyModuleStatusResponse {
9377
10029
  */
9378
10030
  RequestId?: string;
9379
10031
  }
10032
+ /**
10033
+ * 修改/新增自定义规则的入参,查询自定义规则列表时的出参
10034
+ */
10035
+ export interface InOutputBotUCBRule {
10036
+ /**
10037
+ * 域名
10038
+ */
10039
+ Domain: string;
10040
+ /**
10041
+ * 规则名称
10042
+ */
10043
+ Name: string;
10044
+ /**
10045
+ * UCB的具体规则项
10046
+ */
10047
+ Rule: Array<InOutputUCBRuleEntry>;
10048
+ /**
10049
+ * 处置动作
10050
+ */
10051
+ Action: string;
10052
+ /**
10053
+ * 规则开关
10054
+ */
10055
+ OnOff: string;
10056
+ /**
10057
+ * 规则类型
10058
+ */
10059
+ RuleType: number;
10060
+ /**
10061
+ * 规则优先级
10062
+ */
10063
+ Prior: number;
10064
+ /**
10065
+ * 修改时间戳
10066
+ */
10067
+ Timestamp: number;
10068
+ /**
10069
+ * 标签
10070
+ */
10071
+ Label: string;
10072
+ /**
10073
+ * 入参ID
10074
+ */
10075
+ Id?: string;
10076
+ /**
10077
+ * 场景ID
10078
+ */
10079
+ SceneId?: string;
10080
+ /**
10081
+ * 生效时间
10082
+ */
10083
+ ValidTime?: number;
10084
+ /**
10085
+ * 传入的appid
10086
+ */
10087
+ Appid?: number;
10088
+ /**
10089
+ * 额外参数
10090
+ */
10091
+ AdditionArg?: string;
10092
+ /**
10093
+ * 规则描述
10094
+ */
10095
+ Desc?: string;
10096
+ /**
10097
+ * 规则ID
10098
+ */
10099
+ RuleId?: string;
10100
+ /**
10101
+ * true-系统预设规则 false-自定义规则
10102
+ */
10103
+ PreDefine?: boolean;
10104
+ /**
10105
+ * 定时任务类型
10106
+ */
10107
+ JobType?: string;
10108
+ /**
10109
+ * 定时任务配置
10110
+ */
10111
+ JobDateTime?: JobDateTime;
10112
+ /**
10113
+ * 生效截止时间
10114
+ */
10115
+ ExpireTime?: number;
10116
+ /**
10117
+ * 生效-1,失效-0
10118
+ */
10119
+ ValidStatus?: number;
10120
+ /**
10121
+ * 自定义拦截页面ID
10122
+ */
10123
+ BlockPageId?: number;
10124
+ /**
10125
+ * 当Action=intercept时,此字段必填
10126
+ */
10127
+ ActionList?: Array<UCBActionProportion>;
10128
+ }
9380
10129
  /**
9381
10130
  * 攻击日志详情
9382
10131
  */
@@ -10091,6 +10840,36 @@ export interface DeleteAntiInfoLeakRuleRequest {
10091
10840
  */
10092
10841
  RuleId: number;
10093
10842
  }
10843
+ /**
10844
+ * DescribeBotSceneOverview返回参数结构体
10845
+ */
10846
+ export interface DescribeBotSceneOverviewResponse {
10847
+ /**
10848
+ * BOT总开关
10849
+ */
10850
+ Status?: boolean;
10851
+ /**
10852
+ * 场景总数
10853
+ */
10854
+ SceneCount?: number;
10855
+ /**
10856
+ * 生效场景数
10857
+ */
10858
+ ValidSceneCount?: number;
10859
+ /**
10860
+ * 当前开启的、匹配范围为全局、优先级最高的场景
10861
+ 注意:此字段可能返回 null,表示取不到有效值。
10862
+ */
10863
+ CurrentGlobalScene?: GlobalSceneInfo;
10864
+ /**
10865
+ * 自定义规则总数,不包括BOT白名单
10866
+ */
10867
+ CustomRuleNums?: number;
10868
+ /**
10869
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10870
+ */
10871
+ RequestId?: string;
10872
+ }
10094
10873
  /**
10095
10874
  * DescribeVipInfo返回参数结构体
10096
10875
  */
@@ -10281,6 +11060,15 @@ export interface DescribeSessionResponse {
10281
11060
  */
10282
11061
  RequestId?: string;
10283
11062
  }
11063
+ /**
11064
+ * DescribeBotSceneOverview请求参数结构体
11065
+ */
11066
+ export interface DescribeBotSceneOverviewRequest {
11067
+ /**
11068
+ * 域名
11069
+ */
11070
+ Domain: string;
11071
+ }
10284
11072
  /**
10285
11073
  * CKafka投递流
10286
11074
  */
@@ -10317,6 +11105,34 @@ export interface PostCKafkaFlowInfo {
10317
11105
  * 主题名称
10318
11106
  */
10319
11107
  Topic?: string;
11108
+ /**
11109
+ * 压缩算法,支持gzip 和 lz4
11110
+ */
11111
+ Compression?: string;
11112
+ /**
11113
+ * 是否支持SASL,0-关闭,1-开启
11114
+ */
11115
+ SASLEnable?: number;
11116
+ /**
11117
+ * SASL用户名
11118
+ */
11119
+ SASLUser?: string;
11120
+ /**
11121
+ * SALS密码
11122
+ */
11123
+ SASLPassword?: string;
11124
+ /**
11125
+ * 描述信息
11126
+ */
11127
+ Content?: string;
11128
+ /**
11129
+ * 1-外网TGW,2-支撑环境,默认为支撑环境
11130
+ */
11131
+ VipType?: number;
11132
+ /**
11133
+ * 配置状态
11134
+ */
11135
+ WriteConfig?: FieldWriteConfig;
10320
11136
  }
10321
11137
  /**
10322
11138
  * UpsertSession请求参数结构体