tencentcloud-sdk-nodejs-waf 4.0.582 → 4.0.583

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.0.582",
3
+ "version": "4.0.583",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -34,19 +34,19 @@
34
34
  | bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2021-01-07 08:02:40 |
35
35
  | bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2023-03-30 01:05:21 |
36
36
  | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2023-03-30 01:05:24 |
37
- | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2023-04-07 01:11:22 |
37
+ | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2023-04-19 01:05:13 |
38
38
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2023-04-06 20:55:55 |
39
39
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-04-12 01:08:36 |
40
40
  | casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-12-26 10:53:16 |
41
41
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-04-11 01:05:48 |
42
42
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-04-05 01:10:00 |
43
43
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-04-05 01:11:35 |
44
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-04-11 01:06:22 |
44
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-04-19 01:10:00 |
45
45
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-03-30 01:08:00 |
46
- | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-04-17 01:07:24 |
46
+ | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-04-19 01:11:05 |
47
47
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-03-30 01:08:37 |
48
48
  | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-04-03 01:07:25 |
49
- | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-04-17 01:08:05 |
49
+ | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-04-19 01:11:52 |
50
50
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-04-18 01:07:46 |
51
51
  | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-04-05 01:16:43 |
52
52
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-03-30 01:09:19 |
@@ -54,19 +54,19 @@
54
54
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-03-30 01:09:33 |
55
55
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
56
56
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
57
- | ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2023-04-10 01:12:49 |
57
+ | ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2023-04-19 01:12:57 |
58
58
  | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-04-10 01:13:36 |
59
59
  | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2023-04-05 01:18:15 |
60
60
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2023-03-30 01:10:35 |
61
61
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-04-05 01:18:28 |
62
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-04-14 01:13:53 |
62
+ | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-04-19 01:14:14 |
63
63
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2023-03-30 01:11:29 |
64
64
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2023-03-30 01:11:46 |
65
65
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
66
66
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-04-14 01:14:41 |
67
67
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
68
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-04-18 01:11:51 |
69
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-04-18 01:18:35 |
68
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-04-19 01:16:38 |
69
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-04-19 01:23:40 |
70
70
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
71
71
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-03-30 01:33:24 |
72
72
  | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-04-11 01:14:47 |
@@ -76,9 +76,9 @@
76
76
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-03-30 01:34:45 |
77
77
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-04-07 01:43:48 |
78
78
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-04-04 01:14:38 |
79
- | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-04-11 01:16:50 |
79
+ | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-04-19 01:26:51 |
80
80
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-04-14 01:33:12 |
81
- | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-04-17 01:16:50 |
81
+ | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-04-19 01:27:47 |
82
82
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-03-30 01:36:07 |
83
83
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2023-03-30 01:36:11 |
84
84
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
@@ -91,8 +91,8 @@
91
91
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-04-14 01:36:35 |
92
92
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-04-11 01:19:59 |
93
93
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-03-31 01:26:31 |
94
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-04-17 20:50:42 |
95
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-04-12 01:27:48 |
94
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-04-18 17:30:51 |
95
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-04-18 17:36:37 |
96
96
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-03-30 01:38:40 |
97
97
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-04-17 01:20:00 |
98
98
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-03-30 01:38:53 |
@@ -123,9 +123,9 @@
123
123
  | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2023-03-30 01:43:25 |
124
124
  | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-03-30 01:43:33 |
125
125
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2023-03-30 01:43:44 |
126
- | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-04-14 01:43:03 |
127
- | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-04-03 01:23:59 |
128
- | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-04-13 01:23:19 |
126
+ | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-04-19 01:35:50 |
127
+ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-04-19 01:37:08 |
128
+ | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-04-19 01:38:43 |
129
129
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
130
130
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
131
131
  | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2023-03-30 01:46:35 |
