tencentcloud-sdk-nodejs-waf 4.1.208 → 4.1.221
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.
|
@@ -34,6 +34,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
34
34
|
async DescribeAttackType(req, cb) {
|
|
35
35
|
return this.request("DescribeAttackType", req, cb);
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* [自定义规则]-批量删除接口
|
|
39
|
+
*/
|
|
40
|
+
async DeleteBatchCustomRule(req, cb) {
|
|
41
|
+
return this.request("DeleteBatchCustomRule", req, cb);
|
|
42
|
+
}
|
|
37
43
|
/**
|
|
38
44
|
* 查询业务和攻击概要趋势
|
|
39
45
|
*/
|
|
@@ -52,6 +58,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
52
58
|
async DescribeExports(req, cb) {
|
|
53
59
|
return this.request("DescribeExports", req, cb);
|
|
54
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* 批量编辑自定义规则接口
|
|
63
|
+
*/
|
|
64
|
+
async ModifyBatchCustomRule(req, cb) {
|
|
65
|
+
return this.request("ModifyBatchCustomRule", req, cb);
|
|
66
|
+
}
|
|
55
67
|
/**
|
|
56
68
|
* 查询用户所有域名的详细信息
|
|
57
69
|
*/
|
|
@@ -244,6 +256,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
244
256
|
async DeleteCCRule(req, cb) {
|
|
245
257
|
return this.request("DeleteCCRule", req, cb);
|
|
246
258
|
}
|
|
259
|
+
/**
|
|
260
|
+
* 解除防护对象组中的域名绑定
|
|
261
|
+
*/
|
|
262
|
+
async DeleteProtectGroupDomain(req, cb) {
|
|
263
|
+
return this.request("DeleteProtectGroupDomain", req, cb);
|
|
264
|
+
}
|
|
247
265
|
/**
|
|
248
266
|
* 取得信息防泄漏规则列表
|
|
249
267
|
*/
|
|
@@ -256,6 +274,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
256
274
|
async SearchAccessLog(req, cb) {
|
|
257
275
|
return this.request("SearchAccessLog", req, cb);
|
|
258
276
|
}
|
|
277
|
+
/**
|
|
278
|
+
* 修改批量精准白名单规则
|
|
279
|
+
*/
|
|
280
|
+
async ModifyBatchCustomWhiteRule(req, cb) {
|
|
281
|
+
return this.request("ModifyBatchCustomWhiteRule", req, cb);
|
|
282
|
+
}
|
|
259
283
|
/**
|
|
260
284
|
* 描述WAF威胁情报封禁模块配置详情
|
|
261
285
|
*/
|
|
@@ -372,10 +396,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
372
396
|
return this.request("ModifyHostStatus", req, cb);
|
|
373
397
|
}
|
|
374
398
|
/**
|
|
375
|
-
*
|
|
399
|
+
* 增加批量精准白名单规则
|
|
376
400
|
*/
|
|
377
|
-
async
|
|
378
|
-
return this.request("
|
|
401
|
+
async AddBatchCustomWhiteRule(req, cb) {
|
|
402
|
+
return this.request("AddBatchCustomWhiteRule", req, cb);
|
|
379
403
|
}
|
|
380
404
|
/**
|
|
381
405
|
* 【接口复用】场景化后更新Bot的UCB自定义规则,两个调用位置:1.BOT全局白名单 2.BOT场景配置
|
|
@@ -384,10 +408,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
384
408
|
return this.request("ModifyBotSceneUCBRule", req, cb);
|
|
385
409
|
}
|
|
386
410
|
/**
|
|
387
|
-
*
|
|
411
|
+
* 删除批量精准白名单规则
|
|
388
412
|
*/
|
|
389
|
-
async
|
|
390
|
-
return this.request("
|
|
413
|
+
async DeleteBatchCustomWhiteRule(req, cb) {
|
|
414
|
+
return this.request("DeleteBatchCustomWhiteRule", req, cb);
|
|
391
415
|
}
|
|
392
416
|
/**
|
|
393
417
|
* Waf IP黑白名单Upsert接口(建议使用CreateIpAccessControl、ModifyIpAccessControl来替换当前接口)
|
|
@@ -504,10 +528,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
504
528
|
return this.request("DescribeCCRule", req, cb);
|
|
505
529
|
}
|
|
506
530
|
/**
|
|
507
|
-
*
|
|
531
|
+
* 批量自定义规则列表接口
|
|
508
532
|
*/
|
|
509
|
-
async
|
|
510
|
-
return this.request("
|
|
533
|
+
async DescribeBatchCustomRuleList(req, cb) {
|
|
534
|
+
return this.request("DescribeBatchCustomRuleList", req, cb);
|
|
511
535
|
}
|
|
512
536
|
/**
|
|
513
537
|
* 获取业务和攻击概览峰值
|
|
@@ -563,6 +587,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
563
587
|
async GetOrganizationRole(req, cb) {
|
|
564
588
|
return this.request("GetOrganizationRole", req, cb);
|
|
565
589
|
}
|
|
590
|
+
/**
|
|
591
|
+
* 更新规则类型的防护模式
|
|
592
|
+
*/
|
|
593
|
+
async ModifyOwaspRuleTypeAction(req, cb) {
|
|
594
|
+
return this.request("ModifyOwaspRuleTypeAction", req, cb);
|
|
595
|
+
}
|
|
566
596
|
/**
|
|
567
597
|
* 编辑规则引擎白名单
|
|
568
598
|
*/
|
|
@@ -587,6 +617,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
587
617
|
async AddSpartaProtection(req, cb) {
|
|
588
618
|
return this.request("AddSpartaProtection", req, cb);
|
|
589
619
|
}
|
|
620
|
+
/**
|
|
621
|
+
* 批量自定义规则开关接口
|
|
622
|
+
*/
|
|
623
|
+
async ModifyBatchCustomRuleStatus(req, cb) {
|
|
624
|
+
return this.request("ModifyBatchCustomRuleStatus", req, cb);
|
|
625
|
+
}
|
|
590
626
|
/**
|
|
591
627
|
* 获取防护状态以及生效的实例id
|
|
592
628
|
*/
|
|
@@ -641,12 +677,24 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
641
677
|
async ModifyBotStatus(req, cb) {
|
|
642
678
|
return this.request("ModifyBotStatus", req, cb);
|
|
643
679
|
}
|
|
680
|
+
/**
|
|
681
|
+
* 批量新增自定义规则接口
|
|
682
|
+
*/
|
|
683
|
+
async AddBatchCustomRule(req, cb) {
|
|
684
|
+
return this.request("AddBatchCustomRule", req, cb);
|
|
685
|
+
}
|
|
644
686
|
/**
|
|
645
687
|
* 开启、关闭WAF开关
|
|
646
688
|
*/
|
|
647
689
|
async ModifyProtectionStatus(req, cb) {
|
|
648
690
|
return this.request("ModifyProtectionStatus", req, cb);
|
|
649
691
|
}
|
|
692
|
+
/**
|
|
693
|
+
* 获取防护对象组详情
|
|
694
|
+
*/
|
|
695
|
+
async DescribeProtectGroup(req, cb) {
|
|
696
|
+
return this.request("DescribeProtectGroup", req, cb);
|
|
697
|
+
}
|
|
650
698
|
/**
|
|
651
699
|
* Saas型WAF接入查询加密套件信息
|
|
652
700
|
*/
|
|
@@ -749,6 +797,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
749
797
|
async CreateRateLimitV2(req, cb) {
|
|
750
798
|
return this.request("CreateRateLimitV2", req, cb);
|
|
751
799
|
}
|
|
800
|
+
/**
|
|
801
|
+
* 在负载均衡型WAF的添加、编辑域名配置的时候,需要展示负载均衡型WAF(clb-waf)支持的地域列表,通过DescribeUserClbWafRegions既可以获得当前对客户已经开放的地域列表
|
|
802
|
+
*/
|
|
803
|
+
async DescribeUserClbWafRegions(req, cb) {
|
|
804
|
+
return this.request("DescribeUserClbWafRegions", req, cb);
|
|
805
|
+
}
|
|
752
806
|
/**
|
|
753
807
|
* 查看防护对象列表
|
|
754
808
|
*/
|
|
@@ -773,6 +827,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
773
827
|
async DeleteAttackWhiteRule(req, cb) {
|
|
774
828
|
return this.request("DeleteAttackWhiteRule", req, cb);
|
|
775
829
|
}
|
|
830
|
+
/**
|
|
831
|
+
* 新建防护对象组
|
|
832
|
+
*/
|
|
833
|
+
async CreateProtectGroup(req, cb) {
|
|
834
|
+
return this.request("CreateProtectGroup", req, cb);
|
|
835
|
+
}
|
|
776
836
|
/**
|
|
777
837
|
* Waf ip黑白名单查询
|
|
778
838
|
*/
|
|
@@ -878,6 +938,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
878
938
|
async DescribeOwaspRules(req, cb) {
|
|
879
939
|
return this.request("DescribeOwaspRules", req, cb);
|
|
880
940
|
}
|
|
941
|
+
/**
|
|
942
|
+
* 设置waf防护状态
|
|
943
|
+
*/
|
|
944
|
+
async ModifySpartaProtectionMode(req, cb) {
|
|
945
|
+
return this.request("ModifySpartaProtectionMode", req, cb);
|
|
946
|
+
}
|
|
881
947
|
/**
|
|
882
948
|
* 删除CC攻击的session设置
|
|
883
949
|
*/
|
|
@@ -968,6 +1034,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
968
1034
|
async DeleteAccessExport(req, cb) {
|
|
969
1035
|
return this.request("DeleteAccessExport", req, cb);
|
|
970
1036
|
}
|
|
1037
|
+
/**
|
|
1038
|
+
* 获取批量精准白名单的规则列表
|
|
1039
|
+
*/
|
|
1040
|
+
async DescribeBatchCustomWhiteRules(req, cb) {
|
|
1041
|
+
return this.request("DescribeBatchCustomWhiteRules", req, cb);
|
|
1042
|
+
}
|
|
971
1043
|
/**
|
|
972
1044
|
* 删除域名规则白名单
|
|
973
1045
|
*/
|
|
@@ -980,6 +1052,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
980
1052
|
async DescribeDomainVerifyResult(req, cb) {
|
|
981
1053
|
return this.request("DescribeDomainVerifyResult", req, cb);
|
|
982
1054
|
}
|
|
1055
|
+
/**
|
|
1056
|
+
* 供用户控制台调用,修改Tiga规则引擎白名单。
|
|
1057
|
+
*/
|
|
1058
|
+
async ModifyAttackWhiteRule(req, cb) {
|
|
1059
|
+
return this.request("ModifyAttackWhiteRule", req, cb);
|
|
1060
|
+
}
|
|
983
1061
|
/**
|
|
984
1062
|
* 本接口用于创建访问日志导出
|
|
985
1063
|
*/
|
|
@@ -999,10 +1077,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
999
1077
|
return this.request("DescribeInstances", req, cb);
|
|
1000
1078
|
}
|
|
1001
1079
|
/**
|
|
1002
|
-
*
|
|
1080
|
+
* 删除防护对象组
|
|
1003
1081
|
*/
|
|
1004
|
-
async
|
|
1005
|
-
return this.request("
|
|
1082
|
+
async DeleteProtectGroup(req, cb) {
|
|
1083
|
+
return this.request("DeleteProtectGroup", req, cb);
|
|
1006
1084
|
}
|
|
1007
1085
|
/**
|
|
1008
1086
|
* 增加访问控制(自定义策略)
|
|
@@ -1102,6 +1180,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1102
1180
|
async DescribePorts(req, cb) {
|
|
1103
1181
|
return this.request("DescribePorts", req, cb);
|
|
1104
1182
|
}
|
|
1183
|
+
/**
|
|
1184
|
+
* 编辑防护对象组
|
|
1185
|
+
*/
|
|
1186
|
+
async ModifyProtectGroup(req, cb) {
|
|
1187
|
+
return this.request("ModifyProtectGroup", req, cb);
|
|
1188
|
+
}
|
|
1105
1189
|
/**
|
|
1106
1190
|
* clb-waf设置防护域名防护状态
|
|
1107
1191
|
*/
|
|
@@ -1115,10 +1199,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1115
1199
|
return this.request("ModifyDomainPostAction", req, cb);
|
|
1116
1200
|
}
|
|
1117
1201
|
/**
|
|
1118
|
-
*
|
|
1202
|
+
* 查询各个waf基础安全模块的开关状态,看每个模块是否开启
|
|
1119
1203
|
*/
|
|
1120
|
-
async
|
|
1121
|
-
return this.request("
|
|
1204
|
+
async DescribeModuleStatus(req, cb) {
|
|
1205
|
+
return this.request("DescribeModuleStatus", req, cb);
|
|
1122
1206
|
}
|
|
1123
1207
|
/**
|
|
1124
1208
|
* Waf CC V2 Upsert接口
|
|
@@ -1228,6 +1312,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1228
1312
|
async ModifyDomainIpv6Status(req, cb) {
|
|
1229
1313
|
return this.request("ModifyDomainIpv6Status", req, cb);
|
|
1230
1314
|
}
|
|
1315
|
+
/**
|
|
1316
|
+
* 更新批量精准白名单规则
|
|
1317
|
+
*/
|
|
1318
|
+
async ModifyBatchCustomWhiteRuleStatus(req, cb) {
|
|
1319
|
+
return this.request("ModifyBatchCustomWhiteRuleStatus", req, cb);
|
|
1320
|
+
}
|
|
1231
1321
|
/**
|
|
1232
1322
|
* 更新Tiga引擎下大类规则的防护模式
|
|
1233
1323
|
*/
|