tencentcloud-sdk-nodejs 4.0.678 → 4.0.680

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.
Files changed (70) hide show
  1. package/CHANGELOG.md +401 -0
  2. package/SERVICE_CHANGELOG.md +480 -204
  3. package/package.json +1 -1
  4. package/products.md +18 -18
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdwch/v20200915/cdwch_client.ts +1 -1
  7. package/src/services/cdwch/v20200915/cdwch_models.ts +1 -1
  8. package/src/services/cfs/v20190719/cfs_models.ts +13 -1
  9. package/src/services/csip/v20221121/csip_client.ts +57 -2
  10. package/src/services/csip/v20221121/csip_models.ts +667 -18
  11. package/src/services/dbbrain/v20210527/dbbrain_client.ts +24 -0
  12. package/src/services/dbbrain/v20210527/dbbrain_models.ts +60 -4
  13. package/src/services/dts/v20211206/dts_client.ts +2 -0
  14. package/src/services/dts/v20211206/dts_models.ts +49 -2
  15. package/src/services/ecm/v20190719/ecm_models.ts +5 -1
  16. package/src/services/ess/v20201111/ess_client.ts +10 -7
  17. package/src/services/ess/v20201111/ess_models.ts +40 -25
  18. package/src/services/mps/v20190612/mps_client.ts +2 -0
  19. package/src/services/mps/v20190612/mps_models.ts +43 -0
  20. package/src/services/tiia/v20190529/tiia_client.ts +10 -5
  21. package/src/services/tiia/v20190529/tiia_models.ts +2 -1
  22. package/src/services/tione/v20211111/tione_client.ts +11 -4
  23. package/src/services/tione/v20211111/tione_models.ts +203 -55
  24. package/src/services/tiw/v20190919/tiw_client.ts +16 -8
  25. package/src/services/tse/v20201207/tse_client.ts +7 -4
  26. package/src/services/tse/v20201207/tse_models.ts +194 -123
  27. package/src/services/vod/v20180717/vod_models.ts +27 -27
  28. package/src/services/vpc/v20170312/vpc_client.ts +89 -63
  29. package/src/services/vpc/v20170312/vpc_models.ts +133 -65
  30. package/src/services/waf/v20180125/waf_client.ts +744 -489
  31. package/src/services/waf/v20180125/waf_models.ts +1329 -282
  32. package/tencentcloud/common/sdk_version.d.ts +1 -1
  33. package/tencentcloud/common/sdk_version.js +1 -1
  34. package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +1 -1
  35. package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +1 -1
  36. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +1 -1
  37. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +13 -1
  38. package/tencentcloud/services/csip/v20221121/csip_client.d.ts +17 -1
  39. package/tencentcloud/services/csip/v20221121/csip_client.js +24 -0
  40. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +652 -18
  41. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +9 -1
  42. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +12 -0
  43. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +56 -4
  44. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +47 -2
  45. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +5 -1
  46. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +10 -7
  47. package/tencentcloud/services/ess/v20201111/ess_client.js +10 -7
  48. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +40 -25
  49. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +41 -0
  50. package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +9 -4
  51. package/tencentcloud/services/tiia/v20190529/tiia_client.js +9 -4
  52. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +2 -1
  53. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +5 -3
  54. package/tencentcloud/services/tione/v20211111/tione_client.js +5 -3
  55. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +198 -55
  56. package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +12 -4
  57. package/tencentcloud/services/tiw/v20190919/tiw_client.js +12 -4
  58. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +1 -1
  59. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +191 -123
  60. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +27 -27
  61. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +42 -32
  62. package/tencentcloud/services/vpc/v20170312/vpc_client.js +52 -38
  63. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +129 -65
  64. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +244 -162
  65. package/tencentcloud/services/waf/v20180125/waf_client.js +361 -239
  66. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1287 -293
  67. package/test/csip.v20221121.test.js +40 -0
  68. package/test/dbbrain.v20210527.test.js +20 -0
  69. package/test/vpc.v20170312.test.js +30 -10
  70. package/test/waf.v20180125.test.js +356 -156
@@ -28,166 +28,170 @@ class Client extends abstract_client_1.AbstractClient {
28
28
  super("waf.tencentcloudapi.com", "2018-01-25", clientConfig);
29
29
  }
30
30
  /**
31
- * clb-waf编辑防护域名配置
31
+ * 获取一个clb域名详情
32
32
  */