@@ -149,11 +149,11 @@
149
149
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-03-30 01:50:22 |
150
150
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-03-30 01:50:28 |
151
151
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-03-30 01:50:40 |
152
- | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2023-03-30 01:50:44 |
152
+ | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2023-04-19 01:42:53 |
153
153
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2023-03-30 01:51:05 |
154
154
  | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2023-04-07 02:06:22 |
155
155
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2023-03-30 01:51:25 |
156
- | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2023-04-14 01:50:06 |
156
+ | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2023-04-19 01:46:32 |
157
157
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2023-03-30 01:51:52 |
158
158
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-03-30 01:51:54 |
159
159
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
@@ -166,7 +166,7 @@
166
166
  | sms | [短信](https://cloud.tencent.com/document/product/382) | 2023-03-30 01:52:50 |
167
167
  | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2023-03-30 01:52:56 |
168
168
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
169
- | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-04-12 01:52:46 |
169
+ | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-04-19 01:48:11 |
170
170
  | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-03-30 01:53:27 |
171
171
  | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2023-03-30 01:53:35 |
172
172
  | sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2023-03-30 01:53:47 |
@@ -187,7 +187,7 @@
187
187
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
188
188
  | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2023-03-30 01:57:46 |
189
189
  | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-03-30 01:57:53 |
190
- | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-04-07 02:11:38 |
190
+ | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-04-19 01:50:55 |
191
191
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-03-30 02:27:00 |
192
192
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-03-30 02:27:07 |
193
193
  | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-04-05 01:56:03 |
@@ -203,7 +203,7 @@
203
203
  | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-03-30 02:30:09 |
204
204
  | tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-04-07 02:48:14 |
205
205
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-04-14 01:58:42 |
206
- | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-04-10 02:04:46 |
206
+ | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-04-19 01:55:58 |
207
207
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
208
208
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2023-03-30 02:45:27 |
209
209
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-03-30 02:45:29 |
@@ -212,8 +212,8 @@
212
212
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-04-18 01:48:00 |
213
213
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-04-12 02:06:17 |
214
214
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-04-14 02:00:19 |
215
- | tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-04-11 01:45:16 |
216
- | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-04-07 02:51:53 |
215
+ | tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-04-19 01:57:39 |
216
+ | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-04-19 01:58:00 |
217
217
  | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-03-30 02:47:12 |
218
218
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-03-30 02:47:14 |
219
219
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2023-03-30 02:47:18 |
@@ -222,7 +222,7 @@
222
222
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-04-11 01:47:42 |
223
223
  | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-04-04 01:53:39 |
224
224
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-04-14 02:04:14 |
225
- | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-04-18 01:52:40 |
225
+ | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-04-19 02:01:49 |
226
226
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-03-30 02:49:55 |
227
227
  | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-04-13 01:50:59 |
228
228
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
@@ -307,7 +307,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
307
307
  }
308
308
 
309
309
  /**
310
- * 本接口用于修改访问日志保存期限
310
+ * 本接口用于修改访问日志保存期限及大字段是否存储
311
311
  */
