tencentcloud-sdk-nodejs-waf 4.0.379 → 4.0.380
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/CHANGELOG.md +166 -0
- package/SERVICE_CHANGELOG.md +204 -136
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/services/waf/v20180125/waf_client.ts +14 -28
- package/src/services/waf/v20180125/waf_models.ts +27 -147
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -9
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -12
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +24 -124
package/products.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|-|-|-|
|
|
3
3
|
| aa | [活动防刷](https://cloud.tencent.com/document/product/1189) | 2022-04-04 06:03:06 |
|
|
4
4
|
| aai | [](https://cloud.tencent.com/document/product) | 2019-08-08 23:15:13 |
|
|
5
|
-
| acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2022-
|
|
5
|
+
| acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2022-07-13 17:28:40 |
|
|
6
6
|
| advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2022-06-08 06:03:05 |
|
|
7
7
|
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-05-23 06:01:54 |
|
|
8
8
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-05-23 06:01:56 |
|
|
@@ -82,15 +82,15 @@
|
|
|
82
82
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-06-24 06:11:32 |
|
|
83
83
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
|
|
84
84
|
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-06-16 06:06:58 |
|
|
85
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-
|
|
86
|
-
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-07-
|
|
85
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-07-14 06:10:00 |
|
|
86
|
+
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-07-14 06:10:06 |
|
|
87
87
|
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-07-12 06:11:06 |
|
|
88
88
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-07-11 06:12:12 |
|
|
89
89
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
|
|
90
90
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-06-02 06:08:18 |
|
|
91
91
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
|
|
92
92
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2022-04-04 06:43:12 |
|
|
93
|
-
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-07-
|
|
93
|
+
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-07-14 06:10:30 |
|
|
94
94
|
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2022-04-04 06:44:28 |
|
|
95
95
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
|
|
96
96
|
| gs | [云游戏解决方案](https://cloud.tencent.com/document/product/1162) | 2022-04-08 06:07:59 |
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-05-27 06:10:42 |
|
|
109
109
|
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-06-08 06:10:59 |
|
|
110
110
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
|
|
111
|
-
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-07-
|
|
111
|
+
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-07-13 11:20:10 |
|
|
112
112
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-04-04 06:51:27 |
|
|
113
113
|
| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2022-07-13 06:13:00 |
|
|
114
114
|
| ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-06-10 17:14:46 |
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2022-04-04 06:57:43 |
|
|
122
122
|
| memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product/241) | 2022-04-04 06:57:44 |
|
|
123
123
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
|
|
124
|
-
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-
|
|
124
|
+
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-07-13 17:35:00 |
|
|
125
125
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-04-04 06:57:51 |
|
|
126
126
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-06-07 06:10:21 |
|
|
127
127
|
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-06-28 06:13:35 |
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
| redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-07-13 06:15:09 |
|
|
144
144
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2022-04-04 07:04:04 |
|
|
145
145
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
146
|
-
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-07-
|
|
146
|
+
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-07-14 06:14:27 |
|
|
147
147
|
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-05-19 06:16:44 |
|
|
148
148
|
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-06-15 06:13:30 |
|
|
149
149
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2022-04-25 06:11:28 |
|
|
@@ -153,13 +153,13 @@
|
|
|
153
153
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
154
154
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-06-07 06:12:09 |
|
|
155
155
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2022-04-22 06:14:46 |
|
|
156
|
-
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-
|
|
156
|
+
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-07-14 06:15:09 |
|
|
157
157
|
| sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2022-04-04 07:07:55 |
|
|
158
158
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2022-04-04 07:08:00 |
|
|
159
159
|
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2022-07-07 06:15:25 |
|
|
160
|
-
| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2022-07-
|
|
160
|
+
| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2022-07-14 06:15:21 |
|
|
161
161
|
| tag | [标签](https://cloud.tencent.com/document/product/651) | 2022-04-08 06:12:35 |
|
|
162
|
-
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2022-
|
|
162
|
+
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2022-07-13 15:54:56 |
|
|
163
163
|
| tat | [腾讯云自动化助手](https://cloud.tencent.com/document/product/1340) | 2022-04-08 06:12:44 |
|
|
164
164
|
| tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
|
|
165
165
|
| tbaas | [TBaaS](https://cloud.tencent.com/document/product/663) | 2022-06-20 15:31:45 |
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
203
203
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-07-12 06:19:53 |
|
|
204
204
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-07-05 06:24:34 |
|
|
205
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-
|
|
205
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-07-14 06:19:27 |
|
|
206
206
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
|
|
207
207
|
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-07-04 06:20:00 |
|
|
208
208
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
CreateAccessExportRequest,
|
|
21
21
|
DescribeWafAutoDenyRulesResponse,
|
|
22
22
|
DescribeIpHitItemsResponse,
|
|
23
|
-
DescribeCustomRulesRspRuleListItem,
|
|
24
23
|
DescribeUserClbWafRegionsResponse,
|
|
25
24
|
IpHitItemsData,
|
|
26
25
|
DeleteAttackDownloadRecordResponse,
|
|
@@ -35,19 +34,17 @@ import {
|
|
|
35
34
|
DescribeAccessIndexRequest,
|
|
36
35
|
DomainInfo,
|
|
37
36
|
AccessLogItem,
|
|
38
|
-
DescribeCustomRulesResponse,
|
|
39
37
|
DeleteSessionRequest,
|
|
40
38
|
DescribeWafAutoDenyRulesRequest,
|
|
41
39
|
AddCustomRuleResponse,
|
|
42
40
|
DescribeFlowTrendResponse,
|
|
43
41
|
UpsertIpAccessControlRequest,
|
|
44
|
-
DescribeCustomRulesPagingInfo,
|
|
45
42
|
DeleteDownloadRecordRequest,
|
|
46
43
|
DeleteAccessExportResponse,
|
|
47
44
|
DescribeAccessExportsRequest,
|
|
48
45
|
ModifyWafAutoDenyStatusRequest,
|
|
49
46
|
ModifyAccessPeriodResponse,
|
|
50
|
-
|
|
47
|
+
DescribeWafThreatenIntelligenceResponse,
|
|
51
48
|
FiltersItemNew,
|
|
52
49
|
DescribeAutoDenyIPResponse,
|
|
53
50
|
SearchAccessLogResponse,
|
|
@@ -82,7 +79,6 @@ import {
|
|
|
82
79
|
AccessKeyValueInfo,
|
|
83
80
|
AddCustomRuleRequest,
|
|
84
81
|
FraudPkg,
|
|
85
|
-
DescribeCustomRulesRequest,
|
|
86
82
|
ModifyDomainWhiteRuleResponse,
|
|
87
83
|
ExportAccessInfo,
|
|
88
84
|
ModifyDomainWhiteRuleRequest,
|
|
@@ -99,7 +95,7 @@ import {
|
|
|
99
95
|
DescribeUserClbWafRegionsRequest,
|
|
100
96
|
DescribeDomainWhiteRulesResponse,
|
|
101
97
|
DeleteAttackDownloadRecordRequest,
|
|
102
|
-
|
|
98
|
+
QPSPackageNew,
|
|
103
99
|
AddDomainWhiteRuleRequest,
|
|
104
100
|
UpsertIpAccessControlResponse,
|
|
105
101
|
IpHitItem,
|
|
@@ -136,16 +132,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
136
132
|
return this.request("DescribeAccessExports", req, cb)
|
|
137
133
|
}
|
|
138
134
|
|
|
139
|
-
/**
|
|
140
|
-
* 获取防护配置中的自定义策略列表
|
|
141
|
-
*/
|
|
142
|
-
async DescribeCustomRules(
|
|
143
|
-
req: DescribeCustomRulesRequest,
|
|
144
|
-
cb?: (error: string, rep: DescribeCustomRulesResponse) => void
|
|
145
|
-
): Promise<DescribeCustomRulesResponse> {
|
|
146
|
-
return this.request("DescribeCustomRules", req, cb)
|
|
147
|
-
}
|
|
148
|
-
|
|
149
135
|
/**
|
|
150
136
|
* 开启或禁用自定义策略
|
|
151
137
|
*/
|
|
@@ -259,13 +245,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
259
245
|
}
|
|
260
246
|
|
|
261
247
|
/**
|
|
262
|
-
*
|
|
248
|
+
* 创建攻击日志下载任务
|
|
263
249
|
*/
|
|
264
|
-
async
|
|
265
|
-
req
|
|
266
|
-
cb?: (error: string, rep:
|
|
267
|
-
): Promise<
|
|
268
|
-
return this.request("
|
|
250
|
+
async CreateAttackDownloadTask(
|
|
251
|
+
req: CreateAttackDownloadTaskRequest,
|
|
252
|
+
cb?: (error: string, rep: CreateAttackDownloadTaskResponse) => void
|
|
253
|
+
): Promise<CreateAttackDownloadTaskResponse> {
|
|
254
|
+
return this.request("CreateAttackDownloadTask", req, cb)
|
|
269
255
|
}
|
|
270
256
|
|
|
271
257
|
/**
|
|
@@ -349,13 +335,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
349
335
|
}
|
|
350
336
|
|
|
351
337
|
/**
|
|
352
|
-
*
|
|
338
|
+
* 在负载均衡型WAF的添加、编辑域名配置的时候,需要展示负载均衡型WAF(clb-waf)支持的地域列表,通过DescribeUserClbWafRegions既可以获得当前对客户已经开放的地域列表
|
|
353
339
|
*/
|
|
354
|
-
async
|
|
355
|
-
req
|
|
356
|
-
cb?: (error: string, rep:
|
|
357
|
-
): Promise<
|
|
358
|
-
return this.request("
|
|
340
|
+
async DescribeUserClbWafRegions(
|
|
341
|
+
req?: DescribeUserClbWafRegionsRequest,
|
|
342
|
+
cb?: (error: string, rep: DescribeUserClbWafRegionsResponse) => void
|
|
343
|
+
): Promise<DescribeUserClbWafRegionsResponse> {
|
|
344
|
+
return this.request("DescribeUserClbWafRegions", req, cb)
|
|
359
345
|
}
|
|
360
346
|
|
|
361
347
|
/**
|
|
@@ -101,61 +101,6 @@ export interface DescribeIpHitItemsResponse {
|
|
|
101
101
|
RequestId?: string
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
/**
|
|
105
|
-
* DescribeCustomRules接口回包中的复杂类型
|
|
106
|
-
*/
|
|
107
|
-
export interface DescribeCustomRulesRspRuleListItem {
|
|
108
|
-
/**
|
|
109
|
-
* 动作类型
|
|
110
|
-
*/
|
|
111
|
-
ActionType: string
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* 跳过的策略
|
|
115
|
-
*/
|
|
116
|
-
Bypass: string
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* 创建时间
|
|
120
|
-
*/
|
|
121
|
-
CreateTime: string
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* 过期时间
|
|
125
|
-
*/
|
|
126
|
-
ExpireTime: string
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* 策略名称
|
|
130
|
-
*/
|
|
131
|
-
Name: string
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* 重定向地址
|
|
135
|
-
*/
|
|
136
|
-
Redirect: string
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* 策略ID
|
|
140
|
-
*/
|
|
141
|
-
RuleId: string
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* 优先级
|
|
145
|
-
*/
|
|
146
|
-
SortId: string
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* 状态
|
|
150
|
-
*/
|
|
151
|
-
Status: string
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* 策略详情
|
|
155
|
-
*/
|
|
156
|
-
Strategies: Array<Strategy>
|
|
157
|
-
}
|
|
158
|
-
|
|
159
104
|
/**
|
|
160
105
|
* DescribeUserClbWafRegions返回参数结构体
|
|
161
106
|
*/
|
|
@@ -358,26 +303,6 @@ export interface AccessLogItem {
|
|
|
358
303
|
Value: string
|
|
359
304
|
}
|
|
360
305
|
|
|
361
|
-
/**
|
|
362
|
-
* DescribeCustomRules返回参数结构体
|
|
363
|
-
*/
|
|
364
|
-
export interface DescribeCustomRulesResponse {
|
|
365
|
-
/**
|
|
366
|
-
* 规则详情
|
|
367
|
-
*/
|
|
368
|
-
RuleList: Array<DescribeCustomRulesRspRuleListItem>
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* 规则条数
|
|
372
|
-
*/
|
|
373
|
-
TotalCount: string
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
377
|
-
*/
|
|
378
|
-
RequestId?: string
|
|
379
|
-
}
|
|
380
|
-
|
|
381
306
|
/**
|
|
382
307
|
* DeleteSession请求参数结构体
|
|
383
308
|
*/
|
|
@@ -459,21 +384,6 @@ export interface UpsertIpAccessControlRequest {
|
|
|
459
384
|
Edition?: string
|
|
460
385
|
}
|
|
461
386
|
|
|
462
|
-
/**
|
|
463
|
-
* DescribeCustomRules接口的翻页参数
|
|
464
|
-
*/
|
|
465
|
-
export interface DescribeCustomRulesPagingInfo {
|
|
466
|
-
/**
|
|
467
|
-
* 当前页码
|
|
468
|
-
*/
|
|
469
|
-
Offset: number
|
|
470
|
-
|
|
471
|
-
/**
|
|
472
|
-
* 当前页的最大数据条数
|
|
473
|
-
*/
|
|
474
|
-
Limit: number
|
|
475
|
-
}
|
|
476
|
-
|
|
477
387
|
/**
|
|
478
388
|
* DeleteDownloadRecord请求参数结构体
|
|
479
389
|
*/
|
|
@@ -535,33 +445,18 @@ export interface ModifyAccessPeriodResponse {
|
|
|
535
445
|
}
|
|
536
446
|
|
|
537
447
|
/**
|
|
538
|
-
*
|
|
448
|
+
* DescribeWafThreatenIntelligence返回参数结构体
|
|
539
449
|
*/
|
|
540
|
-
export interface
|
|
541
|
-
/**
|
|
542
|
-
* 资源ID
|
|
543
|
-
*/
|
|
544
|
-
ResourceIds: string
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* 过期时间
|
|
548
|
-
*/
|
|
549
|
-
ValidTime: string
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* 是否自动续费,1:自动续费,0:不自动续费
|
|
553
|
-
*/
|
|
554
|
-
RenewFlag: number
|
|
555
|
-
|
|
450
|
+
export interface DescribeWafThreatenIntelligenceResponse {
|
|
556
451
|
/**
|
|
557
|
-
*
|
|
452
|
+
* WAF 威胁情报封禁信息
|
|
558
453
|
*/
|
|
559
|
-
|
|
454
|
+
WafThreatenIntelligenceDetails?: WafThreatenIntelligenceDetails
|
|
560
455
|
|
|
561
456
|
/**
|
|
562
|
-
*
|
|
457
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
563
458
|
*/
|
|
564
|
-
|
|
459
|
+
RequestId?: string
|
|
565
460
|
}
|
|
566
461
|
|
|
567
462
|
/**
|
|
@@ -1706,36 +1601,6 @@ export interface FraudPkg {
|
|
|
1706
1601
|
UsedNum?: number
|
|
1707
1602
|
}
|
|
1708
1603
|
|
|
1709
|
-
/**
|
|
1710
|
-
* DescribeCustomRules请求参数结构体
|
|
1711
|
-
*/
|
|
1712
|
-
export interface DescribeCustomRulesRequest {
|
|
1713
|
-
/**
|
|
1714
|
-
* 域名
|
|
1715
|
-
*/
|
|
1716
|
-
Domain: string
|
|
1717
|
-
|
|
1718
|
-
/**
|
|
1719
|
-
* 分页参数
|
|
1720
|
-
*/
|
|
1721
|
-
Paging: DescribeCustomRulesPagingInfo
|
|
1722
|
-
|
|
1723
|
-
/**
|
|
1724
|
-
* clb-waf或者sparta-waf
|
|
1725
|
-
*/
|
|
1726
|
-
Edition?: string
|
|
1727
|
-
|
|
1728
|
-
/**
|
|
1729
|
-
* 过滤参数:动作类型:0放行,1阻断,2人机识别,3观察,4重定向
|
|
1730
|
-
*/
|
|
1731
|
-
ActionType?: string
|
|
1732
|
-
|
|
1733
|
-
/**
|
|
1734
|
-
* 过滤参数:规则名称过滤条件
|
|
1735
|
-
*/
|
|
1736
|
-
Search?: string
|
|
1737
|
-
}
|
|
1738
|
-
|
|
1739
1604
|
/**
|
|
1740
1605
|
* ModifyDomainWhiteRule返回参数结构体
|
|
1741
1606
|
*/
|
|
@@ -2134,18 +1999,33 @@ export interface DeleteAttackDownloadRecordRequest {
|
|
|
2134
1999
|
}
|
|
2135
2000
|
|
|
2136
2001
|
/**
|
|
2137
|
-
*
|
|
2002
|
+
* clb-waf QPS套餐 New
|
|
2138
2003
|
*/
|
|
2139
|
-
export interface
|
|
2004
|
+
export interface QPSPackageNew {
|
|
2140
2005
|
/**
|
|
2141
|
-
*
|
|
2006
|
+
* 资源ID
|
|
2142
2007
|
*/
|
|
2143
|
-
|
|
2008
|
+
ResourceIds: string
|
|
2144
2009
|
|
|
2145
2010
|
/**
|
|
2146
|
-
*
|
|
2011
|
+
* 过期时间
|
|
2147
2012
|
*/
|
|
2148
|
-
|
|
2013
|
+
ValidTime: string
|
|
2014
|
+
|
|
2015
|
+
/**
|
|
2016
|
+
* 是否自动续费,1:自动续费,0:不自动续费
|
|
2017
|
+
*/
|
|
2018
|
+
RenewFlag: number
|
|
2019
|
+
|
|
2020
|
+
/**
|
|
2021
|
+
* 套餐购买个数
|
|
2022
|
+
*/
|
|
2023
|
+
Count: number
|
|
2024
|
+
|
|
2025
|
+
/**
|
|
2026
|
+
* 套餐购买地域,clb-waf暂时没有用到
|
|
2027
|
+
*/
|
|
2028
|
+
Region: string
|
|
2149
2029
|
}
|
|
2150
2030
|
|
|
2151
2031
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { CreateAccessExportRequest, DescribeWafAutoDenyRulesResponse, DescribeIpHitItemsResponse, DescribeUserClbWafRegionsResponse, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, AddDomainWhiteRuleResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessIndexRequest,
|
|
2
|
+
import { CreateAccessExportRequest, DescribeWafAutoDenyRulesResponse, DescribeIpHitItemsResponse, DescribeUserClbWafRegionsResponse, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, AddDomainWhiteRuleResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, AddCustomRuleResponse, DescribeFlowTrendResponse, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DeleteAccessExportResponse, DescribeAccessExportsRequest, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeWafThreatenIntelligenceResponse, DescribeAutoDenyIPResponse, SearchAccessLogResponse, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, AddSpartaProtectionRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, CreateAttackDownloadTaskRequest, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, CreateAttackDownloadTaskResponse, DescribeDomainWhiteRulesRequest, ModifyCustomRuleStatusRequest, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, ModifyWafAutoDenyRulesResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, AddCustomRuleRequest, ModifyDomainWhiteRuleResponse, ModifyDomainWhiteRuleRequest, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, ModifyWafThreatenIntelligenceRequest, DescribeIpHitItemsRequest, DeleteAccessExportRequest, DescribeUserClbWafRegionsRequest, DescribeDomainWhiteRulesResponse, DeleteAttackDownloadRecordRequest, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DeleteSessionResponse, ModifyWafAutoDenyStatusResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, CreateAccessExportResponse, SearchAccessLogRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse } from "./waf_models";
|
|
3
3
|
/**
|
|
4
4
|
* waf client
|
|
5
5
|
* @class
|
|
@@ -10,10 +10,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
10
10
|
* 本接口用于获取访问日志导出列表
|
|
11
11
|
*/
|
|
12
12
|
DescribeAccessExports(req: DescribeAccessExportsRequest, cb?: (error: string, rep: DescribeAccessExportsResponse) => void): Promise<DescribeAccessExportsResponse>;
|
|
13
|
-
/**
|
|
14
|
-
* 获取防护配置中的自定义策略列表
|
|
15
|
-
*/
|
|
16
|
-
DescribeCustomRules(req: DescribeCustomRulesRequest, cb?: (error: string, rep: DescribeCustomRulesResponse) => void): Promise<DescribeCustomRulesResponse>;
|
|
17
13
|
/**
|
|
18
14
|
* 开启或禁用自定义策略
|
|
19
15
|
*/
|
|
@@ -61,9 +57,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
61
57
|
*/
|
|
62
58
|
DescribeFlowTrend(req: DescribeFlowTrendRequest, cb?: (error: string, rep: DescribeFlowTrendResponse) => void): Promise<DescribeFlowTrendResponse>;
|
|
63
59
|
/**
|
|
64
|
-
*
|
|
60
|
+
* 创建攻击日志下载任务
|
|
65
61
|
*/
|
|
66
|
-
|
|
62
|
+
CreateAttackDownloadTask(req: CreateAttackDownloadTaskRequest, cb?: (error: string, rep: CreateAttackDownloadTaskResponse) => void): Promise<CreateAttackDownloadTaskResponse>;
|
|
67
63
|
/**
|
|
68
64
|
* 更改某一条规则
|
|
69
65
|
*/
|
|
@@ -97,9 +93,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
97
93
|
*/
|
|
98
94
|
ModifyWafAutoDenyRules(req: ModifyWafAutoDenyRulesRequest, cb?: (error: string, rep: ModifyWafAutoDenyRulesResponse) => void): Promise<ModifyWafAutoDenyRulesResponse>;
|
|
99
95
|
/**
|
|
100
|
-
*
|
|
96
|
+
* 在负载均衡型WAF的添加、编辑域名配置的时候,需要展示负载均衡型WAF(clb-waf)支持的地域列表,通过DescribeUserClbWafRegions既可以获得当前对客户已经开放的地域列表
|
|
101
97
|
*/
|
|
102
|
-
|
|
98
|
+
DescribeUserClbWafRegions(req?: DescribeUserClbWafRegionsRequest, cb?: (error: string, rep: DescribeUserClbWafRegionsResponse) => void): Promise<DescribeUserClbWafRegionsResponse>;
|
|
103
99
|
/**
|
|
104
100
|
* 删除攻击日志下载任务记录
|
|
105
101
|
*/
|
|
@@ -33,12 +33,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
33
33
|
async DescribeAccessExports(req, cb) {
|
|
34
34
|
return this.request("DescribeAccessExports", req, cb);
|
|
35
35
|
}
|
|
36
|
-
/**
|
|
37
|
-
* 获取防护配置中的自定义策略列表
|
|
38
|
-
*/
|
|
39
|
-
async DescribeCustomRules(req, cb) {
|
|
40
|
-
return this.request("DescribeCustomRules", req, cb);
|
|
41
|
-
}
|
|
42
36
|
/**
|
|
43
37
|
* 开启或禁用自定义策略
|
|
44
38
|
*/
|
|
@@ -108,10 +102,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
108
102
|
return this.request("DescribeFlowTrend", req, cb);
|
|
109
103
|
}
|
|
110
104
|
/**
|
|
111
|
-
*
|
|
105
|
+
* 创建攻击日志下载任务
|
|
112
106
|
*/
|
|
113
|
-
async
|
|
114
|
-
return this.request("
|
|
107
|
+
async CreateAttackDownloadTask(req, cb) {
|
|
108
|
+
return this.request("CreateAttackDownloadTask", req, cb);
|
|
115
109
|
}
|
|
116
110
|
/**
|
|
117
111
|
* 更改某一条规则
|
|
@@ -162,10 +156,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
162
156
|
return this.request("ModifyWafAutoDenyRules", req, cb);
|
|
163
157
|
}
|
|
164
158
|
/**
|
|
165
|
-
*
|
|
159
|
+
* 在负载均衡型WAF的添加、编辑域名配置的时候,需要展示负载均衡型WAF(clb-waf)支持的地域列表,通过DescribeUserClbWafRegions既可以获得当前对客户已经开放的地域列表
|
|
166
160
|
*/
|
|
167
|
-
async
|
|
168
|
-
return this.request("
|
|
161
|
+
async DescribeUserClbWafRegions(req, cb) {
|
|
162
|
+
return this.request("DescribeUserClbWafRegions", req, cb);
|
|
169
163
|
}
|
|
170
164
|
/**
|
|
171
165
|
* 删除攻击日志下载任务记录
|