33
- async ModifyHost(req, cb) {
34
- return this.request("ModifyHost", req, cb);
33
+ async DescribeDomainDetailsClb(req, cb) {
34
+ return this.request("DescribeDomainDetailsClb", req, cb);
35
35
  }
36
36
  /**
37
- * 本接口用于获取访问日志导出列表
37
+ * 查询用户所有域名的详细信息
38
38
  */
39
- async DescribeAccessExports(req, cb) {
40
- return this.request("DescribeAccessExports", req, cb);
39
+ async DescribeDomains(req, cb) {
40
+ return this.request("DescribeDomains", req, cb);
41
41
  }
42
42
  /**
43
- * 获取发现域名列表接口
43
+ * 本接口用于获取访问日志索引配置信息
44
44
  */
45
- async DescribeFindDomainList(req, cb) {
46
- return this.request("DescribeFindDomainList", req, cb);
45
+ async DescribeAccessIndex(req, cb) {
46
+ return this.request("DescribeAccessIndex", req, cb);
47
47
  }
48
48
  /**
49
- * 查询业务和攻击概要趋势
49
+ * 按照条件查询展示攻击总次数
50
50
  */
51
- async DescribePeakPoints(req, cb) {
52
- return this.request("DescribePeakPoints", req, cb);
51
+ async GetAttackTotalCount(req, cb) {
52
+ return this.request("GetAttackTotalCount", req, cb);
53
53
  }
54
54
  /**
55
- * Bot_V2 bot总开关更新
55
+ * 增加精准白名单规则
56
56
  */
57
- async ModifyBotStatus(req, cb) {
58
- return this.request("ModifyBotStatus", req, cb);
57
+ async AddCustomWhiteRule(req, cb) {
58
+ return this.request("AddCustomWhiteRule", req, cb);
59
59
  }
60
60
  /**
61
- * waf斯巴达-waf开关
61
+ * Waf IP黑白名单Delete接口
62
62
  */
63
- async ModifyProtectionStatus(req, cb) {
64
- return this.request("ModifyProtectionStatus", req, cb);
63
+ async DeleteIpAccessControl(req, cb) {
64
+ return this.request("DeleteIpAccessControl", req, cb);
65
65
  }
66
66
  /**
67
- * 添加域名的首先验证是否购买了套餐,是否没有达到购买套餐的限制,域名是否已经添加
67
+ * 老接口已经不再使用。
68
+
69
+ 获取信息防泄漏规则列表
68
70
  */
69
- async DescribeHostLimit(req, cb) {
70
- return this.request("DescribeHostLimit", req, cb);
71
+ async DescribeAntiInfoLeakRules(req, cb) {
72
+ return this.request("DescribeAntiInfoLeakRules", req, cb);
71
73
  }
72
74
  /**
73
- * 本接口用于删除访问日志导出
75
+ * 批量添加域名
74
76
  */
75
- async DeleteAccessExport(req, cb) {
76
- return this.request("DeleteAccessExport", req, cb);
77
+ async AddSpartaProtectionsAuto(req, cb) {
78
+ return this.request("AddSpartaProtectionsAuto", req, cb);
77
79
  }
78
80
  /**
79
- * 获取一个clb域名详情
81
+ * 接口已废弃
82
+
83
+ 描述WAF自动封禁IP详情,对齐自动封堵状态
80
84
  */
81
- async DescribeDomainDetailsClb(req, cb) {
82
- return this.request("DescribeDomainDetailsClb", req, cb);
85
+ async DescribeAutoDenyIP(req, cb) {
86
+ return this.request("DescribeAutoDenyIP", req, cb);
83
87
  }
84
88
  /**
85
- * 删除域名规则白名单
89
+ * 删除精准白名单规则
86
90
  */
87
- async DeleteDomainWhiteRules(req, cb) {
88
- return this.request("DeleteDomainWhiteRules", req, cb);
91
+ async DeleteCustomWhiteRule(req, cb) {
92
+ return this.request("DeleteCustomWhiteRule", req, cb);
89
93
  }
90
94
  /**
91
- * 修改防护域名的地域封禁状态
95
+ * 查询下载攻击日志任务记录列表
92
96
  */
93
- async ModifyAreaBanStatus(req, cb) {
94
- return this.request("ModifyAreaBanStatus", req, cb);
97
+ async GetAttackDownloadRecords(req, cb) {
98
+ return this.request("GetAttackDownloadRecords", req, cb);
95
99
  }
96
100
  /**
97
- * 切换域名的规则开关
101
+ * 增加访问控制(自定义策略)
98
102
  */
99
- async SwitchDomainRules(req, cb) {
100
- return this.request("SwitchDomainRules", req, cb);
103
+ async AddCustomRule(req, cb) {
104
+ return this.request("AddCustomRule", req, cb);
101
105
  }
102
106
  /**
103
- * 查询用户所有域名的详细信息
107
+ * 删除自定义规则
104
108
  */
105
- async DescribeDomains(req, cb) {
106
- return this.request("DescribeDomains", req, cb);
109
+ async DeleteCustomRule(req, cb) {
110
+ return this.request("DeleteCustomRule", req, cb);
107
111
  }
108
112
  /**
109
- * 本接口用于搜索WAF访问日志
113
+ * 编辑防篡改url
110
114
  */
111
- async SearchAccessLog(req, cb) {
112
- return this.request("SearchAccessLog", req, cb);
115
+ async ModifyAntiFakeUrl(req, cb) {
116
+ return this.request("ModifyAntiFakeUrl", req, cb);
113
117
  }
114
118
  /**
115
- * 本接口用于获取访问日志索引配置信息
119
+ * 修改域名配置
116
120
  */
117
- async DescribeAccessIndex(req, cb) {
118
- return this.request("DescribeAccessIndex", req, cb);
121
+ async ModifySpartaProtection(req, cb) {
122
+ return this.request("ModifySpartaProtection", req, cb);
119
123
  }
120
124
  /**
121
- * clb-waf 设置防护域名的流量模式
125
+ * api分析页面开关
122
126
  */
123
- async ModifyHostFlowMode(req, cb) {
124
- return this.request("ModifyHostFlowMode", req, cb);
127
+ async ModifyApiAnalyzeStatus(req, cb) {
128
+ return this.request("ModifyApiAnalyzeStatus", req, cb);
125
129
  }
126
130
  /**
127
- * 本接口用于创建访问日志导出
131
+ * 修改ip惩罚规则
128
132
  */
129
- async CreateAccessExport(req, cb) {
130
- return this.request("CreateAccessExport", req, cb);
133
+ async ModifyWafAutoDenyRules(req, cb) {
134
+ return this.request("ModifyWafAutoDenyRules", req, cb);
131
135
  }
132
136
  /**
133
- * 按照条件查询展示攻击总次数
137
+ * 查询saas和clb的域名信息
134
138
  */
135
- async GetAttackTotalCount(req, cb) {
136
- return this.request("GetAttackTotalCount", req, cb);
139
+ async DescribeUserDomainInfo(req, cb) {
140
+ return this.request("DescribeUserDomainInfo", req, cb);
137
141
  }
138
142
  /**
139
- * 新版本CLS接口存在参数变化,query改成了query_string支持lucence语法接口搜索查询。
143
+ * Waf CC V2 Delete接口
140
144
  */
141
- async SearchAttackLog(req, cb) {
142
- return this.request("SearchAttackLog", req, cb);
145
+ async DeleteCCRule(req, cb) {
146
+ return this.request("DeleteCCRule", req, cb);
143
147
  }
144
148
  /**
145
- * 本接口用于访问日志柱状趋势图
149
+ * 取得信息防泄漏规则列表
146
150
  */
147
- async DescribeAccessHistogram(req, cb) {
148
- return this.request("DescribeAccessHistogram", req, cb);
151
+ async DescribeAntiInfoLeakageRules(req, cb) {
152
+ return this.request("DescribeAntiInfoLeakageRules", req, cb);
149
153
  }
150
154
  /**
151
- * 查询用户所有实例的详细信息
155
+ * 一键接入
152
156
  */
153
- async DescribeInstances(req, cb) {
154
- return this.request("DescribeInstances", req, cb);
157
+ async AddSpartaProtectionAuto(req, cb) {
158
+ return this.request("AddSpartaProtectionAuto", req, cb);
155
159
  }
156
160
  /**
157
- * 设置waf防护状态
161
+ * 描述WAF威胁情报封禁模块配置详情
158
162
  */
159
- async ModifySpartaProtectionMode(req, cb) {
160
- return this.request("ModifySpartaProtectionMode", req, cb);
163
+ async DescribeWafThreatenIntelligence(req, cb) {
164
+ return this.request("DescribeWafThreatenIntelligence", req, cb);
161
165
  }
162
166
  /**
163
- * Waf IP黑白名单Delete接口
167
+ * Waf IP封堵状态查询
164
168
  */
165
- async DeleteIpAccessControl(req, cb) {
166
- return this.request("DeleteIpAccessControl", req, cb);
169
+ async DescribeIpHitItems(req, cb) {
170
+ return this.request("DescribeIpHitItems", req, cb);
167
171
  }
168
172
  /**
169
- * 本接口用于修改访问日志保存期限及大字段是否存储
173
+ * 本接口用于搜索WAF访问日志
170
174
  */
171
- async ModifyAccessPeriod(req, cb) {
172
- return this.request("ModifyAccessPeriod", req, cb);
175
+ async SearchAccessLog(req, cb) {
176
+ return this.request("SearchAccessLog", req, cb);
173
177
  }
174
178
  /**
175
- * 生成攻击日志的产生时间柱状图
179
+ * 信息防泄漏删除规则
176
180
  */
177
- async GetAttackHistogram(req, cb) {
178
- return this.request("GetAttackHistogram", req, cb);
181
+ async DeleteAntiInfoLeakRule(req, cb) {
182
+ return this.request("DeleteAntiInfoLeakRule", req, cb);
179
183
  }
180
184
  /**
181
- * 配置WAF自动封禁模块状态
185
+ * 获取各个模块具体的规格限制
182
186
  */
183
- async ModifyWafAutoDenyStatus(req, cb) {
184
- return this.request("ModifyWafAutoDenyStatus", req, cb);
187
+ async DescribeRuleLimit(req, cb) {
188
+ return this.request("DescribeRuleLimit", req, cb);
185
189
  }
186
190
  /**
187
- * 查询用户TLS版本
191
+ * 添加信息防泄漏规则
188
192
  */
189
- async DescribeTlsVersion(req, cb) {
190
- return this.request("DescribeTlsVersion", req, cb);
193
+ async AddAntiInfoLeakRules(req, cb) {
194
+ return this.request("AddAntiInfoLeakRules", req, cb);
191
195
  }
192
196
  /**
193
197
  * clb-waf 设置防护域名WAF开关
@@ -197,46 +201,52 @@ class Client extends abstract_client_1.AbstractClient {
197
201
  return this.request("ModifyHostStatus", req, cb);
198
202
  }
199
203
  /**
200
- * 查询加密套件信息
204
+ * 设置waf防护状态
201
205
  */
202
- async DescribeCiphersDetail(req, cb) {
203
- return this.request("DescribeCiphersDetail", req, cb);
206
+ async ModifySpartaProtectionMode(req, cb) {
207
+ return this.request("ModifySpartaProtectionMode", req, cb);
204
208
  }
205
209
  /**
206
- * 批量添加域名
210
+ * Waf IP黑白名单Upsert接口
207
211
  */
208
- async AddSpartaProtectionsAuto(req, cb) {
209
- return this.request("AddSpartaProtectionsAuto", req, cb);
212
+ async UpsertIpAccessControl(req, cb) {
213
+ return this.request("UpsertIpAccessControl", req, cb);
210
214
  }
211
215
  /**
212
- * 修改域名列表的访问日志开关
216
+ * 生成攻击日志的产生时间柱状图
213
217
  */
214
- async ModifyDomainsCLSStatus(req, cb) {
215
- return this.request("ModifyDomainsCLSStatus", req, cb);
218
+ async GetAttackHistogram(req, cb) {
219
+ return this.request("GetAttackHistogram", req, cb);
216
220
  }
217
221
  /**
218
- * 获取waf流量访问趋势
222
+ * 配置WAF自动封禁模块状态
219
223
  */
220
- async DescribeFlowTrend(req, cb) {
221
- return this.request("DescribeFlowTrend", req, cb);
224
+ async ModifyWafAutoDenyStatus(req, cb) {
225
+ return this.request("ModifyWafAutoDenyStatus", req, cb);
222
226
  }
223
227
  /**
224
- * 根据过滤条件查询VIP信息
228
+ * 信息防泄漏切换规则开关
225
229
  */
226
- async DescribeVipInfo(req, cb) {
227
- return this.request("DescribeVipInfo", req, cb);
230
+ async ModifyAntiInfoLeakRuleStatus(req, cb) {
231
+ return this.request("ModifyAntiInfoLeakRuleStatus", req, cb);
228
232
  }
229
233
  /**
230
- * 查询saas和clb的域名信息
234
+ * 本接口用于修改访问日志保存期限及大字段是否存储
231
235
  */
232
- async DescribeUserDomainInfo(req, cb) {
233
- return this.request("DescribeUserDomainInfo", req, cb);
236
+ async ModifyAccessPeriod(req, cb) {
237
+ return this.request("ModifyAccessPeriod", req, cb);
234
238
  }
235
239
  /**
236
- * 在CDC场景下,负载均衡型WAF的添加、编辑域名配置的时候,需要展示CDC负载均衡型WAF(cdc-clb-waf)支持的地域列表,通过DescribeUserCdcClbWafRegions既可以获得当前对客户已经开放的地域列表
240
+ * 切换防篡改开关
237
241
  */
238
- async DescribeUserCdcClbWafRegions(req, cb) {
239
- return this.request("DescribeUserCdcClbWafRegions", req, cb);
242
+ async ModifyAntiFakeUrlStatus(req, cb) {
243
+ return this.request("ModifyAntiFakeUrlStatus", req, cb);
244
+ }
245
+ /**
246
+ * 根据过滤条件查询VIP信息
247
+ */
248
+ async DescribeVipInfo(req, cb) {
249
+ return this.request("DescribeVipInfo", req, cb);
240
250
  }
241
251
  /**
242
252
  * 删除CLB-WAF防护域名
@@ -245,12 +255,6 @@ class Client extends abstract_client_1.AbstractClient {
245
255
  async DeleteHost(req, cb) {
246
256
  return this.request("DeleteHost", req, cb);
247
257
  }
248
- /**
249
- * 更改某一条规则
250
- */
251
- async ModifyDomainWhiteRule(req, cb) {
252
- return this.request("ModifyDomainWhiteRule", req, cb);
253
- }
254
258
  /**
255
259
  * 本接口用于访问日志的快速分析
256
260
  */
@@ -258,24 +262,10 @@ class Client extends abstract_client_1.AbstractClient {
258
262
  return this.request("DescribeAccessFastAnalysis", req, cb);
259
263
  }
260
264
  /**
261
- * 接口已废弃
262
-
263
- 描述WAF自动封禁IP详情,对齐自动封堵状态
264
- */
265
- async DescribeAutoDenyIP(req, cb) {
266
- return this.request("DescribeAutoDenyIP", req, cb);
267
- }
268
- /**
269
- * 描述WAF自动封禁模块详情
270
- */
271
- async DescribeWafAutoDenyStatus(req, cb) {
272
- return this.request("DescribeWafAutoDenyStatus", req, cb);
273
- }
274
- /**
275
- * 删除精准白名单规则
265
+ * 查询业务和攻击概要趋势
276
266
  */
277
- async DeleteCustomWhiteRule(req, cb) {
278
- return this.request("DeleteCustomWhiteRule", req, cb);
267
+ async DescribePeakPoints(req, cb) {
268
+ return this.request("DescribePeakPoints", req, cb);
279
269
  }
280
270
  /**
281
271
  * 编辑精准白名单
@@ -284,130 +274,127 @@ class Client extends abstract_client_1.AbstractClient {
284
274
  return this.request("ModifyCustomWhiteRule", req, cb);
285
275
  }
286
276
  /**
287
- * 查询下载攻击日志任务记录列表
277
+ * 查询单个saas域名详情
288
278
  */
289
- async GetAttackDownloadRecords(req, cb) {
290
- return this.request("GetAttackDownloadRecords", req, cb);
279
+ async DescribeDomainDetailsSaas(req, cb) {
280
+ return this.request("DescribeDomainDetailsSaas", req, cb);
291
281
  }
292
282
  /**
293
- * 增加访问控制(自定义策略)
283
+ * Waf CC V2 Query接口
294
284
  */
295
- async AddCustomRule(req, cb) {
296
- return this.request("AddCustomRule", req, cb);
285
+ async DescribeCCRule(req, cb) {
286
+ return this.request("DescribeCCRule", req, cb);
297
287
  }
298
288
  /**
299
- * Waf ip黑白名单查询
289
+ * 获取业务和攻击概览峰值
300
290
  */
301
- async DescribeIpAccessControl(req, cb) {
302
- return this.request("DescribeIpAccessControl", req, cb);
291
+ async DescribePeakValue(req, cb) {
292
+ return this.request("DescribePeakValue", req, cb);
303
293
  }
304
294
  /**
305
- * 创建搜索下载攻击日志任务,使用CLS新版本的搜索下载getlog接口
295
+ * 配置WAF威胁情报封禁模块详情
306
296
  */
307
- async PostAttackDownloadTask(req, cb) {
308
- return this.request("PostAttackDownloadTask", req, cb);
297
+ async ModifyWafThreatenIntelligence(req, cb) {
298
+ return this.request("ModifyWafThreatenIntelligence", req, cb);
309
299
  }
310
300
  /**
311
- * 查询单个saas域名详情
301
+ * 删除攻击日志下载任务记录
312
302
  */
313
- async DescribeDomainDetailsSaas(req, cb) {
314
- return this.request("DescribeDomainDetailsSaas", req, cb);
303
+ async DeleteAttackDownloadRecord(req, cb) {
304
+ return this.request("DeleteAttackDownloadRecord", req, cb);
315
305
  }
316
306
  /**
317
- * 开启或禁用访问控制(自定义策略)
307
+ * 获取防护配置中的访问控制策略列表
318
308
  */
319
- async ModifyCustomRuleStatus(req, cb) {
320
- return this.request("ModifyCustomRuleStatus", req, cb);
309
+ async DescribeCustomRuleList(req, cb) {
310
+ return this.request("DescribeCustomRuleList", req, cb);
321
311
  }
322
312
  /**
323
- * 获取域名概况
313
+ * 攻击总览
324
314
  */
325
- async DescribeDomainCountInfo(req, cb) {
326
- return this.request("DescribeDomainCountInfo", req, cb);
315
+ async DescribeAttackOverview(req, cb) {
316
+ return this.request("DescribeAttackOverview", req, cb);
327
317
  }
328
318
  /**
329
- * 删除自定义规则
330
- */
331
- async DeleteCustomRule(req, cb) {
332
- return this.request("DeleteCustomRule", req, cb);
333
- }
334
- /**
335
- * waf斯巴达-删除防护域名
319
+ * 获取负载均衡绑定的WAF信息,可以根据租户负载均衡实例ID、负载均衡监听器ID、负载均衡的域名信息来查询对应绑定的 Waf的状态信息。
320
+ 查询的范围:负载均衡实例ID、负载均衡实例ID+监听器ID、负载均衡实例ID+监听器ID+域名。
321
+ 可能的错误码:ResourceNotFound(没有找到对应的资源)、UnsupportedRegion(目前clb-waf只支持北京、广州、上海、成都、重庆、香港地域)。
322
+
336
323
  */
337
- async DeleteSpartaProtection(req, cb) {
338
- return this.request("DeleteSpartaProtection", req, cb);
324
+ async DescribeWafInfo(req, cb) {
325
+ return this.request("DescribeWafInfo", req, cb);
339
326
  }
340
327
  /**
341
- * 获取业务和攻击概览峰值
328
+ * clb-waf中获取防护域名列表
342
329
  */
343
- async DescribePeakValue(req, cb) {
344
- return this.request("DescribePeakValue", req, cb);
330
+ async DescribeHosts(req, cb) {
331
+ return this.request("DescribeHosts", req, cb);
345
332
  }
346
333
  /**
347
- * 配置WAF威胁情报封禁模块详情
334
+ * 添加Spart防护域名
348
335
  */
349
- async ModifyWafThreatenIntelligence(req, cb) {
350
- return this.request("ModifyWafThreatenIntelligence", req, cb);
336
+ async AddSpartaProtection(req, cb) {
337
+ return this.request("AddSpartaProtection", req, cb);
351
338
  }
352
339
  /**
353
- * clb-waf设置防护域名防护状态
340
+ * 获取防护状态以及生效的实例id
354
341
  */
355
- async ModifyHostMode(req, cb) {
356
- return this.request("ModifyHostMode", req, cb);
342
+ async DescribePolicyStatus(req, cb) {
343
+ return this.request("DescribePolicyStatus", req, cb);
357
344
  }
358
345
  /**
359
- * 修改域名配置
346
+ * Waf 会话定义查询接口
360
347
  */
361
- async ModifySpartaProtection(req, cb) {
362
- return this.request("ModifySpartaProtection", req, cb);
348
+ async DescribeSession(req, cb) {
349
+ return this.request("DescribeSession", req, cb);
363
350
  }
364
351
  /**
365
- * 增加精准白名单规则
352
+ * clb-waf编辑防护域名配置
366
353
  */
367
- async AddCustomWhiteRule(req, cb) {
368
- return this.request("AddCustomWhiteRule", req, cb);
354
+ async ModifyHost(req, cb) {
355
+ return this.request("ModifyHost", req, cb);
369
356
  }
370
357
  /**
371
- * api分析页面开关
358
+ * 查询用户TLS版本
372
359
  */
373
- async ModifyApiAnalyzeStatus(req, cb) {
374
- return this.request("ModifyApiAnalyzeStatus", req, cb);
360
+ async DescribeTlsVersion(req, cb) {
361
+ return this.request("DescribeTlsVersion", req, cb);
375
362
  }
376
363
  /**
377
- * 修改ip惩罚规则
364
+ * waf斯巴达-waf开关
378
365
  */
379
- async ModifyWafAutoDenyRules(req, cb) {
380
- return this.request("ModifyWafAutoDenyRules", req, cb);
366
+ async ModifyProtectionStatus(req, cb) {
367
+ return this.request("ModifyProtectionStatus", req, cb);
381
368
  }
382
369
  /**
383
- * 在负载均衡型WAF的添加、编辑域名配置的时候,需要展示负载均衡型WAF(clb-waf)支持的地域列表,通过DescribeUserClbWafRegions既可以获得当前对客户已经开放的地域列表
370
+ * 查询加密套件信息
384
371
  */
385
- async DescribeUserClbWafRegions(req, cb) {
386
- return this.request("DescribeUserClbWafRegions", req, cb);
372
+ async DescribeCiphersDetail(req, cb) {
373
+ return this.request("DescribeCiphersDetail", req, cb);
387
374
  }
388
375
  /**
389
- * 删除攻击日志下载任务记录
376
+ * 修改防护域名的地域封禁状态
390
377
  */
391
- async DeleteAttackDownloadRecord(req, cb) {
392
- return this.request("DeleteAttackDownloadRecord", req, cb);
378
+ async ModifyAreaBanStatus(req, cb) {
379
+ return this.request("ModifyAreaBanStatus", req, cb);
393
380
  }
394
381
  /**
395
- * 返回ip惩罚规则详细信息
382
+ * 获取防篡改url
396
383
  */
397
- async DescribeWafAutoDenyRules(req, cb) {
398
- return this.request("DescribeWafAutoDenyRules", req, cb);
384
+ async DescribeAntiFakeRules(req, cb) {
385
+ return this.request("DescribeAntiFakeRules", req, cb);
399
386
  }
400
387
  /**
401
- * 获取防护配置中的访问控制策略列表
388
+ * 获取发现域名列表接口
402
389
  */
403
- async DescribeCustomRuleList(req, cb) {
404
- return this.request("DescribeCustomRuleList", req, cb);
390
+ async DescribeFindDomainList(req, cb) {
391
+ return this.request("DescribeFindDomainList", req, cb);
405
392
  }
406
393
  /**
407
- * 攻击总览
394
+ * 本接口用于访问日志柱状趋势图
408
395
  */
409
- async DescribeAttackOverview(req, cb) {
410
- return this.request("DescribeAttackOverview", req, cb);
396
+ async DescribeAccessHistogram(req, cb) {
397
+ return this.request("DescribeAccessHistogram", req, cb);
411
398
  }
412
399
  /**
413
400
  * 删除访问日志下载记录
@@ -416,91 +403,94 @@ class Client extends abstract_client_1.AbstractClient {
416
403
  return this.request("DeleteDownloadRecord", req, cb);
417
404
  }
418
405
  /**
419
- * clb-waf中添加防护的域名
406
+ * 编辑自定义规则
420
407
  */
421
- async CreateHost(req, cb) {
422
- return this.request("CreateHost", req, cb);
408
+ async ModifyCustomRule(req, cb) {
409
+ return this.request("ModifyCustomRule", req, cb);
423
410
  }
424
411
  /**
425
- * 删除CC攻击的session设置
412
+ * Bot_V2 bot总开关更新
426
413
  */
427
- async DeleteSession(req, cb) {
428
- return this.request("DeleteSession", req, cb);
414
+ async ModifyBotStatus(req, cb) {
415
+ return this.request("ModifyBotStatus", req, cb);
429
416
  }
430
417
  /**
431
- * 一键接入
418
+ * 编辑信息防泄漏规则
432
419
  */
433
- async AddSpartaProtectionAuto(req, cb) {
434
- return this.request("AddSpartaProtectionAuto", req, cb);
420
+ async ModifyAntiInfoLeakRules(req, cb) {
421
+ return this.request("ModifyAntiInfoLeakRules", req, cb);
435
422
  }
436
423
  /**
437
- * 获取各个模块具体的规格限制
424
+ * 添加防篡改url
438
425
  */
439
- async DescribeRuleLimit(req, cb) {
440
- return this.request("DescribeRuleLimit", req, cb);
426
+ async AddAntiFakeUrl(req, cb) {
427
+ return this.request("AddAntiFakeUrl", req, cb);
441
428
  }
442
429
  /**
443
- * clb-waf中获取防护域名列表
430
+ * 获取waf流量访问趋势
444
431
  */
445
- async DescribeHosts(req, cb) {
446
- return this.request("DescribeHosts", req, cb);
432
+ async DescribeFlowTrend(req, cb) {
433
+ return this.request("DescribeFlowTrend", req, cb);
447
434
  }
448
435
  /**
449
- * 添加Spart防护域名
436
+ * 获取防篡改url
450
437
  */
451
- async AddSpartaProtection(req, cb) {
452
- return this.request("AddSpartaProtection", req, cb);
438
+ async DescribeAntiFakeUrl(req, cb) {
439
+ return this.request("DescribeAntiFakeUrl", req, cb);
453
440
  }
454
441
  /**
455
- * 描述WAF威胁情报封禁模块配置详情
442
+ * 更改某一条规则
456
443
  */
457
- async DescribeWafThreatenIntelligence(req, cb) {
458
- return this.request("DescribeWafThreatenIntelligence", req, cb);
444
+ async ModifyDomainWhiteRule(req, cb) {
445
+ return this.request("ModifyDomainWhiteRule", req, cb);
459
446
  }
460
447
  /**
461
- * 获取负载均衡绑定的WAF信息,可以根据租户负载均衡实例ID、负载均衡监听器ID、负载均衡的域名信息来查询对应绑定的 Waf的状态信息。
462
- 查询的范围:负载均衡实例ID、负载均衡实例ID+监听器ID、负载均衡实例ID+监听器ID+域名。
463
- 可能的错误码:ResourceNotFound(没有找到对应的资源)、UnsupportedRegion(目前clb-waf只支持北京、广州、上海、成都、重庆、香港地域)。
464
-
448
+ * 开启或禁用访问控制(自定义策略)
465
449
  */
466
- async DescribeWafInfo(req, cb) {
467
- return this.request("DescribeWafInfo", req, cb);
450
+ async ModifyCustomRuleStatus(req, cb) {
451
+ return this.request("ModifyCustomRuleStatus", req, cb);
468
452
  }
469
453
  /**
470
- * 获取防护状态以及生效的实例id
454
+ * Waf ip黑白名单查询
471
455
  */
472
- async DescribePolicyStatus(req, cb) {
473
- return this.request("DescribePolicyStatus", req, cb);
456
+ async DescribeIpAccessControl(req, cb) {
457
+ return this.request("DescribeIpAccessControl", req, cb);
474
458
  }
475
459
  /**
476
- * 编辑自定义规则
460
+ * 获取域名概况
477
461
  */
478
- async ModifyCustomRule(req, cb) {
479
- return this.request("ModifyCustomRule", req, cb);
462
+ async DescribeDomainCountInfo(req, cb) {
463
+ return this.request("DescribeDomainCountInfo", req, cb);
480
464
  }
481
465
  /**
482
- * 刷新接入检查的结果,后台会生成接入检查任务
466
+ * waf斯巴达-删除防护域名
483
467
  */
484
- async RefreshAccessCheckResult(req, cb) {
485
- return this.request("RefreshAccessCheckResult", req, cb);
468
+ async DeleteSpartaProtection(req, cb) {
469
+ return this.request("DeleteSpartaProtection", req, cb);
486
470
  }
487
471
  /**
488
- * Waf IP封堵状态查询
472
+ * 切换域名的规则开关
489
473
  */
490
- async DescribeIpHitItems(req, cb) {
491
- return this.request("DescribeIpHitItems", req, cb);
474
+ async SwitchDomainRules(req, cb) {
475
+ return this.request("SwitchDomainRules", req, cb);
492
476
  }
493
477
  /**
494
- * 增加域名规则白名单
478
+ * Waf 多域名ip黑白名单查询
495
479
  */
496
- async AddDomainWhiteRule(req, cb) {
497
- return this.request("AddDomainWhiteRule", req, cb);
480
+ async DescribeBatchIpAccessControl(req, cb) {
481
+ return this.request("DescribeBatchIpAccessControl", req, cb);
498
482
  }
499
483
  /**
500
- * 修改ipv6开关
484
+ * 返回ip惩罚规则详细信息
501
485
  */
502
- async ModifyDomainIpv6Status(req, cb) {
503
- return this.request("ModifyDomainIpv6Status", req, cb);
486
+ async DescribeWafAutoDenyRules(req, cb) {
487
+ return this.request("DescribeWafAutoDenyRules", req, cb);
488
+ }
489
+ /**
490
+ * 删除CC攻击的session设置
491
+ */
492
+ async DeleteSession(req, cb) {
493
+ return this.request("DeleteSession", req, cb);
504
494
  }
505
495
  /**
506
496
  * 获取域名的规则白名单
@@ -508,6 +498,24 @@ class Client extends abstract_client_1.AbstractClient {
508
498
  async DescribeDomainWhiteRules(req, cb) {
509
499
  return this.request("DescribeDomainWhiteRules", req, cb);
510
500
  }
501
+ /**
502
+ * 修改域名列表的访问日志开关
503
+ */
504
+ async ModifyDomainsCLSStatus(req, cb) {
505
+ return this.request("ModifyDomainsCLSStatus", req, cb);
506
+ }
507
+ /**
508
+ * 刷新接入检查的结果,后台会生成接入检查任务
509
+ */
510
+ async RefreshAccessCheckResult(req, cb) {
511
+ return this.request("RefreshAccessCheckResult", req, cb);
512
+ }
513
+ /**
514
+ * 创建搜索下载攻击日志任务,使用CLS新版本的搜索下载getlog接口
515
+ */
516
+ async PostAttackDownloadTask(req, cb) {
517
+ return this.request("PostAttackDownloadTask", req, cb);
518
+ }
511
519
  /**
512
520
  * 获取防护配置中的精准白名单策略列表
513
521
  */
@@ -521,10 +529,124 @@ class Client extends abstract_client_1.AbstractClient {
521
529
  return this.request("DescribeHost", req, cb);
522
530
  }
523
531
  /**
524
- * Waf IP黑白名单Upsert接口
532
+ * 本接口用于获取访问日志导出列表
525
533
  */
526
- async UpsertIpAccessControl(req, cb) {
527
- return this.request("UpsertIpAccessControl", req, cb);
534
+ async DescribeAccessExports(req, cb) {
535
+ return this.request("DescribeAccessExports", req, cb);
536
+ }
537
+ /**
538
+ * 添加域名的首先验证是否购买了套餐,是否没有达到购买套餐的限制,域名是否已经添加
539
+ */
540
+ async DescribeHostLimit(req, cb) {
541
+ return this.request("DescribeHostLimit", req, cb);
542
+ }
543
+ /**
544
+ * 本接口用于删除访问日志导出
545
+ */
546
+ async DeleteAccessExport(req, cb) {
547
+ return this.request("DeleteAccessExport", req, cb);
548
+ }
549
+ /**
550
+ * 删除域名规则白名单
551
+ */
552
+ async DeleteDomainWhiteRules(req, cb) {
553
+ return this.request("DeleteDomainWhiteRules", req, cb);
554
+ }
555
+ /**
556
+ * 本接口用于创建访问日志导出
557
+ */
558
+ async CreateAccessExport(req, cb) {
559
+ return this.request("CreateAccessExport", req, cb);
560
+ }
561
+ /**
562
+ * 新版本CLS接口存在参数变化,query改成了query_string支持lucence语法接口搜索查询。
563
+ */
564
+ async SearchAttackLog(req, cb) {
565
+ return this.request("SearchAttackLog", req, cb);
566
+ }
567
+ /**
568
+ * 查询用户所有实例的详细信息
569
+ */
570
+ async DescribeInstances(req, cb) {
571
+ return this.request("DescribeInstances", req, cb);
572
+ }
573
+ /**
574
+ * clb-waf 设置防护域名的流量模式
575
+ */
576
+ async ModifyHostFlowMode(req, cb) {
577
+ return this.request("ModifyHostFlowMode", req, cb);
578
+ }
579
+ /**
580
+ * 在CDC场景下,负载均衡型WAF的添加、编辑域名配置的时候,需要展示CDC负载均衡型WAF(cdc-clb-waf)支持的地域列表,通过DescribeUserCdcClbWafRegions既可以获得当前对客户已经开放的地域列表
581
+ */
582
+ async DescribeUserCdcClbWafRegions(req, cb) {
583
+ return this.request("DescribeUserCdcClbWafRegions", req, cb);
584
+ }
585
+ /**
586
+ * 描述WAF自动封禁模块详情
587
+ */
588
+ async DescribeWafAutoDenyStatus(req, cb) {
589
+ return this.request("DescribeWafAutoDenyStatus", req, cb);
590
+ }
591
+ /**
592
+ * 开启或禁用精准白名单
593
+ */
594
+ async ModifyCustomWhiteRuleStatus(req, cb) {
595
+ return this.request("ModifyCustomWhiteRuleStatus", req, cb);
596
+ }
597
+ /**
598
+ * clb-waf设置防护域名防护状态
599
+ */
600
+ async ModifyHostMode(req, cb) {
601
+ return this.request("ModifyHostMode", req, cb);
602
+ }
603
+ /**
604
+ * 在负载均衡型WAF的添加、编辑域名配置的时候,需要展示负载均衡型WAF(clb-waf)支持的地域列表,通过DescribeUserClbWafRegions既可以获得当前对客户已经开放的地域列表
605
+ */
606
+ async DescribeUserClbWafRegions(req, cb) {
607
+ return this.request("DescribeUserClbWafRegions", req, cb);
608
+ }
609
+ /**
610
+ * Waf CC V2 Upsert接口
611
+ */
612
+ async UpsertCCRule(req, cb) {
613
+ return this.request("UpsertCCRule", req, cb);
614
+ }
615
+ /**
616
+ * 删除防篡改url
617
+ */
618
+ async DeleteAntiFakeUrl(req, cb) {
619
+ return this.request("DeleteAntiFakeUrl", req, cb);
620
+ }
621
+ /**
622
+ * 根据多条件查询CC规则
623
+ */
624
+ async DescribeCCRuleList(req, cb) {
625
+ return this.request("DescribeCCRuleList", req, cb);
626
+ }
627
+ /**
628
+ * clb-waf中添加防护的域名
629
+ */
630
+ async CreateHost(req, cb) {
631
+ return this.request("CreateHost", req, cb);
632
+ }
633
+ /**
634
+ * Waf 会话定义 Upsert接口
635
+ */
636
+ async UpsertSession(req, cb) {
637
+ return this.request("UpsertSession", req, cb);
638
+ }
639
+ /**
640
+ * 增加域名规则白名单
641
+ */
642
+ async AddDomainWhiteRule(req, cb) {
643
+ return this.request("AddDomainWhiteRule", req, cb);
644
+ }
645
+ /**
646
+ * 修改ipv6开关
647
+ */
648
+ async ModifyDomainIpv6Status(req, cb) {
649
+ return this.request("ModifyDomainIpv6Status", req, cb);
528
650
  }
529
651
  }
530
652
  exports.Client = Client;