312
312
  async ModifyAccessPeriod(
313
313
  req: ModifyAccessPeriodRequest,
@@ -537,13 +537,20 @@ export interface DescribePeakPointsRequest {
537
537
  InstanceID?: string
538
538
 
539
539
  /**
540
- * 六个值可选:
540
+ * 十三个值可选:
541
541
  access-峰值qps趋势图
542
542
  botAccess- bot峰值qps趋势图
543
543
  down-下行峰值带宽趋势图
544
544
  up-上行峰值带宽趋势图
545
545
  attack-Web攻击总数趋势图
546
546
  cc-CC攻击总数趋势图
547
+ StatusServerError-WAF返回给客户端状态码次数趋势图
548
+ StatusClientError-WAF返回给客户端状态码次数趋势图
549
+ StatusRedirect-WAF返回给客户端状态码次数趋势图
550
+ StatusOk-WAF返回给客户端状态码次数趋势图
551
+ UpstreamServerError-源站返回给WAF状态码次数趋势图
552
+ UpstreamClientError-源站返回给WAF状态码次数趋势图
553
+ UpstreamRedirect-源站返回给WAF状态码次数趋势图
547
554
  */
548
555
  MetricName?: string
549
556
  }
@@ -1270,6 +1277,30 @@ export interface DomainsPartInfo {
1270
1277
  注意:此字段可能返回 null,表示取不到有效值。
1271
1278
  */
1272
1279
  ProxySendTimeout: number
1280
+
1281
+ /**
1282
+ * 0:关闭SNI;1:开启SNI,SNI=源请求host;2:开启SNI,SNI=修改为源站host;3:开启SNI,自定义host,SNI=SniHost;
1283
+ 注意:此字段可能返回 null,表示取不到有效值。
1284
+ */
1285
+ SniType: number
1286
+
1287
+ /**
1288
+ * SniType=3时,需要填此参数,表示自定义的host;
1289
+ 注意:此字段可能返回 null,表示取不到有效值。
1290
+ */
1291
+ SniHost: string
1292
+
1293
+ /**
1294
+ * 无
1295
+ 注意:此字段可能返回 null,表示取不到有效值。
1296
+ */
1297
+ Weights?: Array<string>
1298
+
1299
+ /**
1300
+ * IsCdn=3时,表示自定义header
1301
+ 注意:此字段可能返回 null,表示取不到有效值。
1302
+ */
1303
+ IpHeaders: Array<string>
1273
1304
  }
1274
1305
 
1275
1306
  /**
@@ -1488,6 +1519,18 @@ export interface HostRecord {
1488
1519
  注意:此字段可能返回 null,表示取不到有效值。
1489
1520
  */
1490
1521
  AlbType?: string
1522
+
1523
+ /**
1524
+ * IsCdn=3时,需要填此参数,表示自定义header
1525
+ 注意:此字段可能返回 null,表示取不到有效值。
1526
+ */
1527
+ IpHeaders?: Array<string>
1528
+
1529
+ /**
1530
+ * 规则引擎类型, 1: menshen, 2:tiga
1531
+ 注意:此字段可能返回 null,表示取不到有效值。
1532
+ */
1533
+ EngineType?: number
1491
1534
  }
1492
1535
 
1493
1536
  /**
@@ -1620,7 +1663,7 @@ export interface AddSpartaProtectionRequest {
1620
1663
  Ports?: Array<PortItem>
1621
1664
 
1622
1665
  /**
1623
- * 版本:sparta-wafclb-wafcdn-waf
1666
+ * WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF,cdn-waf表示CDN上的Web防护能力
1624
1667
  */
1625
1668
  Edition?: string
1626
1669
 
@@ -1673,6 +1716,21 @@ export interface AddSpartaProtectionRequest {
1673
1716
  * 300s
1674
1717
  */
1675
1718
  ProxySendTimeout?: number
1719
+
1720
+ /**
1721
+ * 0:关闭SNI;1:开启SNI,SNI=源请求host;2:开启SNI,SNI=修改为源站host;3:开启SNI,自定义host,SNI=SniHost;
1722
+ */
1723
+ SniType?: number
1724
+
1725
+ /**
1726
+ * SniType=3时,需要填此参数,表示自定义的host;
1727
+ */
1728
+ SniHost?: string
1729
+
1730
+ /**
1731
+ * is_cdn=3时,需要填此参数,表示自定义header
1732
+ */
1733
+ IpHeaders?: Array<string>
1676
1734
  }
1677
1735
 
1678
1736
  /**
@@ -1710,10 +1768,51 @@ export interface PeakPointsItem {
1710
1768
  Cc: number
1711
1769
 
1712
1770
  /**
1713
- * Bot qps
1771
+ * Bot qps
1772
+ */
1773
+ BotAccess: number
1774
+
1775
+ /**
1776
+ * WAF返回给客户端状态码次数
1714
1777
  注意:此字段可能返回 null,表示取不到有效值。
1715
1778
  */
