tencentcloud-sdk-nodejs-waf 4.0.326 → 4.0.327
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 +147 -0
- package/SERVICE_CHANGELOG.md +219 -69
- package/package.json +1 -1
- package/products.md +9 -9
- package/src/services/waf/v20180125/waf_client.ts +271 -80
- package/src/services/waf/v20180125/waf_models.ts +973 -103
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +91 -27
- package/tencentcloud/services/waf/v20180125/waf_client.js +133 -39
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +815 -82
package/products.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-04-04 06:03:11 |
|
|
8
8
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 |
|
|
9
9
|
| ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-04-04 06:03:33 |
|
|
10
|
-
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-04-
|
|
10
|
+
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-04-18 06:05:37 |
|
|
11
11
|
| apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
|
|
12
12
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
|
|
13
13
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-04-08 06:01:32 |
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-04-04 06:11:56 |
|
|
35
35
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-04-13 06:12:00 |
|
|
36
36
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-04-15 06:03:13 |
|
|
37
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-04-
|
|
38
|
-
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-04-
|
|
37
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-04-18 06:07:35 |
|
|
38
|
+
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-04-18 06:07:58 |
|
|
39
39
|
| cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-04-04 06:17:07 |
|
|
40
40
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-04-04 06:17:11 |
|
|
41
41
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-04-04 06:17:16 |
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-04-04 06:18:39 |
|
|
45
45
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
46
46
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
47
|
-
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-04-
|
|
47
|
+
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-04-18 06:08:40 |
|
|
48
48
|
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-04-08 06:04:17 |
|
|
49
49
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-04-04 06:21:08 |
|
|
50
50
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-04-04 06:21:17 |
|
|
51
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-04-
|
|
51
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-04-18 06:09:09 |
|
|
52
52
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-04-04 06:22:26 |
|
|
53
53
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-04-04 06:23:04 |
|
|
54
54
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
| ims | [图片内容检测](https://cloud.tencent.com/document/product/1125) | 2022-04-04 06:48:07 |
|
|
100
100
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2022-04-04 06:48:08 |
|
|
101
101
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-04-01 15:20:13 |
|
|
102
|
-
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-04-
|
|
102
|
+
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-04-18 06:13:51 |
|
|
103
103
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
|
|
104
104
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-04-04 06:49:51 |
|
|
105
105
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-04-04 06:51:27 |
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
| soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2022-04-04 07:05:55 |
|
|
144
144
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
145
145
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-04-04 07:05:59 |
|
|
146
|
-
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2022-04-
|
|
146
|
+
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2022-04-18 06:17:42 |
|
|
147
147
|
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-04-04 07:07:38 |
|
|
148
148
|
| sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2022-04-04 07:07:55 |
|
|
149
149
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2022-04-04 07:08:00 |
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
173
173
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2022-04-04 07:16:59 |
|
|
174
174
|
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-04-04 07:17:01 |
|
|
175
|
-
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-04-
|
|
175
|
+
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-04-18 06:19:48 |
|
|
176
176
|
| tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-04-04 07:17:26 |
|
|
177
177
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-04-04 07:17:39 |
|
|
178
178
|
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-04-08 06:14:29 |
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
190
190
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-04-13 07:24:51 |
|
|
191
191
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-04-14 06:20:04 |
|
|
192
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-04-
|
|
192
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-04-18 06:22:13 |
|
|
193
193
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
|
|
194
194
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
195
195
|
| youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
|
|
@@ -17,53 +17,90 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
19
|
import {
|
|
20
|
+
SearchAccessLogRequest,
|
|
21
|
+
AutoDenyDetail,
|
|
22
|
+
Strategy,
|
|
20
23
|
DescribeAccessFastAnalysisResponse,
|
|
21
24
|
CreateAccessExportRequest,
|
|
25
|
+
ModifyWafThreatenIntelligenceRequest,
|
|
26
|
+
DescribeWafAutoDenyRulesResponse,
|
|
27
|
+
ModifyWafAutoDenyStatusResponse,
|
|
28
|
+
RuleList,
|
|
29
|
+
DescribeIpHitItemsResponse,
|
|
22
30
|
DescribeCustomRulesRspRuleListItem,
|
|
23
31
|
AccessFullTextInfo,
|
|
32
|
+
ModifyWafAutoDenyRulesResponse,
|
|
24
33
|
ModifyCustomRuleStatusResponse,
|
|
25
34
|
ResponseCode,
|
|
26
35
|
DescribeUserClbWafRegionsResponse,
|
|
36
|
+
DescribeIpHitItemsRequest,
|
|
37
|
+
IpHitItemsData,
|
|
27
38
|
DeleteAttackDownloadRecordResponse,
|
|
39
|
+
IpAccessControlData,
|
|
28
40
|
ModifyAccessPeriodResponse,
|
|
29
41
|
DescribeAccessExportsResponse,
|
|
30
42
|
DescribeFlowTrendRequest,
|
|
43
|
+
DescribeWafAutoDenyStatusRequest,
|
|
44
|
+
WafThreatenIntelligenceDetails,
|
|
45
|
+
SearchAccessLogResponse,
|
|
46
|
+
DescribeDomainWhiteRulesRequest,
|
|
47
|
+
DeleteAccessExportRequest,
|
|
31
48
|
AccessLogItems,
|
|
32
49
|
ModifyCustomRuleStatusRequest,
|
|
33
|
-
|
|
34
|
-
|
|
50
|
+
DescribeAutoDenyIPResponse,
|
|
51
|
+
DeleteDownloadRecordRequest,
|
|
52
|
+
ModifyWafAutoDenyStatusRequest,
|
|
35
53
|
DeleteDownloadRecordResponse,
|
|
36
|
-
|
|
54
|
+
AddDomainWhiteRuleResponse,
|
|
55
|
+
DescribeIpAccessControlResponse,
|
|
56
|
+
DescribeIpAccessControlRequest,
|
|
57
|
+
DescribeDomainWhiteRulesResponse,
|
|
37
58
|
ModifyAccessPeriodRequest,
|
|
59
|
+
DescribeWafThreatenIntelligenceResponse,
|
|
60
|
+
ModifyDomainWhiteRuleRequest,
|
|
38
61
|
DescribeUserClbWafRegionsRequest,
|
|
39
62
|
DeleteAttackDownloadRecordRequest,
|
|
40
63
|
AccessRuleTagInfo,
|
|
64
|
+
DescribeAutoDenyIPRequest,
|
|
41
65
|
DescribeAccessIndexRequest,
|
|
42
66
|
AccessRuleInfo,
|
|
43
67
|
DescribeAccessFastAnalysisRequest,
|
|
68
|
+
AddDomainWhiteRuleRequest,
|
|
44
69
|
AccessValueInfo,
|
|
70
|
+
DeleteIpAccessControlResponse,
|
|
71
|
+
IpHitItem,
|
|
45
72
|
DeleteSessionResponse,
|
|
46
73
|
AccessLogItem,
|
|
47
74
|
AccessLogInfo,
|
|
48
75
|
DeleteSessionRequest,
|
|
76
|
+
DescribeWafAutoDenyRulesRequest,
|
|
49
77
|
DescribeAccessExportsRequest,
|
|
78
|
+
DescribeWafThreatenIntelligenceRequest,
|
|
50
79
|
DescribeAccessIndexResponse,
|
|
51
80
|
CreateAttackDownloadTaskResponse,
|
|
52
81
|
CreateAccessExportResponse,
|
|
82
|
+
UpsertIpAccessControlRequest,
|
|
53
83
|
AddCustomRuleResponse,
|
|
54
84
|
AccessKeyValueInfo,
|
|
55
85
|
BotStatPointItem,
|
|
56
86
|
AddCustomRuleRequest,
|
|
87
|
+
DeleteIpAccessControlRequest,
|
|
57
88
|
DescribeCustomRulesResponse,
|
|
58
89
|
DescribeFlowTrendResponse,
|
|
59
|
-
|
|
90
|
+
DeleteDomainWhiteRulesResponse,
|
|
60
91
|
DescribeCustomRulesRequest,
|
|
61
92
|
DescribeCustomRulesPagingInfo,
|
|
62
|
-
|
|
93
|
+
AccessRuleKeyValueInfo,
|
|
94
|
+
ModifyDomainWhiteRuleResponse,
|
|
63
95
|
ExportAccessInfo,
|
|
96
|
+
ModifyWafAutoDenyRulesRequest,
|
|
64
97
|
DeleteAccessExportResponse,
|
|
98
|
+
ModifyWafThreatenIntelligenceResponse,
|
|
65
99
|
CreateAttackDownloadTaskRequest,
|
|
66
|
-
|
|
100
|
+
DescribeWafAutoDenyStatusResponse,
|
|
101
|
+
DeleteDomainWhiteRulesRequest,
|
|
102
|
+
UpsertIpAccessControlResponse,
|
|
103
|
+
IpAccessControlItem,
|
|
67
104
|
} from "./waf_models"
|
|
68
105
|
|
|
69
106
|
/**
|
|
@@ -75,26 +112,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
75
112
|
super("waf.tencentcloudapi.com", "2018-01-25", clientConfig)
|
|
76
113
|
}
|
|
77
114
|
|
|
78
|
-
/**
|
|
79
|
-
* 删除攻击日志下载任务记录
|
|
80
|
-
*/
|
|
81
|
-
async DeleteAttackDownloadRecord(
|
|
82
|
-
req: DeleteAttackDownloadRecordRequest,
|
|
83
|
-
cb?: (error: string, rep: DeleteAttackDownloadRecordResponse) => void
|
|
84
|
-
): Promise<DeleteAttackDownloadRecordResponse> {
|
|
85
|
-
return this.request("DeleteAttackDownloadRecord", req, cb)
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* 开启或禁用自定义策略
|
|
90
|
-
*/
|
|
91
|
-
async ModifyCustomRuleStatus(
|
|
92
|
-
req: ModifyCustomRuleStatusRequest,
|
|
93
|
-
cb?: (error: string, rep: ModifyCustomRuleStatusResponse) => void
|
|
94
|
-
): Promise<ModifyCustomRuleStatusResponse> {
|
|
95
|
-
return this.request("ModifyCustomRuleStatus", req, cb)
|
|
96
|
-
}
|
|
97
|
-
|
|
98
115
|
/**
|
|
99
116
|
* 本接口用于获取访问日志导出列表
|
|
100
117
|
*/
|
|
@@ -116,63 +133,75 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
116
133
|
}
|
|
117
134
|
|
|
118
135
|
/**
|
|
119
|
-
*
|
|
136
|
+
* 开启或禁用自定义策略
|
|
120
137
|
*/
|
|
121
|
-
async
|
|
122
|
-
req:
|
|
123
|
-
cb?: (error: string, rep:
|
|
124
|
-
): Promise<
|
|
125
|
-
return this.request("
|
|
138
|
+
async ModifyCustomRuleStatus(
|
|
139
|
+
req: ModifyCustomRuleStatusRequest,
|
|
140
|
+
cb?: (error: string, rep: ModifyCustomRuleStatusResponse) => void
|
|
141
|
+
): Promise<ModifyCustomRuleStatusResponse> {
|
|
142
|
+
return this.request("ModifyCustomRuleStatus", req, cb)
|
|
126
143
|
}
|
|
127
144
|
|
|
128
145
|
/**
|
|
129
|
-
*
|
|
146
|
+
* 本接口用于删除访问日志导出
|
|
130
147
|
*/
|
|
131
|
-
async
|
|
132
|
-
req:
|
|
133
|
-
cb?: (error: string, rep:
|
|
134
|
-
): Promise<
|
|
135
|
-
return this.request("
|
|
148
|
+
async DeleteAccessExport(
|
|
149
|
+
req: DeleteAccessExportRequest,
|
|
150
|
+
cb?: (error: string, rep: DeleteAccessExportResponse) => void
|
|
151
|
+
): Promise<DeleteAccessExportResponse> {
|
|
152
|
+
return this.request("DeleteAccessExport", req, cb)
|
|
136
153
|
}
|
|
137
154
|
|
|
138
155
|
/**
|
|
139
|
-
|
|
156
|
+
* 删除域名规则白名单
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
*/
|
|
160
|
+
async DeleteDomainWhiteRules(
|
|
161
|
+
req: DeleteDomainWhiteRulesRequest,
|
|
162
|
+
cb?: (error: string, rep: DeleteDomainWhiteRulesResponse) => void
|
|
163
|
+
): Promise<DeleteDomainWhiteRulesResponse> {
|
|
164
|
+
return this.request("DeleteDomainWhiteRules", req, cb)
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* 本接口用于获取访问日志索引配置信息
|
|
140
169
|
*/
|
|
141
|
-
async
|
|
142
|
-
req
|
|
143
|
-
cb?: (error: string, rep:
|
|
144
|
-
): Promise<
|
|
145
|
-
return this.request("
|
|
170
|
+
async DescribeAccessIndex(
|
|
171
|
+
req?: DescribeAccessIndexRequest,
|
|
172
|
+
cb?: (error: string, rep: DescribeAccessIndexResponse) => void
|
|
173
|
+
): Promise<DescribeAccessIndexResponse> {
|
|
174
|
+
return this.request("DescribeAccessIndex", req, cb)
|
|
146
175
|
}
|
|
147
176
|
|
|
148
177
|
/**
|
|
149
|
-
*
|
|
178
|
+
* 本接口用于创建访问日志导出
|
|
150
179
|
*/
|
|
151
|
-
async
|
|
152
|
-
req:
|
|
153
|
-
cb?: (error: string, rep:
|
|
154
|
-
): Promise<
|
|
155
|
-
return this.request("
|
|
180
|
+
async CreateAccessExport(
|
|
181
|
+
req: CreateAccessExportRequest,
|
|
182
|
+
cb?: (error: string, rep: CreateAccessExportResponse) => void
|
|
183
|
+
): Promise<CreateAccessExportResponse> {
|
|
184
|
+
return this.request("CreateAccessExport", req, cb)
|
|
156
185
|
}
|
|
157
186
|
|
|
158
187
|
/**
|
|
159
|
-
*
|
|
188
|
+
* Waf IP黑白名单Delete接口
|
|
160
189
|
*/
|
|
161
|
-
async
|
|
162
|
-
req:
|
|
163
|
-
cb?: (error: string, rep:
|
|
164
|
-
): Promise<
|
|
165
|
-
return this.request("
|
|
190
|
+
async DeleteIpAccessControl(
|
|
191
|
+
req: DeleteIpAccessControlRequest,
|
|
192
|
+
cb?: (error: string, rep: DeleteIpAccessControlResponse) => void
|
|
193
|
+
): Promise<DeleteIpAccessControlResponse> {
|
|
194
|
+
return this.request("DeleteIpAccessControl", req, cb)
|
|
166
195
|
}
|
|
167
196
|
|
|
168
197
|
/**
|
|
169
|
-
*
|
|
198
|
+
* 配置WAF自动封禁模块状态
|
|
170
199
|
*/
|
|
171
|
-
async
|
|
172
|
-
req
|
|
173
|
-
cb?: (error: string, rep:
|
|
174
|
-
): Promise<
|
|
175
|
-
return this.request("
|
|
200
|
+
async ModifyWafAutoDenyStatus(
|
|
201
|
+
req: ModifyWafAutoDenyStatusRequest,
|
|
202
|
+
cb?: (error: string, rep: ModifyWafAutoDenyStatusResponse) => void
|
|
203
|
+
): Promise<ModifyWafAutoDenyStatusResponse> {
|
|
204
|
+
return this.request("ModifyWafAutoDenyStatus", req, cb)
|
|
176
205
|
}
|
|
177
206
|
|
|
178
207
|
/**
|
|
@@ -195,6 +224,26 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
195
224
|
return this.request("DescribeFlowTrend", req, cb)
|
|
196
225
|
}
|
|
197
226
|
|
|
227
|
+
/**
|
|
228
|
+
* 创建攻击日志下载任务
|
|
229
|
+
*/
|
|
230
|
+
async CreateAttackDownloadTask(
|
|
231
|
+
req: CreateAttackDownloadTaskRequest,
|
|
232
|
+
cb?: (error: string, rep: CreateAttackDownloadTaskResponse) => void
|
|
233
|
+
): Promise<CreateAttackDownloadTaskResponse> {
|
|
234
|
+
return this.request("CreateAttackDownloadTask", req, cb)
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* 更改某一条规则
|
|
239
|
+
*/
|
|
240
|
+
async ModifyDomainWhiteRule(
|
|
241
|
+
req: ModifyDomainWhiteRuleRequest,
|
|
242
|
+
cb?: (error: string, rep: ModifyDomainWhiteRuleResponse) => void
|
|
243
|
+
): Promise<ModifyDomainWhiteRuleResponse> {
|
|
244
|
+
return this.request("ModifyDomainWhiteRule", req, cb)
|
|
245
|
+
}
|
|
246
|
+
|
|
198
247
|
/**
|
|
199
248
|
* 本接口用于访问日志的快速分析
|
|
200
249
|
*/
|
|
@@ -206,32 +255,174 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
206
255
|
}
|
|
207
256
|
|
|
208
257
|
/**
|
|
209
|
-
*
|
|
258
|
+
* 描述WAF自动封禁IP详情,对齐自动封堵状态
|
|
210
259
|
*/
|
|
211
|
-
async
|
|
212
|
-
req
|
|
213
|
-
cb?: (error: string, rep:
|
|
214
|
-
): Promise<
|
|
215
|
-
return this.request("
|
|
260
|
+
async DescribeAutoDenyIP(
|
|
261
|
+
req: DescribeAutoDenyIPRequest,
|
|
262
|
+
cb?: (error: string, rep: DescribeAutoDenyIPResponse) => void
|
|
263
|
+
): Promise<DescribeAutoDenyIPResponse> {
|
|
264
|
+
return this.request("DescribeAutoDenyIP", req, cb)
|
|
216
265
|
}
|
|
217
266
|
|
|
218
267
|
/**
|
|
219
|
-
*
|
|
268
|
+
* 描述WAF自动封禁模块详情
|
|
220
269
|
*/
|
|
221
|
-
async
|
|
222
|
-
req
|
|
223
|
-
cb?: (error: string, rep:
|
|
224
|
-
): Promise<
|
|
225
|
-
return this.request("
|
|
270
|
+
async DescribeWafAutoDenyStatus(
|
|
271
|
+
req?: DescribeWafAutoDenyStatusRequest,
|
|
272
|
+
cb?: (error: string, rep: DescribeWafAutoDenyStatusResponse) => void
|
|
273
|
+
): Promise<DescribeWafAutoDenyStatusResponse> {
|
|
274
|
+
return this.request("DescribeWafAutoDenyStatus", req, cb)
|
|
226
275
|
}
|
|
227
276
|
|
|
228
277
|
/**
|
|
229
|
-
*
|
|
278
|
+
* 增加自定义策略
|
|
230
279
|
*/
|
|
231
|
-
async
|
|
232
|
-
req:
|
|
233
|
-
cb?: (error: string, rep:
|
|
234
|
-
): Promise<
|
|
235
|
-
return this.request("
|
|
280
|
+
async AddCustomRule(
|
|
281
|
+
req: AddCustomRuleRequest,
|
|
282
|
+
cb?: (error: string, rep: AddCustomRuleResponse) => void
|
|
283
|
+
): Promise<AddCustomRuleResponse> {
|
|
284
|
+
return this.request("AddCustomRule", req, cb)
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Waf ip黑白名单查询
|
|
289
|
+
*/
|
|
290
|
+
async DescribeIpAccessControl(
|
|
291
|
+
req: DescribeIpAccessControlRequest,
|
|
292
|
+
cb?: (error: string, rep: DescribeIpAccessControlResponse) => void
|
|
293
|
+
): Promise<DescribeIpAccessControlResponse> {
|
|
294
|
+
return this.request("DescribeIpAccessControl", req, cb)
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* 配置WAF威胁情报封禁模块详情
|
|
299
|
+
*/
|
|
300
|
+
async ModifyWafThreatenIntelligence(
|
|
301
|
+
req: ModifyWafThreatenIntelligenceRequest,
|
|
302
|
+
cb?: (error: string, rep: ModifyWafThreatenIntelligenceResponse) => void
|
|
303
|
+
): Promise<ModifyWafThreatenIntelligenceResponse> {
|
|
304
|
+
return this.request("ModifyWafThreatenIntelligence", req, cb)
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* 修改ip惩罚规则
|
|
309
|
+
*/
|
|
310
|
+
async ModifyWafAutoDenyRules(
|
|
311
|
+
req: ModifyWafAutoDenyRulesRequest,
|
|
312
|
+
cb?: (error: string, rep: ModifyWafAutoDenyRulesResponse) => void
|
|
313
|
+
): Promise<ModifyWafAutoDenyRulesResponse> {
|
|
314
|
+
return this.request("ModifyWafAutoDenyRules", req, cb)
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* 在负载均衡型WAF的添加、编辑域名配置的时候,需要展示负载均衡型WAF(clb-waf)支持的地域列表,通过DescribeUserClbWafRegions既可以获得当前对客户已经开放的地域列表
|
|
319
|
+
*/
|
|
320
|
+
async DescribeUserClbWafRegions(
|
|
321
|
+
req?: DescribeUserClbWafRegionsRequest,
|
|
322
|
+
cb?: (error: string, rep: DescribeUserClbWafRegionsResponse) => void
|
|
323
|
+
): Promise<DescribeUserClbWafRegionsResponse> {
|
|
324
|
+
return this.request("DescribeUserClbWafRegions", req, cb)
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* 删除攻击日志下载任务记录
|
|
329
|
+
*/
|
|
330
|
+
async DeleteAttackDownloadRecord(
|
|
331
|
+
req: DeleteAttackDownloadRecordRequest,
|
|
332
|
+
cb?: (error: string, rep: DeleteAttackDownloadRecordResponse) => void
|
|
333
|
+
): Promise<DeleteAttackDownloadRecordResponse> {
|
|
334
|
+
return this.request("DeleteAttackDownloadRecord", req, cb)
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* 返回ip惩罚规则详细信息
|
|
339
|
+
*/
|
|
340
|
+
async DescribeWafAutoDenyRules(
|
|
341
|
+
req: DescribeWafAutoDenyRulesRequest,
|
|
342
|
+
cb?: (error: string, rep: DescribeWafAutoDenyRulesResponse) => void
|
|
343
|
+
): Promise<DescribeWafAutoDenyRulesResponse> {
|
|
344
|
+
return this.request("DescribeWafAutoDenyRules", req, cb)
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* 删除访问日志下载记录
|
|
349
|
+
*/
|
|
350
|
+
async DeleteDownloadRecord(
|
|
351
|
+
req: DeleteDownloadRecordRequest,
|
|
352
|
+
cb?: (error: string, rep: DeleteDownloadRecordResponse) => void
|
|
353
|
+
): Promise<DeleteDownloadRecordResponse> {
|
|
354
|
+
return this.request("DeleteDownloadRecord", req, cb)
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* 删除CC攻击的session设置
|
|
359
|
+
*/
|
|
360
|
+
async DeleteSession(
|
|
361
|
+
req: DeleteSessionRequest,
|
|
362
|
+
cb?: (error: string, rep: DeleteSessionResponse) => void
|
|
363
|
+
): Promise<DeleteSessionResponse> {
|
|
364
|
+
return this.request("DeleteSession", req, cb)
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* 获取域名的规则白名单
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
*/
|
|
372
|
+
async DescribeDomainWhiteRules(
|
|
373
|
+
req: DescribeDomainWhiteRulesRequest,
|
|
374
|
+
cb?: (error: string, rep: DescribeDomainWhiteRulesResponse) => void
|
|
375
|
+
): Promise<DescribeDomainWhiteRulesResponse> {
|
|
376
|
+
return this.request("DescribeDomainWhiteRules", req, cb)
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* 描述WAF威胁情报封禁模块配置详情
|
|
381
|
+
*/
|
|
382
|
+
async DescribeWafThreatenIntelligence(
|
|
383
|
+
req?: DescribeWafThreatenIntelligenceRequest,
|
|
384
|
+
cb?: (error: string, rep: DescribeWafThreatenIntelligenceResponse) => void
|
|
385
|
+
): Promise<DescribeWafThreatenIntelligenceResponse> {
|
|
386
|
+
return this.request("DescribeWafThreatenIntelligence", req, cb)
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* 本接口用于搜索WAF访问日志
|
|
391
|
+
*/
|
|
392
|
+
async SearchAccessLog(
|
|
393
|
+
req: SearchAccessLogRequest,
|
|
394
|
+
cb?: (error: string, rep: SearchAccessLogResponse) => void
|
|
395
|
+
): Promise<SearchAccessLogResponse> {
|
|
396
|
+
return this.request("SearchAccessLog", req, cb)
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Waf IP封堵状态查询
|
|
401
|
+
*/
|
|
402
|
+
async DescribeIpHitItems(
|
|
403
|
+
req: DescribeIpHitItemsRequest,
|
|
404
|
+
cb?: (error: string, rep: DescribeIpHitItemsResponse) => void
|
|
405
|
+
): Promise<DescribeIpHitItemsResponse> {
|
|
406
|
+
return this.request("DescribeIpHitItems", req, cb)
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* 增加域名规则白名单
|
|
411
|
+
*/
|
|
412
|
+
async AddDomainWhiteRule(
|
|
413
|
+
req: AddDomainWhiteRuleRequest,
|
|
414
|
+
cb?: (error: string, rep: AddDomainWhiteRuleResponse) => void
|
|
415
|
+
): Promise<AddDomainWhiteRuleResponse> {
|
|
416
|
+
return this.request("AddDomainWhiteRule", req, cb)
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Waf IP黑白名单Upsert接口
|
|
421
|
+
*/
|
|
422
|
+
async UpsertIpAccessControl(
|
|
423
|
+
req: UpsertIpAccessControlRequest,
|
|
424
|
+
cb?: (error: string, rep: UpsertIpAccessControlResponse) => void
|
|
425
|
+
): Promise<UpsertIpAccessControlResponse> {
|
|
426
|
+
return this.request("UpsertIpAccessControl", req, cb)
|
|
236
427
|
}
|
|
237
428
|
}
|