tencentcloud-sdk-nodejs-waf 4.0.974 → 4.0.1002
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 +1 -1
- package/products.md +139 -135
- package/src/services/waf/v20180125/waf_client.ts +45 -7
- package/src/services/waf/v20180125/waf_models.ts +272 -124
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +14 -2
- package/tencentcloud/services/waf/v20180125/waf_client.js +19 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +263 -123
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
ProductInfo,
|
|
28
28
|
DescribeAntiLeakageItem,
|
|
29
29
|
LoadBalancerPackageNew,
|
|
30
|
-
|
|
30
|
+
CCRuleItem,
|
|
31
31
|
DescribeCertificateVerifyResultResponse,
|
|
32
32
|
ModifyUserSignatureRuleResponse,
|
|
33
33
|
ModifyInstanceNameResponse,
|
|
@@ -91,11 +91,12 @@ import {
|
|
|
91
91
|
JobDateTime,
|
|
92
92
|
DescribeHostsRequest,
|
|
93
93
|
ModifyCustomWhiteRuleStatusRequest,
|
|
94
|
+
ModifyAreaBanRuleRequest,
|
|
94
95
|
ClbWafRegionItem,
|
|
95
96
|
DescribeFindDomainListRequest,
|
|
96
97
|
ModifyInstanceElasticModeResponse,
|
|
97
98
|
TargetEntity,
|
|
98
|
-
|
|
99
|
+
DeleteHostRequest,
|
|
99
100
|
DescribeDomainCountInfoRequest,
|
|
100
101
|
DescribeCustomWhiteRuleResponse,
|
|
101
102
|
ModifySpartaProtectionRequest,
|
|
@@ -131,6 +132,7 @@ import {
|
|
|
131
132
|
DescribeUserCdcClbWafRegionsResponse,
|
|
132
133
|
SwitchElasticModeResponse,
|
|
133
134
|
AccessRuleInfo,
|
|
135
|
+
DescribeAreaBanRuleResponse,
|
|
134
136
|
CCRuleLists,
|
|
135
137
|
BatchOperateUserSignatureRulesResponse,
|
|
136
138
|
ModifyAreaBanAreasResponse,
|
|
@@ -155,6 +157,7 @@ import {
|
|
|
155
157
|
DescribeUserSignatureClassResponse,
|
|
156
158
|
DescribePortsRequest,
|
|
157
159
|
DescribeWafAutoDenyStatusResponse,
|
|
160
|
+
AreaBanRule,
|
|
158
161
|
DescribeTlsVersionRequest,
|
|
159
162
|
DealData,
|
|
160
163
|
DescribeDomainDetailsSaasRequest,
|
|
@@ -187,6 +190,7 @@ import {
|
|
|
187
190
|
GoodNews,
|
|
188
191
|
ScanIpInfo,
|
|
189
192
|
DescribeUserSignatureRuleRequest,
|
|
193
|
+
ModifyAreaBanRuleResponse,
|
|
190
194
|
DescribeUserClbWafRegionsRequest,
|
|
191
195
|
AddAntiInfoLeakRulesResponse,
|
|
192
196
|
DescribeWafThreatenIntelligenceResponse,
|
|
@@ -202,7 +206,7 @@ import {
|
|
|
202
206
|
ClbObject,
|
|
203
207
|
ModifyUserLevelResponse,
|
|
204
208
|
CreateAccessExportRequest,
|
|
205
|
-
|
|
209
|
+
ModifyUserLevelRequest,
|
|
206
210
|
DescribeIpHitItemsResponse,
|
|
207
211
|
ModifyHostResponse,
|
|
208
212
|
DescribeCertificateVerifyResultRequest,
|
|
@@ -236,18 +240,21 @@ import {
|
|
|
236
240
|
DescribeAccessExportsRequest,
|
|
237
241
|
DescribeCustomWhiteRuleRequest,
|
|
238
242
|
DeleteAntiFakeUrlResponse,
|
|
243
|
+
CreateAreaBanRuleRequest,
|
|
244
|
+
Area,
|
|
239
245
|
DescribeUserLevelResponse,
|
|
240
246
|
IpAccessControlParam,
|
|
241
247
|
DescribeCustomRuleListResponse,
|
|
242
248
|
GetInstanceQpsLimitRequest,
|
|
243
249
|
SessionData,
|
|
244
|
-
|
|
250
|
+
DescribeAutoDenyIPResponse,
|
|
245
251
|
SwitchDomainRulesResponse,
|
|
246
252
|
ModifyInstanceQpsLimitRequest,
|
|
247
253
|
FreshAntiFakeUrlResponse,
|
|
248
254
|
DeleteSpartaProtectionRequest,
|
|
249
255
|
UserDomainInfo,
|
|
250
256
|
DescribeAntiFakeRulesResponse,
|
|
257
|
+
CreateAreaBanRuleResponse,
|
|
251
258
|
GetAttackTotalCountRequest,
|
|
252
259
|
DeleteDomainWhiteRulesResponse,
|
|
253
260
|
DescribeAttackOverviewResponse,
|
|
@@ -286,7 +293,7 @@ import {
|
|
|
286
293
|
ModifyAntiInfoLeakRuleStatusResponse,
|
|
287
294
|
ModifyAreaBanStatusResponse,
|
|
288
295
|
DeleteIpAccessControlV2Request,
|
|
289
|
-
|
|
296
|
+
DescribeTopAttackDomainRequest,
|
|
290
297
|
DescribeAccessFastAnalysisResponse,
|
|
291
298
|
ModifyDomainIpv6StatusResponse,
|
|
292
299
|
DescribeHostLimitResponse,
|
|
@@ -299,6 +306,7 @@ import {
|
|
|
299
306
|
DescribeCCRuleRequest,
|
|
300
307
|
BatchOperateUserSignatureRulesRequest,
|
|
301
308
|
GetAttackDownloadRecordsResponse,
|
|
309
|
+
DescribeAreaBanRuleRequest,
|
|
302
310
|
DescribeApiDetailResponse,
|
|
303
311
|
VipInfo,
|
|
304
312
|
DescribeAccessHistogramResponse,
|
|
@@ -309,7 +317,6 @@ import {
|
|
|
309
317
|
DescribeWafThreatenIntelligenceRequest,
|
|
310
318
|
DescribeAccessExportsResponse,
|
|
311
319
|
DeleteCustomRuleResponse,
|
|
312
|
-
DescribeTopAttackDomainRequest,
|
|
313
320
|
DescribeHistogramRequest,
|
|
314
321
|
DeleteCCRuleResponse,
|
|
315
322
|
DescribeAreaBanAreasRsp,
|
|
@@ -403,6 +410,7 @@ import {
|
|
|
403
410
|
DeleteAccessExportRequest,
|
|
404
411
|
DescribeTlsVersionResponse,
|
|
405
412
|
DescribeDomainWhiteRulesResponse,
|
|
413
|
+
ModifyWafAutoDenyRulesRequest,
|
|
406
414
|
DescribeSessionResponse,
|
|
407
415
|
UpsertSessionRequest,
|
|
408
416
|
DescribeHostLimitRequest,
|
|
@@ -787,6 +795,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
787
795
|
return this.request("DeleteAntiInfoLeakRule", req, cb)
|
|
788
796
|
}
|
|
789
797
|
|
|
798
|
+
/**
|
|
799
|
+
* 添加(编辑)地域封禁中的地域信息
|
|
800
|
+
*/
|
|
801
|
+
async CreateAreaBanRule(
|
|
802
|
+
req: CreateAreaBanRuleRequest,
|
|
803
|
+
cb?: (error: string, rep: CreateAreaBanRuleResponse) => void
|
|
804
|
+
): Promise<CreateAreaBanRuleResponse> {
|
|
805
|
+
return this.request("CreateAreaBanRule", req, cb)
|
|
806
|
+
}
|
|
807
|
+
|
|
790
808
|
/**
|
|
791
809
|
* 修改地域封禁中的地域信息
|
|
792
810
|
*/
|
|
@@ -1169,7 +1187,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1169
1187
|
}
|
|
1170
1188
|
|
|
1171
1189
|
/**
|
|
1172
|
-
*
|
|
1190
|
+
* 开启、关闭WAF开关
|
|
1173
1191
|
*/
|
|
1174
1192
|
async ModifyProtectionStatus(
|
|
1175
1193
|
req: ModifyProtectionStatusRequest,
|
|
@@ -1538,6 +1556,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1538
1556
|
return this.request("GetInstanceQpsLimit", req, cb)
|
|
1539
1557
|
}
|
|
1540
1558
|
|
|
1559
|
+
/**
|
|
1560
|
+
* 获取地域封禁规则配置
|
|
1561
|
+
*/
|
|
1562
|
+
async DescribeAreaBanRule(
|
|
1563
|
+
req: DescribeAreaBanRuleRequest,
|
|
1564
|
+
cb?: (error: string, rep: DescribeAreaBanRuleResponse) => void
|
|
1565
|
+
): Promise<DescribeAreaBanRuleResponse> {
|
|
1566
|
+
return this.request("DescribeAreaBanRule", req, cb)
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1541
1569
|
/**
|
|
1542
1570
|
* 本接口用于删除访问日志导出
|
|
1543
1571
|
*/
|
|
@@ -1668,6 +1696,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1668
1696
|
return this.request("DescribeUserCdcClbWafRegions", req, cb)
|
|
1669
1697
|
}
|
|
1670
1698
|
|
|
1699
|
+
/**
|
|
1700
|
+
* 添加(编辑)地域封禁中的地域信息
|
|
1701
|
+
*/
|
|
1702
|
+
async ModifyAreaBanRule(
|
|
1703
|
+
req: ModifyAreaBanRuleRequest,
|
|
1704
|
+
cb?: (error: string, rep: ModifyAreaBanRuleResponse) => void
|
|
1705
|
+
): Promise<ModifyAreaBanRuleResponse> {
|
|
1706
|
+
return this.request("ModifyAreaBanRule", req, cb)
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1671
1709
|
/**
|
|
1672
1710
|
* 描述WAF自动封禁模块详情
|
|
1673
1711
|
*/
|
|
@@ -354,13 +354,77 @@ export interface LoadBalancerPackageNew {
|
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
/**
|
|
357
|
-
*
|
|
357
|
+
* cc规则
|
|
358
358
|
*/
|
|
359
|
-
export interface
|
|
359
|
+
export interface CCRuleItem {
|
|
360
360
|
/**
|
|
361
|
-
*
|
|
361
|
+
* 动作,20表示观察,21表示人机识别,22表示拦截,23表示精准拦截,24表示JS校验
|
|
362
362
|
*/
|
|
363
|
-
|
|
363
|
+
ActionType?: number
|
|
364
|
+
/**
|
|
365
|
+
* 高级模式
|
|
366
|
+
*/
|
|
367
|
+
Advance?: number
|
|
368
|
+
/**
|
|
369
|
+
* 时间周期
|
|
370
|
+
*/
|
|
371
|
+
Interval?: number
|
|
372
|
+
/**
|
|
373
|
+
* 限制次数
|
|
374
|
+
*/
|
|
375
|
+
Limit?: number
|
|
376
|
+
/**
|
|
377
|
+
* 匹配方法
|
|
378
|
+
*/
|
|
379
|
+
MatchFunc?: number
|
|
380
|
+
/**
|
|
381
|
+
* 名称
|
|
382
|
+
*/
|
|
383
|
+
Name?: string
|
|
384
|
+
/**
|
|
385
|
+
* 优先级
|
|
386
|
+
*/
|
|
387
|
+
Priority?: number
|
|
388
|
+
/**
|
|
389
|
+
* 状态
|
|
390
|
+
*/
|
|
391
|
+
Status?: number
|
|
392
|
+
/**
|
|
393
|
+
* 更新时间戳
|
|
394
|
+
*/
|
|
395
|
+
TsVersion?: number
|
|
396
|
+
/**
|
|
397
|
+
* 匹配url
|
|
398
|
+
*/
|
|
399
|
+
Url?: string
|
|
400
|
+
/**
|
|
401
|
+
* 策略动作有效时间
|
|
402
|
+
*/
|
|
403
|
+
ValidTime?: number
|
|
404
|
+
/**
|
|
405
|
+
* 高级参数
|
|
406
|
+
*/
|
|
407
|
+
OptionsArr?: string
|
|
408
|
+
/**
|
|
409
|
+
* url长度
|
|
410
|
+
*/
|
|
411
|
+
Length?: number
|
|
412
|
+
/**
|
|
413
|
+
* 规则ID
|
|
414
|
+
*/
|
|
415
|
+
RuleId?: number
|
|
416
|
+
/**
|
|
417
|
+
* 事件id
|
|
418
|
+
*/
|
|
419
|
+
EventId?: string
|
|
420
|
+
/**
|
|
421
|
+
* 关联的Session规则
|
|
422
|
+
*/
|
|
423
|
+
SessionApplied?: Array<number | bigint>
|
|
424
|
+
/**
|
|
425
|
+
* 创建时间
|
|
426
|
+
*/
|
|
427
|
+
CreateTime?: number
|
|
364
428
|
}
|
|
365
429
|
|
|
366
430
|
/**
|
|
@@ -1827,6 +1891,32 @@ export interface ModifyCustomWhiteRuleStatusRequest {
|
|
|
1827
1891
|
Status: number
|
|
1828
1892
|
}
|
|
1829
1893
|
|
|
1894
|
+
/**
|
|
1895
|
+
* ModifyAreaBanRule请求参数结构体
|
|
1896
|
+
*/
|
|
1897
|
+
export interface ModifyAreaBanRuleRequest {
|
|
1898
|
+
/**
|
|
1899
|
+
* 需要修改的域名
|
|
1900
|
+
*/
|
|
1901
|
+
Domain: string
|
|
1902
|
+
/**
|
|
1903
|
+
* 需要新增的封禁地域
|
|
1904
|
+
*/
|
|
1905
|
+
Areas: Array<Area>
|
|
1906
|
+
/**
|
|
1907
|
+
* 规则执行的方式,TimedJob为定时执行,CronJob为周期执行
|
|
1908
|
+
*/
|
|
1909
|
+
JobType: string
|
|
1910
|
+
/**
|
|
1911
|
+
* 定时任务配置
|
|
1912
|
+
*/
|
|
1913
|
+
JobDateTime: JobDateTime
|
|
1914
|
+
/**
|
|
1915
|
+
* 地域信息的语言,支持cn、en,默认为中文cn
|
|
1916
|
+
*/
|
|
1917
|
+
Lang?: string
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1830
1920
|
/**
|
|
1831
1921
|
* Clb-waf地域信息
|
|
1832
1922
|
*/
|
|
@@ -1904,77 +1994,13 @@ export interface TargetEntity {
|
|
|
1904
1994
|
}
|
|
1905
1995
|
|
|
1906
1996
|
/**
|
|
1907
|
-
*
|
|
1997
|
+
* DeleteHost请求参数结构体
|
|
1908
1998
|
*/
|
|
1909
|
-
export interface
|
|
1910
|
-
/**
|
|
1911
|
-
* 动作,20表示观察,21表示人机识别,22表示拦截,23表示精准拦截,24表示JS校验
|
|
1912
|
-
*/
|
|
1913
|
-
ActionType?: number
|
|
1914
|
-
/**
|
|
1915
|
-
* 高级模式
|
|
1916
|
-
*/
|
|
1917
|
-
Advance?: number
|
|
1918
|
-
/**
|
|
1919
|
-
* 时间周期
|
|
1920
|
-
*/
|
|
1921
|
-
Interval?: number
|
|
1922
|
-
/**
|
|
1923
|
-
* 限制次数
|
|
1924
|
-
*/
|
|
1925
|
-
Limit?: number
|
|
1926
|
-
/**
|
|
1927
|
-
* 匹配方法
|
|
1928
|
-
*/
|
|
1929
|
-
MatchFunc?: number
|
|
1930
|
-
/**
|
|
1931
|
-
* 名称
|
|
1932
|
-
*/
|
|
1933
|
-
Name?: string
|
|
1934
|
-
/**
|
|
1935
|
-
* 优先级
|
|
1936
|
-
*/
|
|
1937
|
-
Priority?: number
|
|
1938
|
-
/**
|
|
1939
|
-
* 状态
|
|
1940
|
-
*/
|
|
1941
|
-
Status?: number
|
|
1942
|
-
/**
|
|
1943
|
-
* 更新时间戳
|
|
1944
|
-
*/
|
|
1945
|
-
TsVersion?: number
|
|
1946
|
-
/**
|
|
1947
|
-
* 匹配url
|
|
1948
|
-
*/
|
|
1949
|
-
Url?: string
|
|
1950
|
-
/**
|
|
1951
|
-
* 策略动作有效时间
|
|
1952
|
-
*/
|
|
1953
|
-
ValidTime?: number
|
|
1954
|
-
/**
|
|
1955
|
-
* 高级参数
|
|
1956
|
-
*/
|
|
1957
|
-
OptionsArr?: string
|
|
1958
|
-
/**
|
|
1959
|
-
* url长度
|
|
1960
|
-
*/
|
|
1961
|
-
Length?: number
|
|
1962
|
-
/**
|
|
1963
|
-
* 规则ID
|
|
1964
|
-
*/
|
|
1965
|
-
RuleId?: number
|
|
1966
|
-
/**
|
|
1967
|
-
* 事件id
|
|
1968
|
-
*/
|
|
1969
|
-
EventId?: string
|
|
1970
|
-
/**
|
|
1971
|
-
* 关联的Session规则
|
|
1972
|
-
*/
|
|
1973
|
-
SessionApplied?: Array<number | bigint>
|
|
1999
|
+
export interface DeleteHostRequest {
|
|
1974
2000
|
/**
|
|
1975
|
-
*
|
|
2001
|
+
* 删除的域名列表
|
|
1976
2002
|
*/
|
|
1977
|
-
|
|
2003
|
+
HostsDel: Array<HostDel>
|
|
1978
2004
|
}
|
|
1979
2005
|
|
|
1980
2006
|
/**
|
|
@@ -2223,7 +2249,7 @@ export interface DescribeAntiFakeRulesRequest {
|
|
|
2223
2249
|
*/
|
|
2224
2250
|
Order?: string
|
|
2225
2251
|
/**
|
|
2226
|
-
* 目前支持根据
|
|
2252
|
+
* 目前支持根据create_time、modify_time、id排序
|
|
2227
2253
|
*/
|
|
2228
2254
|
By?: string
|
|
2229
2255
|
}
|
|
@@ -3033,6 +3059,20 @@ export interface AccessRuleInfo {
|
|
|
3033
3059
|
Tag?: AccessRuleTagInfo
|
|
3034
3060
|
}
|
|
3035
3061
|
|
|
3062
|
+
/**
|
|
3063
|
+
* DescribeAreaBanRule返回参数结构体
|
|
3064
|
+
*/
|
|
3065
|
+
export interface DescribeAreaBanRuleResponse {
|
|
3066
|
+
/**
|
|
3067
|
+
* 规则内容
|
|
3068
|
+
*/
|
|
3069
|
+
Data?: AreaBanRule
|
|
3070
|
+
/**
|
|
3071
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3072
|
+
*/
|
|
3073
|
+
RequestId?: string
|
|
3074
|
+
}
|
|
3075
|
+
|
|
3036
3076
|
/**
|
|
3037
3077
|
* CC规则总览
|
|
3038
3078
|
*/
|
|
@@ -3545,6 +3585,40 @@ export interface DescribeWafAutoDenyStatusResponse {
|
|
|
3545
3585
|
RequestId?: string
|
|
3546
3586
|
}
|
|
3547
3587
|
|
|
3588
|
+
/**
|
|
3589
|
+
* 地域封禁规则详情
|
|
3590
|
+
*/
|
|
3591
|
+
export interface AreaBanRule {
|
|
3592
|
+
/**
|
|
3593
|
+
* 状态 0:未开启地域封禁、1:开启地域封禁
|
|
3594
|
+
*/
|
|
3595
|
+
Status?: number
|
|
3596
|
+
/**
|
|
3597
|
+
* 数据来源 custom:自定义(默认)、batch:批量防护
|
|
3598
|
+
*/
|
|
3599
|
+
Source?: string
|
|
3600
|
+
/**
|
|
3601
|
+
* 配置的地域列表
|
|
3602
|
+
*/
|
|
3603
|
+
Areas?: Array<Area>
|
|
3604
|
+
/**
|
|
3605
|
+
* 规则执行的方式,TimedJob为定时执行,CronJob为周期执行
|
|
3606
|
+
*/
|
|
3607
|
+
JobType?: string
|
|
3608
|
+
/**
|
|
3609
|
+
* 定时任务配置
|
|
3610
|
+
*/
|
|
3611
|
+
JobDateTime?: JobDateTime
|
|
3612
|
+
/**
|
|
3613
|
+
* 如果是周期任务类型,那么表示周期的类型,支持 Week:按周、Month:按月
|
|
3614
|
+
*/
|
|
3615
|
+
CronType?: string
|
|
3616
|
+
/**
|
|
3617
|
+
* 地域信息的语言,支持cn、en,默认为中文cn
|
|
3618
|
+
*/
|
|
3619
|
+
Lang?: string
|
|
3620
|
+
}
|
|
3621
|
+
|
|
3548
3622
|
/**
|
|
3549
3623
|
* DescribeTlsVersion请求参数结构体
|
|
3550
3624
|
*/
|
|
@@ -4655,6 +4729,16 @@ export interface DescribeUserSignatureRuleRequest {
|
|
|
4655
4729
|
Filters?: Array<FiltersItemNew>
|
|
4656
4730
|
}
|
|
4657
4731
|
|
|
4732
|
+
/**
|
|
4733
|
+
* ModifyAreaBanRule返回参数结构体
|
|
4734
|
+
*/
|
|
4735
|
+
export interface ModifyAreaBanRuleResponse {
|
|
4736
|
+
/**
|
|
4737
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4738
|
+
*/
|
|
4739
|
+
RequestId?: string
|
|
4740
|
+
}
|
|
4741
|
+
|
|
4658
4742
|
/**
|
|
4659
4743
|
* DescribeUserClbWafRegions请求参数结构体
|
|
4660
4744
|
*/
|
|
@@ -5062,17 +5146,17 @@ export interface CreateAccessExportRequest {
|
|
|
5062
5146
|
}
|
|
5063
5147
|
|
|
5064
5148
|
/**
|
|
5065
|
-
*
|
|
5149
|
+
* ModifyUserLevel请求参数结构体
|
|
5066
5150
|
*/
|
|
5067
|
-
export interface
|
|
5151
|
+
export interface ModifyUserLevelRequest {
|
|
5068
5152
|
/**
|
|
5069
|
-
*
|
|
5153
|
+
* 域名
|
|
5070
5154
|
*/
|
|
5071
|
-
|
|
5155
|
+
Domain: string
|
|
5072
5156
|
/**
|
|
5073
|
-
*
|
|
5157
|
+
* 防护规则等级 300=standard,400=extended
|
|
5074
5158
|
*/
|
|
5075
|
-
|
|
5159
|
+
Level: number
|
|
5076
5160
|
}
|
|
5077
5161
|
|
|
5078
5162
|
/**
|
|
@@ -5328,7 +5412,7 @@ export interface ModifyProtectionStatusRequest {
|
|
|
5328
5412
|
*/
|
|
5329
5413
|
Domain: string
|
|
5330
5414
|
/**
|
|
5331
|
-
*
|
|
5415
|
+
* 1:开启WAF开关,0:关闭WAF开关
|
|
5332
5416
|
*/
|
|
5333
5417
|
Status: number
|
|
5334
5418
|
/**
|
|
@@ -5803,6 +5887,50 @@ export interface DeleteAntiFakeUrlResponse {
|
|
|
5803
5887
|
RequestId?: string
|
|
5804
5888
|
}
|
|
5805
5889
|
|
|
5890
|
+
/**
|
|
5891
|
+
* CreateAreaBanRule请求参数结构体
|
|
5892
|
+
*/
|
|
5893
|
+
export interface CreateAreaBanRuleRequest {
|
|
5894
|
+
/**
|
|
5895
|
+
* 需要修改的域名
|
|
5896
|
+
*/
|
|
5897
|
+
Domain: string
|
|
5898
|
+
/**
|
|
5899
|
+
* 需要新增的封禁地域
|
|
5900
|
+
*/
|
|
5901
|
+
Areas: Array<Area>
|
|
5902
|
+
/**
|
|
5903
|
+
* 规则执行的方式,TimedJob为定时执行,CronJob为周期执行
|
|
5904
|
+
*/
|
|
5905
|
+
JobType: string
|
|
5906
|
+
/**
|
|
5907
|
+
* 定时任务配置
|
|
5908
|
+
*/
|
|
5909
|
+
JobDateTime: JobDateTime
|
|
5910
|
+
/**
|
|
5911
|
+
* 地域信息的语言,支持cn、en,默认为中文cn
|
|
5912
|
+
*/
|
|
5913
|
+
Lang: string
|
|
5914
|
+
}
|
|
5915
|
+
|
|
5916
|
+
/**
|
|
5917
|
+
* 地域信息
|
|
5918
|
+
*/
|
|
5919
|
+
export interface Area {
|
|
5920
|
+
/**
|
|
5921
|
+
* 国家,除了标准的国家外还支持国内、国外这两个特殊的标识
|
|
5922
|
+
*/
|
|
5923
|
+
Country: string
|
|
5924
|
+
/**
|
|
5925
|
+
* 省份
|
|
5926
|
+
*/
|
|
5927
|
+
Region?: string
|
|
5928
|
+
/**
|
|
5929
|
+
* 城市
|
|
5930
|
+
*/
|
|
5931
|
+
City?: string
|
|
5932
|
+
}
|
|
5933
|
+
|
|
5806
5934
|
/**
|
|
5807
5935
|
* DescribeUserLevel返回参数结构体
|
|
5808
5936
|
*/
|
|
@@ -5882,17 +6010,17 @@ export interface SessionData {
|
|
|
5882
6010
|
}
|
|
5883
6011
|
|
|
5884
6012
|
/**
|
|
5885
|
-
*
|
|
6013
|
+
* DescribeAutoDenyIP返回参数结构体
|
|
5886
6014
|
*/
|
|
5887
|
-
export interface
|
|
6015
|
+
export interface DescribeAutoDenyIPResponse {
|
|
5888
6016
|
/**
|
|
5889
|
-
*
|
|
6017
|
+
* 查询IP封禁状态返回结果
|
|
5890
6018
|
*/
|
|
5891
|
-
|
|
6019
|
+
Data?: IpHitItemsData
|
|
5892
6020
|
/**
|
|
5893
|
-
*
|
|
6021
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5894
6022
|
*/
|
|
5895
|
-
|
|
6023
|
+
RequestId?: string
|
|
5896
6024
|
}
|
|
5897
6025
|
|
|
5898
6026
|
/**
|
|
@@ -6027,6 +6155,16 @@ export interface DescribeAntiFakeRulesResponse {
|
|
|
6027
6155
|
RequestId?: string
|
|
6028
6156
|
}
|
|
6029
6157
|
|
|
6158
|
+
/**
|
|
6159
|
+
* CreateAreaBanRule返回参数结构体
|
|
6160
|
+
*/
|
|
6161
|
+
export interface CreateAreaBanRuleResponse {
|
|
6162
|
+
/**
|
|
6163
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6164
|
+
*/
|
|
6165
|
+
RequestId?: string
|
|
6166
|
+
}
|
|
6167
|
+
|
|
6030
6168
|
/**
|
|
6031
6169
|
* GetAttackTotalCount请求参数结构体
|
|
6032
6170
|
*/
|
|
@@ -6951,29 +7089,29 @@ export interface DeleteIpAccessControlV2Request {
|
|
|
6951
7089
|
}
|
|
6952
7090
|
|
|
6953
7091
|
/**
|
|
6954
|
-
*
|
|
7092
|
+
* DescribeTopAttackDomain请求参数结构体
|
|
6955
7093
|
*/
|
|
6956
|
-
export interface
|
|
7094
|
+
export interface DescribeTopAttackDomainRequest {
|
|
6957
7095
|
/**
|
|
6958
|
-
*
|
|
7096
|
+
* 查询起始时间
|
|
6959
7097
|
*/
|
|
6960
|
-
|
|
7098
|
+
FromTime: string
|
|
6961
7099
|
/**
|
|
6962
|
-
*
|
|
7100
|
+
* 查询结束时间
|
|
6963
7101
|
*/
|
|
6964
|
-
|
|
7102
|
+
ToTime: string
|
|
6965
7103
|
/**
|
|
6966
|
-
*
|
|
7104
|
+
* TOP N,可从0-10选择,默认是10
|
|
6967
7105
|
*/
|
|
6968
|
-
|
|
7106
|
+
Count?: number
|
|
6969
7107
|
/**
|
|
6970
|
-
*
|
|
7108
|
+
* 只有两个值有效,sparta-waf,clb-waf,不传则不过滤
|
|
6971
7109
|
*/
|
|
6972
|
-
|
|
7110
|
+
Edition?: string
|
|
6973
7111
|
/**
|
|
6974
|
-
*
|
|
7112
|
+
* WAF实例ID,不传则不过滤
|
|
6975
7113
|
*/
|
|
6976
|
-
|
|
7114
|
+
InstanceID?: string
|
|
6977
7115
|
}
|
|
6978
7116
|
|
|
6979
7117
|
/**
|
|
@@ -7228,6 +7366,16 @@ export interface GetAttackDownloadRecordsResponse {
|
|
|
7228
7366
|
RequestId?: string
|
|
7229
7367
|
}
|
|
7230
7368
|
|
|
7369
|
+
/**
|
|
7370
|
+
* DescribeAreaBanRule请求参数结构体
|
|
7371
|
+
*/
|
|
7372
|
+
export interface DescribeAreaBanRuleRequest {
|
|
7373
|
+
/**
|
|
7374
|
+
* 需要查询的域名
|
|
7375
|
+
*/
|
|
7376
|
+
Domain: string
|
|
7377
|
+
}
|
|
7378
|
+
|
|
7231
7379
|
/**
|
|
7232
7380
|
* DescribeApiDetail返回参数结构体
|
|
7233
7381
|
*/
|
|
@@ -7487,32 +7635,6 @@ export interface DeleteCustomRuleResponse {
|
|
|
7487
7635
|
RequestId?: string
|
|
7488
7636
|
}
|
|
7489
7637
|
|
|
7490
|
-
/**
|
|
7491
|
-
* DescribeTopAttackDomain请求参数结构体
|
|
7492
|
-
*/
|
|
7493
|
-
export interface DescribeTopAttackDomainRequest {
|
|
7494
|
-
/**
|
|
7495
|
-
* 查询起始时间
|
|
7496
|
-
*/
|
|
7497
|
-
FromTime: string
|
|
7498
|
-
/**
|
|
7499
|
-
* 查询结束时间
|
|
7500
|
-
*/
|
|
7501
|
-
ToTime: string
|
|
7502
|
-
/**
|
|
7503
|
-
* TOP N,可从0-10选择,默认是10
|
|
7504
|
-
*/
|
|
7505
|
-
Count?: number
|
|
7506
|
-
/**
|
|
7507
|
-
* 只有两个值有效,sparta-waf,clb-waf,不传则不过滤
|
|
7508
|
-
*/
|
|
7509
|
-
Edition?: string
|
|
7510
|
-
/**
|
|
7511
|
-
* WAF实例ID,不传则不过滤
|
|
7512
|
-
*/
|
|
7513
|
-
InstanceID?: string
|
|
7514
|
-
}
|
|
7515
|
-
|
|
7516
7638
|
/**
|
|
7517
7639
|
* DescribeHistogram请求参数结构体
|
|
7518
7640
|
*/
|
|
@@ -10170,6 +10292,32 @@ export interface DescribeDomainWhiteRulesResponse {
|
|
|
10170
10292
|
RequestId?: string
|
|
10171
10293
|
}
|
|
10172
10294
|
|
|
10295
|
+
/**
|
|
10296
|
+
* ModifyWafAutoDenyRules请求参数结构体
|
|
10297
|
+
*/
|
|
10298
|
+
export interface ModifyWafAutoDenyRulesRequest {
|
|
10299
|
+
/**
|
|
10300
|
+
* 域名
|
|
10301
|
+
*/
|
|
10302
|
+
Domain: string
|
|
10303
|
+
/**
|
|
10304
|
+
* 触发IP封禁的攻击次数阈值,范围为2~100次
|
|
10305
|
+
*/
|
|
10306
|
+
AttackThreshold: number
|
|
10307
|
+
/**
|
|
10308
|
+
* IP封禁统计时间,范围为1-60分钟
|
|
10309
|
+
*/
|
|
10310
|
+
TimeThreshold: number
|
|
10311
|
+
/**
|
|
10312
|
+
* 触发IP封禁后的封禁时间,范围为5~360分钟
|
|
10313
|
+
*/
|
|
10314
|
+
DenyTimeThreshold: number
|
|
10315
|
+
/**
|
|
10316
|
+
* 自动封禁状态,0表示关闭,1表示打开
|
|
10317
|
+
*/
|
|
10318
|
+
DefenseStatus: number
|
|
10319
|
+
}
|
|
10320
|
+
|
|
10173
10321
|
/**
|
|
10174
10322
|
* DescribeSession返回参数结构体
|
|
10175
10323
|
*/
|