1716
- BotAccess: number
1779
+ StatusServerError: number
1780
+
1781
+ /**
1782
+ * WAF返回给客户端状态码次数
1783
+ 注意:此字段可能返回 null,表示取不到有效值。
1784
+ */
1785
+ StatusClientError: number
1786
+
1787
+ /**
1788
+ * WAF返回给客户端状态码次数
1789
+ 注意:此字段可能返回 null,表示取不到有效值。
1790
+ */
1791
+ StatusRedirect: number
1792
+
1793
+ /**
1794
+ * WAF返回给客户端状态码次数
1795
+ 注意:此字段可能返回 null,表示取不到有效值。
1796
+ */
1797
+ StatusOk: number
1798
+
1799
+ /**
1800
+ * 源站返回给WAF状态码次数
1801
+ 注意:此字段可能返回 null,表示取不到有效值。
1802
+ */
1803
+ UpstreamServerError: number
1804
+
1805
+ /**
1806
+ * 源站返回给WAF状态码次数
1807
+ 注意:此字段可能返回 null,表示取不到有效值。
1808
+ */
1809
+ UpstreamClientError: number
1810
+
1811
+ /**
1812
+ * 源站返回给WAF状态码次数
1813
+ 注意:此字段可能返回 null,表示取不到有效值。
1814
+ */
1815
+ UpstreamRedirect: number
1717
1816
  }
1718
1817
 
1719
1818
  /**
@@ -2718,9 +2817,34 @@ export interface InstanceInfo {
2718
2817
  }
2719
2818
 
2720
2819
  /**
2721
- * 防护域名端口配置信息
2820
+ * 服务端口配置
2722
2821
  */
2723
- export type PortInfo = null
2822
+ export interface PortInfo {
2823
+ /**
2824
+ * Nginx的服务器id
2825
+ */
2826
+ NginxServerId: number
2827
+
2828
+ /**
2829
+ * 监听端口配置
2830
+ */
2831
+ Port: string
2832
+
2833
+ /**
2834
+ * 与端口对应的协议
2835
+ */
2836
+ Protocol: string
2837
+
2838
+ /**
2839
+ * 回源端口
2840
+ */
2841
+ UpstreamPort: string
2842
+
2843
+ /**
2844
+ * 回源协议
2845
+ */
2846
+ UpstreamProtocol: string
2847
+ }
2724
2848
 
2725
2849
  /**
2726
2850
  * DescribeDomainDetailsSaas返回参数结构体
@@ -2729,7 +2853,7 @@ export interface DescribeDomainDetailsSaasResponse {
2729
2853
  /**
2730
2854
  * 域名详情
2731
2855
  */
2732
- DomainsPartInfo: DomainsPartInfo
2856
+ DomainsPartInfo?: DomainsPartInfo
2733
2857
 
2734
2858
  /**
2735
2859
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -65,7 +65,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
65
65
  */
66
66
  ModifyWafAutoDenyStatus(req: ModifyWafAutoDenyStatusRequest, cb?: (error: string, rep: ModifyWafAutoDenyStatusResponse) => void): Promise<ModifyWafAutoDenyStatusResponse>;
67
67
  /**
68
- * 本接口用于修改访问日志保存期限
68
+ * 本接口用于修改访问日志保存期限及大字段是否存储
69
69
  */
70
70
  ModifyAccessPeriod(req: ModifyAccessPeriodRequest, cb?: (error: string, rep: ModifyAccessPeriodResponse) => void): Promise<ModifyAccessPeriodResponse>;
71
71
  /**
@@ -114,7 +114,7 @@ class Client extends TencentCloudCommon.AbstractClient {
114
114
  return this.request("ModifyWafAutoDenyStatus", req, cb);
115
115
  }
116
116
  /**
117
- * 本接口用于修改访问日志保存期限
117
+ * 本接口用于修改访问日志保存期限及大字段是否存储
118
118
  */
