tencentcloud-sdk-nodejs-waf 4.0.682 → 4.0.684

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.
@@ -72,10 +72,10 @@ class Client extends TencentCloudCommon.AbstractClient {
72
72
  return this.request("DescribeAntiInfoLeakRules", req, cb);
73
73
  }
74
74
  /**
75
- * 批量添加域名
75
+ * 编辑自定义规则
76
76
  */
77
- async AddSpartaProtectionsAuto(req, cb) {
78
- return this.request("AddSpartaProtectionsAuto", req, cb);
77
+ async ModifyCustomRule(req, cb) {
78
+ return this.request("ModifyCustomRule", req, cb);
79
79
  }
80
80
  /**
81
81
  * 接口已废弃
@@ -152,10 +152,10 @@ class Client extends TencentCloudCommon.AbstractClient {
152
152
  return this.request("DescribeAntiInfoLeakageRules", req, cb);
153
153
  }
154
154
  /**
155
- * 一键接入
155
+ * 本接口用于搜索WAF访问日志
156
156
  */
157
- async AddSpartaProtectionAuto(req, cb) {
158
- return this.request("AddSpartaProtectionAuto", req, cb);
157
+ async SearchAccessLog(req, cb) {
158
+ return this.request("SearchAccessLog", req, cb);
159
159
  }
160
160
  /**
161
161
  * 描述WAF威胁情报封禁模块配置详情
@@ -169,12 +169,6 @@ class Client extends TencentCloudCommon.AbstractClient {
169
169
  async DescribeIpHitItems(req, cb) {
170
170
  return this.request("DescribeIpHitItems", req, cb);
171
171
  }
172
- /**
173
- * 本接口用于搜索WAF访问日志
174
- */
175
- async SearchAccessLog(req, cb) {
176
- return this.request("SearchAccessLog", req, cb);
177
- }
178
172
  /**
179
173
  * 信息防泄漏删除规则
180
174
  */
@@ -402,12 +396,6 @@ class Client extends TencentCloudCommon.AbstractClient {
402
396
  async DeleteDownloadRecord(req, cb) {
403
397
  return this.request("DeleteDownloadRecord", req, cb);
404
398
  }
405
- /**
406
- * 编辑自定义规则
407
- */
408
- async ModifyCustomRule(req, cb) {
409
- return this.request("ModifyCustomRule", req, cb);
410
- }
411
399
  /**
412
400
  * Bot_V2 bot总开关更新
413
401
  */
@@ -552,6 +540,12 @@ class Client extends TencentCloudCommon.AbstractClient {
552
540
  async DeleteDomainWhiteRules(req, cb) {
553
541
  return this.request("DeleteDomainWhiteRules", req, cb);
554
542
  }
543
+ /**
544
+ * 获取添加域名操作的结果
545
+ */
546
+ async DescribeDomainVerifyResult(req, cb) {
547
+ return this.request("DescribeDomainVerifyResult", req, cb);
548
+ }
555
549
  /**
556
550
  * 本接口用于创建访问日志导出
557
551
  */
@@ -636,6 +630,12 @@ class Client extends TencentCloudCommon.AbstractClient {
636
630
  async UpsertSession(req, cb) {
637
631
  return this.request("UpsertSession", req, cb);
638
632
  }
633
+ /**
634
+ * 刷新防篡改url
635
+ */
636
+ async FreshAntiFakeUrl(req, cb) {
637
+ return this.request("FreshAntiFakeUrl", req, cb);
638
+ }
639
639
  /**
640
640
  * 增加域名规则白名单
641
641
  */
@@ -916,26 +916,21 @@ export interface AccessLogItem {
916
916
  Value: string;
917
917
  }
918
918
  /**
919
- * SwitchDomainRules请求参数结构体
919
+ * DescribeDomainVerifyResult返回参数结构体
920
920
  */
921
- export interface SwitchDomainRulesRequest {
921
+ export interface DescribeDomainVerifyResultResponse {
922
922
  /**
923
- * 域名
924
- */
925
- Domain?: string;
926
- /**
927
- * 规则列表
923
+ * 结果描述;如果可以添加返回空字符串
928
924
  */
929
- Ids?: Array<number | bigint>;
925
+ Msg?: string;
930
926
  /**
931
- * 开关状态,0表示关闭,1表示开启,2表示只观察
927
+ * 检验状态:0表示可以添加,大于0为不能添加
932
928
  */
933
- Status?: number;
929
+ VerifyCode?: number;
934
930
  /**
935
- * 设置为观察模式原因,
936
- 1表示业务自身原因观察,2表示系统规则误报上报,3表示核心业务灰度观察,4表示其他
931
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
937
932
  */
938
- Reason?: number;
933
+ RequestId?: string;
939
934
  }
940
935
  /**
941
936
  * DeleteSession请求参数结构体
@@ -1236,19 +1231,6 @@ export interface DeleteAccessExportResponse {
1236
1231
  */
1237
1232
  RequestId?: string;
1238
1233
  }
1239
- /**
1240
- * AddSpartaProtectionsAuto返回参数结构体
1241
- */
1242
- export interface AddSpartaProtectionsAutoResponse {
1243
- /**
1244
- * 失败原因
1245
- */
1246
- FailedInfos?: Array<FailedInfo>;
1247
- /**
1248
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1249
- */
1250
- RequestId?: string;
1251
- }
1252
1234
  /**
1253
1235
  * DescribeAccessExports请求参数结构体
1254
1236
  */
@@ -1412,21 +1394,6 @@ export interface ModifyHostModeResponse {
1412
1394
  */
1413
1395
  RequestId?: string;
1414
1396
  }
1415
- /**
1416
- * 失败描述
1417
- */
1418
- export interface FailedInfo {
1419
- /**
1420
- * 域名
1421
- 注意:此字段可能返回 null,表示取不到有效值。
1422
- */
1423
- Domain?: string;
1424
- /**
1425
- * 失败信息
1426
- 注意:此字段可能返回 null,表示取不到有效值。
1427
- */
1428
- Message?: string;
1429
- }
1430
1397
  /**
1431
1398
  * DescribeCCRuleList请求参数结构体
1432
1399
  */
@@ -1493,15 +1460,6 @@ export interface DescribeAutoDenyIPRequest {
1493
1460
  */
1494
1461
  Sort?: string;
1495
1462
  }
1496
- /**
1497
- * AddSpartaProtectionAuto返回参数结构体
1498
- */
1499
- export interface AddSpartaProtectionAutoResponse {
1500
- /**
1501
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1502
- */
1503
- RequestId?: string;
1504
- }
1505
1463
  /**
1506
1464
  * ModifyWafAutoDenyStatus请求参数结构体
1507
1465
  */
@@ -1537,6 +1495,28 @@ export interface ModifyDomainsCLSStatusResponse {
1537
1495
  */
1538
1496
  RequestId?: string;
1539
1497
  }
1498
+ /**
1499
+ * SwitchDomainRules请求参数结构体
1500
+ */
1501
+ export interface SwitchDomainRulesRequest {
1502
+ /**
1503
+ * 域名
1504
+ */
1505
+ Domain?: string;
1506
+ /**
1507
+ * 规则列表
1508
+ */
1509
+ Ids?: Array<number | bigint>;
1510
+ /**
1511
+ * 开关状态,0表示关闭,1表示开启,2表示只观察
1512
+ */
1513
+ Status?: number;
1514
+ /**
1515
+ * 设置为观察模式原因,
1516
+ 1表示业务自身原因观察,2表示系统规则误报上报,3表示核心业务灰度观察,4表示其他
1517
+ */
1518
+ Reason?: number;
1519
+ }
1540
1520
  /**
1541
1521
  * ModifyAccessPeriod返回参数结构体
1542
1522
  */
@@ -1762,6 +1742,19 @@ export interface DeleteHostResponse {
1762
1742
  */
1763
1743
  RequestId?: string;
1764
1744
  }
1745
+ /**
1746
+ * FreshAntiFakeUrl返回参数结构体
1747
+ */
1748
+ export interface FreshAntiFakeUrlResponse {
1749
+ /**
1750
+ * 结果成功与否
1751
+ */
1752
+ Result?: string;
1753
+ /**
1754
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1755
+ */
1756
+ RequestId?: string;
1757
+ }
1765
1758
  /**
1766
1759
  * ModifyBotStatus请求参数结构体
1767
1760
  */
@@ -2145,6 +2138,19 @@ export interface UserDomainInfo {
2145
2138
  */
2146
2139
  Cls: number;
2147
2140
  }
2141
+ /**
2142
+ * FreshAntiFakeUrl请求参数结构体
2143
+ */
2144
+ export interface FreshAntiFakeUrlRequest {
2145
+ /**
2146
+ * 域名
2147
+ */
2148
+ Domain: string;
2149
+ /**
2150
+ * Id
2151
+ */
2152
+ Id: number;
2153
+ }
2148
2154
  /**
2149
2155
  * DescribeFindDomainList返回参数结构体
2150
2156
  */
@@ -2908,6 +2914,19 @@ export interface DeleteDomainWhiteRulesRequest {
2908
2914
  */
2909
2915
  Ids?: Array<number | bigint>;
2910
2916
  }
2917
+ /**
2918
+ * DescribeDomainVerifyResult请求参数结构体
2919
+ */
2920
+ export interface DescribeDomainVerifyResultRequest {
2921
+ /**
2922
+ * 域名
2923
+ */
2924
+ Domain: string;
2925
+ /**
2926
+ * 实例id
2927
+ */
2928
+ InstanceID: string;
2929
+ }
2911
2930
  /**
2912
2931
  * DescribeTlsVersion请求参数结构体
2913
2932
  */
@@ -4104,15 +4123,6 @@ export interface ModifyApiAnalyzeStatusRequest {
4104
4123
  */
4105
4124
  TargetList?: Array<TargetEntity>;
4106
4125
  }
4107
- /**
4108
- * AddSpartaProtectionsAuto请求参数结构体
4109
- */
4110
- export interface AddSpartaProtectionsAutoRequest {
4111
- /**
4112
- * 多域名
4113
- */
4114
- Domain: string;
4115
- }
4116
4126
  /**
4117
4127
  * AddCustomRule请求参数结构体
4118
4128
  */
@@ -4738,15 +4748,6 @@ export interface Strategy {
4738
4748
  */
4739
4749
  Arg: string;
4740
4750
  }
4741
- /**
4742
- * AddSpartaProtectionAuto请求参数结构体
4743
- */
4744
- export interface AddSpartaProtectionAutoRequest {
4745
- /**
4746
- * 域名
4747
- */
4748
- Domain: string;
4749
- }
4750
4751
  /**
4751
4752
  * DescribeAccessIndex
4752
4753
  */