tencentcloud-sdk-nodejs-waf 4.0.580 → 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/CHANGELOG.md +576 -0
- package/SERVICE_CHANGELOG.md +810 -243
- package/package.json +1 -1
- package/products.md +32 -32
- package/src/services/waf/v20180125/waf_client.ts +40 -15
- package/src/services/waf/v20180125/waf_models.ts +325 -29
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +14 -6
- package/tencentcloud/services/waf/v20180125/waf_client.js +19 -7
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +276 -27
|
@@ -299,28 +299,48 @@ export interface AccessLogItems {
|
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
/**
|
|
302
|
-
*
|
|
302
|
+
* DescribePeakValue返回参数结构体
|
|
303
303
|
*/
|
|
304
|
-
export interface
|
|
304
|
+
export interface DescribePeakValueResponse {
|
|
305
305
|
/**
|
|
306
|
-
*
|
|
306
|
+
* QPS峰值
|
|
307
307
|
*/
|
|
308
|
-
|
|
308
|
+
Access: number
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
|
-
*
|
|
311
|
+
* 上行带宽峰值,单位B
|
|
312
312
|
*/
|
|
313
|
-
|
|
313
|
+
Up: number
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
|
-
*
|
|
316
|
+
* 下行带宽峰值,单位B
|
|
317
317
|
*/
|
|
318
|
-
|
|
318
|
+
Down: number
|
|
319
319
|
|
|
320
320
|
/**
|
|
321
|
-
*
|
|
321
|
+
* Web攻击总数
|
|
322
322
|
*/
|
|
323
|
-
|
|
323
|
+
Attack: number
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* CC攻击总数
|
|
327
|
+
*/
|
|
328
|
+
Cc: number
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
332
|
+
*/
|
|
333
|
+
RequestId?: string
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* AddDomainWhiteRule返回参数结构体
|
|
338
|
+
*/
|
|
339
|
+
export interface AddDomainWhiteRuleResponse {
|
|
340
|
+
/**
|
|
341
|
+
* 规则id
|
|
342
|
+
*/
|
|
343
|
+
Id?: number
|
|
324
344
|
|
|
325
345
|
/**
|
|
326
346
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -487,6 +507,54 @@ export interface AccessRuleTagInfo {
|
|
|
487
507
|
KeyValues: Array<AccessKeyValueInfo>
|
|
488
508
|
}
|
|
489
509
|
|
|
510
|
+
/**
|
|
511
|
+
* DescribePeakPoints请求参数结构体
|
|
512
|
+
*/
|
|
513
|
+
export interface DescribePeakPointsRequest {
|
|
514
|
+
/**
|
|
515
|
+
* 查询起始时间
|
|
516
|
+
*/
|
|
517
|
+
FromTime: string
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* 查询终止时间
|
|
521
|
+
*/
|
|
522
|
+
ToTime: string
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* 查询的域名,如果查询所有域名数据,该参数不填写
|
|
526
|
+
*/
|
|
527
|
+
Domain?: string
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* 只有两个值有效,sparta-waf,clb-waf,不传则不过滤
|
|
531
|
+
*/
|
|
532
|
+
Edition?: string
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* WAF实例ID,不传则不过滤
|
|
536
|
+
*/
|
|
537
|
+
InstanceID?: string
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* 十三个值可选:
|
|
541
|
+
access-峰值qps趋势图
|
|
542
|
+
botAccess- bot峰值qps趋势图
|
|
543
|
+
down-下行峰值带宽趋势图
|
|
544
|
+
up-上行峰值带宽趋势图
|
|
545
|
+
attack-Web攻击总数趋势图
|
|
546
|
+
cc-CC攻击总数趋势图
|
|
547
|
+
StatusServerError-WAF返回给客户端状态码次数趋势图
|
|
548
|
+
StatusClientError-WAF返回给客户端状态码次数趋势图
|
|
549
|
+
StatusRedirect-WAF返回给客户端状态码次数趋势图
|
|
550
|
+
StatusOk-WAF返回给客户端状态码次数趋势图
|
|
551
|
+
UpstreamServerError-源站返回给WAF状态码次数趋势图
|
|
552
|
+
UpstreamClientError-源站返回给WAF状态码次数趋势图
|
|
553
|
+
UpstreamRedirect-源站返回给WAF状态码次数趋势图
|
|
554
|
+
*/
|
|
555
|
+
MetricName?: string
|
|
556
|
+
}
|
|
557
|
+
|
|
490
558
|
/**
|
|
491
559
|
* DescribeAccessIndex请求参数结构体
|
|
492
560
|
*/
|
|
@@ -1209,6 +1277,30 @@ export interface DomainsPartInfo {
|
|
|
1209
1277
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1210
1278
|
*/
|
|
1211
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>
|
|
1212
1304
|
}
|
|
1213
1305
|
|
|
1214
1306
|
/**
|
|
@@ -1427,6 +1519,18 @@ export interface HostRecord {
|
|
|
1427
1519
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1428
1520
|
*/
|
|
1429
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
|
|
1430
1534
|
}
|
|
1431
1535
|
|
|
1432
1536
|
/**
|
|
@@ -1559,7 +1663,7 @@ export interface AddSpartaProtectionRequest {
|
|
|
1559
1663
|
Ports?: Array<PortItem>
|
|
1560
1664
|
|
|
1561
1665
|
/**
|
|
1562
|
-
*
|
|
1666
|
+
* WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF,cdn-waf表示CDN上的Web防护能力
|
|
1563
1667
|
*/
|
|
1564
1668
|
Edition?: string
|
|
1565
1669
|
|
|
@@ -1612,6 +1716,103 @@ export interface AddSpartaProtectionRequest {
|
|
|
1612
1716
|
* 300s
|
|
1613
1717
|
*/
|
|
1614
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>
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
/**
|
|
1737
|
+
* PeakPoints数组项
|
|
1738
|
+
*/
|
|
1739
|
+
export interface PeakPointsItem {
|
|
1740
|
+
/**
|
|
1741
|
+
* 秒级别时间戳
|
|
1742
|
+
*/
|
|
1743
|
+
Time: number
|
|
1744
|
+
|
|
1745
|
+
/**
|
|
1746
|
+
* QPS
|
|
1747
|
+
*/
|
|
1748
|
+
Access: number
|
|
1749
|
+
|
|
1750
|
+
/**
|
|
1751
|
+
* 上行带宽峰值,单位B
|
|
1752
|
+
*/
|
|
1753
|
+
Up: number
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* 下行带宽峰值,单位B
|
|
1757
|
+
*/
|
|
1758
|
+
Down: number
|
|
1759
|
+
|
|
1760
|
+
/**
|
|
1761
|
+
* Web攻击次数
|
|
1762
|
+
*/
|
|
1763
|
+
Attack: number
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* CC攻击次数
|
|
1767
|
+
*/
|
|
1768
|
+
Cc: number
|
|
1769
|
+
|
|
1770
|
+
/**
|
|
1771
|
+
* Bot qps
|
|
1772
|
+
*/
|
|
1773
|
+
BotAccess: number
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* WAF返回给客户端状态码次数
|
|
1777
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1778
|
+
*/
|
|
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
|
|
1615
1816
|
}
|
|
1616
1817
|
|
|
1617
1818
|
/**
|
|
@@ -2097,21 +2298,6 @@ export interface DescribeDomainWhiteRulesRequest {
|
|
|
2097
2298
|
RuleId?: string
|
|
2098
2299
|
}
|
|
2099
2300
|
|
|
2100
|
-
/**
|
|
2101
|
-
* AddDomainWhiteRule返回参数结构体
|
|
2102
|
-
*/
|
|
2103
|
-
export interface AddDomainWhiteRuleResponse {
|
|
2104
|
-
/**
|
|
2105
|
-
* 规则id
|
|
2106
|
-
*/
|
|
2107
|
-
Id?: number
|
|
2108
|
-
|
|
2109
|
-
/**
|
|
2110
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2111
|
-
*/
|
|
2112
|
-
RequestId?: string
|
|
2113
|
-
}
|
|
2114
|
-
|
|
2115
2301
|
/**
|
|
2116
2302
|
* ModifyCustomRuleStatus请求参数结构体
|
|
2117
2303
|
*/
|
|
@@ -2137,6 +2323,21 @@ export interface ModifyCustomRuleStatusRequest {
|
|
|
2137
2323
|
Edition?: string
|
|
2138
2324
|
}
|
|
2139
2325
|
|
|
2326
|
+
/**
|
|
2327
|
+
* DescribePeakPoints返回参数结构体
|
|
2328
|
+
*/
|
|
2329
|
+
export interface DescribePeakPointsResponse {
|
|
2330
|
+
/**
|
|
2331
|
+
* 数据点
|
|
2332
|
+
*/
|
|
2333
|
+
Points: Array<PeakPointsItem>
|
|
2334
|
+
|
|
2335
|
+
/**
|
|
2336
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2337
|
+
*/
|
|
2338
|
+
RequestId?: string
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2140
2341
|
/**
|
|
2141
2342
|
* DeleteDownloadRecord返回参数结构体
|
|
2142
2343
|
*/
|
|
@@ -2197,6 +2398,46 @@ export interface DescribeAttackOverviewRequest {
|
|
|
2197
2398
|
InstanceID?: string
|
|
2198
2399
|
}
|
|
2199
2400
|
|
|
2401
|
+
/**
|
|
2402
|
+
* DescribePeakValue请求参数结构体
|
|
2403
|
+
*/
|
|
2404
|
+
export interface DescribePeakValueRequest {
|
|
2405
|
+
/**
|
|
2406
|
+
* 查询起始时间
|
|
2407
|
+
*/
|
|
2408
|
+
FromTime: string
|
|
2409
|
+
|
|
2410
|
+
/**
|
|
2411
|
+
* 查询结束时间
|
|
2412
|
+
*/
|
|
2413
|
+
ToTime: string
|
|
2414
|
+
|
|
2415
|
+
/**
|
|
2416
|
+
* 需要查询的域名,当前用户所有域名可以不传
|
|
2417
|
+
*/
|
|
2418
|
+
Domain?: string
|
|
2419
|
+
|
|
2420
|
+
/**
|
|
2421
|
+
* 只有两个值有效,sparta-waf,clb-waf,不传则不过滤
|
|
2422
|
+
*/
|
|
2423
|
+
Edition?: string
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* WAF实例ID,不传则不过滤
|
|
2427
|
+
*/
|
|
2428
|
+
InstanceID?: string
|
|
2429
|
+
|
|
2430
|
+
/**
|
|
2431
|
+
* 五个值可选:
|
|
2432
|
+
access-峰值qps
|
|
2433
|
+
down-下行峰值带宽
|
|
2434
|
+
up-上行峰值带宽
|
|
2435
|
+
attack-Web攻击总数
|
|
2436
|
+
cc-CC攻击总数趋势图
|
|
2437
|
+
*/
|
|
2438
|
+
MetricName?: string
|
|
2439
|
+
}
|
|
2440
|
+
|
|
2200
2441
|
/**
|
|
2201
2442
|
* bot的qps详情
|
|
2202
2443
|
*/
|
|
@@ -2576,9 +2817,34 @@ export interface InstanceInfo {
|
|
|
2576
2817
|
}
|
|
2577
2818
|
|
|
2578
2819
|
/**
|
|
2579
|
-
*
|
|
2820
|
+
* 服务端口配置
|
|
2580
2821
|
*/
|
|
2581
|
-
export
|
|
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
|
+
}
|
|
2582
2848
|
|
|
2583
2849
|
/**
|
|
2584
2850
|
* DescribeDomainDetailsSaas返回参数结构体
|
|
@@ -2587,7 +2853,7 @@ export interface DescribeDomainDetailsSaasResponse {
|
|
|
2587
2853
|
/**
|
|
2588
2854
|
* 域名详情
|
|
2589
2855
|
*/
|
|
2590
|
-
DomainsPartInfo
|
|
2856
|
+
DomainsPartInfo?: DomainsPartInfo
|
|
2591
2857
|
|
|
2592
2858
|
/**
|
|
2593
2859
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2667,6 +2933,36 @@ export interface AddCustomRuleRequest {
|
|
|
2667
2933
|
EventId?: string
|
|
2668
2934
|
}
|
|
2669
2935
|
|
|
2936
|
+
/**
|
|
2937
|
+
* DescribeWafAutoDenyRules返回参数结构体
|
|
2938
|
+
*/
|
|
2939
|
+
export interface DescribeWafAutoDenyRulesResponse {
|
|
2940
|
+
/**
|
|
2941
|
+
* 攻击次数阈值
|
|
2942
|
+
*/
|
|
2943
|
+
AttackThreshold: number
|
|
2944
|
+
|
|
2945
|
+
/**
|
|
2946
|
+
* 攻击时间阈值
|
|
2947
|
+
*/
|
|
2948
|
+
TimeThreshold: number
|
|
2949
|
+
|
|
2950
|
+
/**
|
|
2951
|
+
* 自动封禁时间
|
|
2952
|
+
*/
|
|
2953
|
+
DenyTimeThreshold: number
|
|
2954
|
+
|
|
2955
|
+
/**
|
|
2956
|
+
* 自动封禁状态
|
|
2957
|
+
*/
|
|
2958
|
+
DefenseStatus: number
|
|
2959
|
+
|
|
2960
|
+
/**
|
|
2961
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2962
|
+
*/
|
|
2963
|
+
RequestId?: string
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2670
2966
|
/**
|
|
2671
2967
|
* 业务安全资源信息
|
|
2672
2968
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { CreateAccessExportRequest, DescribeIpHitItemsResponse, DescribeUserCdcClbWafRegionsRequest, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, DescribeCustomWhiteRuleResponse,
|
|
2
|
+
import { CreateAccessExportRequest, DescribeIpHitItemsResponse, DescribeUserCdcClbWafRegionsRequest, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, DescribeCustomWhiteRuleResponse, DescribePeakValueResponse, AddDomainWhiteRuleResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyDomainWhiteRuleRequest, DescribePeakPointsRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, SearchAttackLogRequest, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DescribeUserCdcClbWafRegionsResponse, DeleteAccessExportResponse, DescribeAccessExportsRequest, DescribeCustomWhiteRuleRequest, DescribeUserClbWafRegionsResponse, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeVipInfoRequest, DescribeAutoDenyIPResponse, SwitchDomainRulesResponse, SearchAccessLogResponse, CreateHostResponse, SwitchDomainRulesRequest, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, CreateHostRequest, ModifyAreaBanStatusRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, DescribePolicyStatusRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, DescribeAttackOverviewResponse, ModifyWafAutoDenyStatusResponse, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, PostAttackDownloadTaskResponse, DescribeDomainDetailsSaasRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, DescribeDomainWhiteRulesRequest, ModifyCustomRuleStatusRequest, DescribePeakPointsResponse, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, DescribeAttackOverviewRequest, DescribePeakValueRequest, ModifyWafAutoDenyRulesResponse, SearchAttackLogResponse, DescribePolicyStatusResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, DescribeDomainDetailsSaasResponse, AddCustomRuleRequest, DescribeWafAutoDenyRulesResponse, ModifyAreaBanStatusResponse, ModifyDomainWhiteRuleResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, ModifyWafThreatenIntelligenceRequest, DescribeIpHitItemsRequest, DescribeVipInfoResponse, DescribeRuleLimitRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, DescribeUserClbWafRegionsRequest, DescribeDomainWhiteRulesResponse, DeleteAttackDownloadRecordRequest, DescribeWafThreatenIntelligenceResponse, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DeleteSessionResponse, DescribeRuleLimitResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, CreateAccessExportResponse, SearchAccessLogRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse } from "./waf_models";
|
|
3
3
|
/**
|
|
4
4
|
* waf client
|
|
5
5
|
* @class
|
|
@@ -11,9 +11,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
11
11
|
*/
|
|
12
12
|
DescribeAccessExports(req: DescribeAccessExportsRequest, cb?: (error: string, rep: DescribeAccessExportsResponse) => void): Promise<DescribeAccessExportsResponse>;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* 查询业务和攻击概要趋势
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
DescribePeakPoints(req: DescribePeakPointsRequest, cb?: (error: string, rep: DescribePeakPointsResponse) => void): Promise<DescribePeakPointsResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* 本接口用于删除访问日志导出
|
|
19
19
|
*/
|
|
@@ -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
|
/**
|
|
@@ -113,9 +113,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
113
113
|
*/
|
|
114
114
|
PostAttackDownloadTask(req: PostAttackDownloadTaskRequest, cb?: (error: string, rep: PostAttackDownloadTaskResponse) => void): Promise<PostAttackDownloadTaskResponse>;
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
116
|
+
* 开启或禁用访问控制(自定义策略)
|
|
117
117
|
*/
|
|
118
|
-
|
|
118
|
+
ModifyCustomRuleStatus(req: ModifyCustomRuleStatusRequest, cb?: (error: string, rep: ModifyCustomRuleStatusResponse) => void): Promise<ModifyCustomRuleStatusResponse>;
|
|
119
|
+
/**
|
|
120
|
+
* 获取业务和攻击概览峰值
|
|
121
|
+
*/
|
|
122
|
+
DescribePeakValue(req: DescribePeakValueRequest, cb?: (error: string, rep: DescribePeakValueResponse) => void): Promise<DescribePeakValueResponse>;
|
|
119
123
|
/**
|
|
120
124
|
* 配置WAF威胁情报封禁模块详情
|
|
121
125
|
*/
|
|
@@ -180,6 +184,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
180
184
|
* 增加域名规则白名单
|
|
181
185
|
*/
|
|
182
186
|
AddDomainWhiteRule(req: AddDomainWhiteRuleRequest, cb?: (error: string, rep: AddDomainWhiteRuleResponse) => void): Promise<AddDomainWhiteRuleResponse>;
|
|
187
|
+
/**
|
|
188
|
+
* 切换域名的规则开关
|
|
189
|
+
*/
|
|
190
|
+
SwitchDomainRules(req: SwitchDomainRulesRequest, cb?: (error: string, rep: SwitchDomainRulesResponse) => void): Promise<SwitchDomainRulesResponse>;
|
|
183
191
|
/**
|
|
184
192
|
* 获取防护配置中的精准白名单策略列表
|
|
185
193
|
*/
|
|
@@ -34,10 +34,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
34
34
|
return this.request("DescribeAccessExports", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 查询业务和攻击概要趋势
|
|
38
38
|
*/
|
|
39
|
-
async
|
|
40
|
-
return this.request("
|
|
39
|
+
async DescribePeakPoints(req, cb) {
|
|
40
|
+
return this.request("DescribePeakPoints", req, cb);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* 本接口用于删除访问日志导出
|
|
@@ -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);
|
|
@@ -186,10 +186,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
186
186
|
return this.request("PostAttackDownloadTask", req, cb);
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
189
|
-
*
|
|
189
|
+
* 开启或禁用访问控制(自定义策略)
|
|
190
190
|
*/
|
|
191
|
-
async
|
|
192
|
-
return this.request("
|
|
191
|
+
async ModifyCustomRuleStatus(req, cb) {
|
|
192
|
+
return this.request("ModifyCustomRuleStatus", req, cb);
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* 获取业务和攻击概览峰值
|
|
196
|
+
*/
|
|
197
|
+
async DescribePeakValue(req, cb) {
|
|
198
|
+
return this.request("DescribePeakValue", req, cb);
|
|
193
199
|
}
|
|
194
200
|
/**
|
|
195
201
|
* 配置WAF威胁情报封禁模块详情
|
|
@@ -287,6 +293,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
287
293
|
async AddDomainWhiteRule(req, cb) {
|
|
288
294
|
return this.request("AddDomainWhiteRule", req, cb);
|
|
289
295
|
}
|
|
296
|
+
/**
|
|
297
|
+
* 切换域名的规则开关
|
|
298
|
+
*/
|
|
299
|
+
async SwitchDomainRules(req, cb) {
|
|
300
|
+
return this.request("SwitchDomainRules", req, cb);
|
|
301
|
+
}
|
|
290
302
|
/**
|
|
291
303
|
* 获取防护配置中的精准白名单策略列表
|
|
292
304
|
*/
|