119
119
  async ModifyAccessPeriod(req, cb) {
120
120
  return this.request("ModifyAccessPeriod", req, cb);
@@ -437,13 +437,20 @@ export interface DescribePeakPointsRequest {
437
437
  */
438
438
  InstanceID?: string;
439
439
  /**
440
- * 六个值可选:
440
+ * 十三个值可选:
441
441
  access-峰值qps趋势图
442
442
  botAccess- bot峰值qps趋势图
443
443
  down-下行峰值带宽趋势图
444
444
  up-上行峰值带宽趋势图
445
445
  attack-Web攻击总数趋势图
446
446
  cc-CC攻击总数趋势图
447
+ StatusServerError-WAF返回给客户端状态码次数趋势图
448
+ StatusClientError-WAF返回给客户端状态码次数趋势图
449
+ StatusRedirect-WAF返回给客户端状态码次数趋势图
450
+ StatusOk-WAF返回给客户端状态码次数趋势图
451
+ UpstreamServerError-源站返回给WAF状态码次数趋势图
452
+ UpstreamClientError-源站返回给WAF状态码次数趋势图
453
+ UpstreamRedirect-源站返回给WAF状态码次数趋势图
447
454
  */
448
455
  MetricName?: string;
449
456
  }
@@ -1054,6 +1061,26 @@ export interface DomainsPartInfo {
1054
1061
  注意:此字段可能返回 null,表示取不到有效值。
1055
1062
  */
1056
1063
  ProxySendTimeout: number;
1064
+ /**
1065
+ * 0:关闭SNI;1:开启SNI,SNI=源请求host;2:开启SNI,SNI=修改为源站host;3:开启SNI,自定义host,SNI=SniHost;
1066
+ 注意:此字段可能返回 null,表示取不到有效值。
1067
+ */
1068
+ SniType: number;
1069
+ /**
1070
+ * SniType=3时,需要填此参数,表示自定义的host;
1071
+ 注意:此字段可能返回 null,表示取不到有效值。
1072
+ */
1073
+ SniHost: string;
1074
+ /**
1075
+ * 无
1076
+ 注意:此字段可能返回 null,表示取不到有效值。
1077
+ */
1078
+ Weights?: Array<string>;
1079
+ /**
1080
+ * IsCdn=3时,表示自定义header
1081
+ 注意:此字段可能返回 null,表示取不到有效值。
1082
+ */
1083
+ IpHeaders: Array<string>;
1057
1084
  }
1058
1085
  /**
1059
1086
  * DescribeAutoDenyIP请求参数结构体
@@ -1232,6 +1259,16 @@ export interface HostRecord {
1232
1259
  注意:此字段可能返回 null,表示取不到有效值。
1233
1260
  */
1234
1261
  AlbType?: string;
1262
+ /**
1263
+ * IsCdn=3时,需要填此参数,表示自定义header
1264
+ 注意:此字段可能返回 null,表示取不到有效值。
1265
+ */
1266
+ IpHeaders?: Array<string>;
1267
+ /**
1268
+ * 规则引擎类型, 1: menshen, 2:tiga
1269
+ 注意:此字段可能返回 null,表示取不到有效值。
1270
+ */
1271
+ EngineType?: number;
1235
1272
  }
1236
1273
  /**
1237
1274
  * CreateHost请求参数结构体
@@ -1340,7 +1377,7 @@ export interface AddSpartaProtectionRequest {
1340
1377
  */
1341
1378
  Ports?: Array<PortItem>;
1342
1379
  /**
1343
- * 版本:sparta-wafclb-wafcdn-waf
1380
+ * WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF,cdn-waf表示CDN上的Web防护能力
1344
1381
  */
1345
1382
  Edition?: string;
1346
1383
  /**
@@ -1383,6 +1420,18 @@ export interface AddSpartaProtectionRequest {
1383
1420
  * 300s
1384
1421
  */
1385
1422
  ProxySendTimeout?: number;
1423
+ /**
1424
+ * 0:关闭SNI;1:开启SNI,SNI=源请求host;2:开启SNI,SNI=修改为源站host;3:开启SNI,自定义host,SNI=SniHost;
1425
+ */
1426
+ SniType?: number;
1427
+ /**
1428
+ * SniType=3时,需要填此参数,表示自定义的host;
1429
+ */
1430
+ SniHost?: string;
1431
+ /**
1432
+ * is_cdn=3时,需要填此参数,表示自定义header
1433
+ */
1434
+ IpHeaders?: Array<string>;
1386
1435
  }
1387
1436
  /**
1388
1437
  * PeakPoints数组项
@@ -1413,10 +1462,44 @@ export interface PeakPointsItem {
1413
1462
  */
1414
1463
  Cc: number;
1415
1464
  /**
1416
- * Bot qps
1465
+ * Bot qps
1466
+ */
1467
+ BotAccess: number;
1468
+ /**
1469
+ * WAF返回给客户端状态码次数
1417
1470
  注意:此字段可能返回 null,表示取不到有效值。
1418
1471
  */
1419
- BotAccess: number;
1472
+ StatusServerError: number;
1473
+ /**
1474
+ * WAF返回给客户端状态码次数
1475
+ 注意:此字段可能返回 null,表示取不到有效值。
1476
+ */
1477
+ StatusClientError: number;
1478
+ /**
1479
+ * WAF返回给客户端状态码次数
1480
+ 注意:此字段可能返回 null,表示取不到有效值。
1481
+ */
1482
+ StatusRedirect: number;
1483
+ /**
1484
+ * WAF返回给客户端状态码次数
1485
+ 注意:此字段可能返回 null,表示取不到有效值。
1486
+ */
1487
+ StatusOk: number;
1488
+ /**
1489
+ * 源站返回给WAF状态码次数
1490
+ 注意:此字段可能返回 null,表示取不到有效值。
1491
+ */
1492
+ UpstreamServerError: number;
1493
+ /**
1494
+ * 源站返回给WAF状态码次数
1495
+ 注意:此字段可能返回 null,表示取不到有效值。
1496
+ */
1497
+ UpstreamClientError: number;
1498
+ /**
1499
+ * 源站返回给WAF状态码次数
1500
+ 注意:此字段可能返回 null,表示取不到有效值。
1501
+ */
1502
+ UpstreamRedirect: number;
1420
1503
  }
1421
1504
  /**
1422
1505
  * PostAttackDownloadTask请求参数结构体
@@ -2263,9 +2346,30 @@ export interface InstanceInfo {
2263
2346
  MaxBandwidth?: number;
2264
2347
  }
2265
2348
  /**
2266
- * 防护域名端口配置信息
2349
+ * 服务端口配置
2267
2350
  */
2268
- export declare type PortInfo = null;
2351
+ export interface PortInfo {
2352
+ /**
2353
+ * Nginx的服务器id
2354
+ */
2355
+ NginxServerId: number;
2356
+ /**
2357
+ * 监听端口配置
2358
+ */
2359
+ Port: string;
2360
+ /**
2361
+ * 与端口对应的协议
2362
+ */
2363
+ Protocol: string;
2364
+ /**
2365
+ * 回源端口
2366
+ */
2367
+ UpstreamPort: string;
2368
+ /**
2369
+ * 回源协议
2370
+ */
2371
+ UpstreamProtocol: string;
2372
+ }
2269
2373
  /**
2270
2374
  * DescribeDomainDetailsSaas返回参数结构体
2271
2375
  */
@@ -2273,7 +2377,7 @@ export interface DescribeDomainDetailsSaasResponse {
2273
2377
  /**
2274
2378
  * 域名详情
2275
2379
  */
2276
- DomainsPartInfo: DomainsPartInfo;
2380
+ DomainsPartInfo?: DomainsPartInfo;
2277
2381
  /**
2278
2382
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2279
2383
  */