tencentcloud-sdk-nodejs-waf 4.0.683 → 4.0.685

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.
@@ -58,7 +58,7 @@ import {
58
58
  DescribeAntiInfoLeakRulesStrategyItem,
59
59
  UpsertSessionResponse,
60
60
  AccessLogItem,
61
- SwitchDomainRulesRequest,
61
+ DescribeDomainVerifyResultResponse,
62
62
  DeleteSessionRequest,
63
63
  DescribeWafAutoDenyRulesRequest,
64
64
  RefreshAccessCheckResultRequest,
@@ -81,7 +81,6 @@ import {
81
81
  DescribeUserCdcClbWafRegionsResponse,
82
82
  GetAttackHistogramRequest,
83
83
  DeleteAccessExportResponse,
84
- AddSpartaProtectionsAutoResponse,
85
84
  DescribeAccessExportsRequest,
86
85
  ModifyApiAnalyzeStatusResponse,
87
86
  DescribeCustomWhiteRuleRequest,
@@ -92,14 +91,13 @@ import {
92
91
  ModifyAntiFakeUrlStatusRequest,
93
92
  DeleteCustomWhiteRuleRequest,
94
93
  ModifyHostModeResponse,
95
- FailedInfo,
96
94
  DescribeCCRuleListRequest,
97
95
  ModifyProtectionStatusResponse,
98
96
  DescribeAutoDenyIPRequest,
99
- AddSpartaProtectionAutoResponse,
100
97
  ModifyWafAutoDenyStatusRequest,
101
98
  DescribeCustomRuleListResponse,
102
99
  ModifyDomainsCLSStatusResponse,
100
+ SwitchDomainRulesRequest,
103
101
  ModifyAccessPeriodResponse,
104
102
  ClbHostResult,
105
103
  DescribeVipInfoRequest,
@@ -155,6 +153,7 @@ import {
155
153
  ModifyAntiFakeUrlRequest,
156
154
  DescribeDomainDetailsClbRequest,
157
155
  DeleteDomainWhiteRulesRequest,
156
+ DescribeDomainVerifyResultRequest,
158
157
  DescribeTlsVersionRequest,
159
158
  DescribeCiphersDetailResponse,
160
159
  ModifyAntiInfoLeakRulesRequest,
@@ -211,7 +210,6 @@ import {
211
210
  DescribeDomainDetailsSaasResponse,
212
211
  AccessKeyValueInfo,
213
212
  ModifyApiAnalyzeStatusRequest,
214
- AddSpartaProtectionsAutoRequest,
215
213
  AddCustomRuleRequest,
216
214
  DescribeWafAutoDenyRulesResponse,
217
215
  FraudPkg,
@@ -237,7 +235,6 @@ import {
237
235
  CacheUrlItems,
238
236
  SearchAttackLogResponse,
239
237
  Strategy,
240
- AddSpartaProtectionAutoRequest,
241
238
  AccessFullTextInfo,
242
239
  DeleteAntiInfoLeakRuleRequest,
243
240
  DescribeIpHitItemsRequest,
@@ -378,13 +375,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
378
375
  }
379
376
 
380
377
  /**
381
- * 批量添加域名
378
+ * 编辑自定义规则
382
379
  */
383
- async AddSpartaProtectionsAuto(
384
- req: AddSpartaProtectionsAutoRequest,
385
- cb?: (error: string, rep: AddSpartaProtectionsAutoResponse) => void
386
- ): Promise<AddSpartaProtectionsAutoResponse> {
387
- return this.request("AddSpartaProtectionsAuto", req, cb)
380
+ async ModifyCustomRule(
381
+ req: ModifyCustomRuleRequest,
382
+ cb?: (error: string, rep: ModifyCustomRuleResponse) => void
383
+ ): Promise<ModifyCustomRuleResponse> {
384
+ return this.request("ModifyCustomRule", req, cb)
388
385
  }
389
386
 
390
387
  /**
@@ -510,13 +507,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
510
507
  }
511
508
 
512
509
  /**
513
- * 一键接入
510
+ * 本接口用于搜索WAF访问日志
514
511
  */
515
- async AddSpartaProtectionAuto(
516
- req: AddSpartaProtectionAutoRequest,
517
- cb?: (error: string, rep: AddSpartaProtectionAutoResponse) => void
518
- ): Promise<AddSpartaProtectionAutoResponse> {
519
- return this.request("AddSpartaProtectionAuto", req, cb)
512
+ async SearchAccessLog(
513
+ req: SearchAccessLogRequest,
514
+ cb?: (error: string, rep: SearchAccessLogResponse) => void
515
+ ): Promise<SearchAccessLogResponse> {
516
+ return this.request("SearchAccessLog", req, cb)
520
517
  }
521
518
 
522
519
  /**
@@ -539,16 +536,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
539
536
  return this.request("DescribeIpHitItems", req, cb)
540
537
  }
541
538
 
542
- /**
543
- * 本接口用于搜索WAF访问日志
544
- */
545
- async SearchAccessLog(
546
- req: SearchAccessLogRequest,
547
- cb?: (error: string, rep: SearchAccessLogResponse) => void
548
- ): Promise<SearchAccessLogResponse> {
549
- return this.request("SearchAccessLog", req, cb)
550
- }
551
-
552
539
  /**
553
540
  * 信息防泄漏删除规则
554
541
  */
@@ -924,16 +911,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
924
911
  return this.request("DeleteDownloadRecord", req, cb)
925
912
  }
926
913
 
927
- /**
928
- * 编辑自定义规则
929
- */
930
- async ModifyCustomRule(
931
- req: ModifyCustomRuleRequest,
932
- cb?: (error: string, rep: ModifyCustomRuleResponse) => void
933
- ): Promise<ModifyCustomRuleResponse> {
934
- return this.request("ModifyCustomRule", req, cb)
935
- }
936
-
937
914
  /**
938
915
  * Bot_V2 bot总开关更新
939
916
  */
@@ -1174,6 +1151,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
1174
1151
  return this.request("DeleteDomainWhiteRules", req, cb)
1175
1152
  }
1176
1153
 
1154
+ /**
1155
+ * 获取添加域名操作的结果
1156
+ */
1157
+ async DescribeDomainVerifyResult(
1158
+ req: DescribeDomainVerifyResultRequest,
1159
+ cb?: (error: string, rep: DescribeDomainVerifyResultResponse) => void
1160
+ ): Promise<DescribeDomainVerifyResultResponse> {
1161
+ return this.request("DescribeDomainVerifyResult", req, cb)
1162
+ }
1163
+
1177
1164
  /**
1178
1165
  * 本接口用于创建访问日志导出
1179
1166
  */
@@ -974,26 +974,21 @@ export interface AccessLogItem {
974
974
  }
975
975
 
976
976
  /**
977
- * SwitchDomainRules请求参数结构体
977
+ * DescribeDomainVerifyResult返回参数结构体
978
978
  */
979
- export interface SwitchDomainRulesRequest {
980
- /**
981
- * 域名
982
- */
983
- Domain?: string
979
+ export interface DescribeDomainVerifyResultResponse {
984
980
  /**
985
- * 规则列表
981
+ * 结果描述;如果可以添加返回空字符串
986
982
  */
987
- Ids?: Array<number | bigint>
983
+ Msg?: string
988
984
  /**
989
- * 开关状态,0表示关闭,1表示开启,2表示只观察
985
+ * 检验状态:0表示可以添加,大于0为不能添加
990
986
  */
991
- Status?: number
987
+ VerifyCode?: number
992
988
  /**
993
- * 设置为观察模式原因,
994
- 1表示业务自身原因观察,2表示系统规则误报上报,3表示核心业务灰度观察,4表示其他
989
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
995
990
  */
996
- Reason?: number
991
+ RequestId?: string
997
992
  }
998
993
 
999
994
  /**
@@ -1317,20 +1312,6 @@ export interface DeleteAccessExportResponse {
1317
1312
  RequestId?: string
1318
1313
  }
1319
1314
 
1320
- /**
1321
- * AddSpartaProtectionsAuto返回参数结构体
1322
- */
1323
- export interface AddSpartaProtectionsAutoResponse {
1324
- /**
1325
- * 失败原因
1326
- */
1327
- FailedInfos?: Array<FailedInfo>
1328
- /**
1329
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1330
- */
1331
- RequestId?: string
1332
- }
1333
-
1334
1315
  /**
1335
1316
  * DescribeAccessExports请求参数结构体
1336
1317
  */
@@ -1504,22 +1485,6 @@ export interface ModifyHostModeResponse {
1504
1485
  RequestId?: string
1505
1486
  }
1506
1487
 
1507
- /**
1508
- * 失败描述
1509
- */
1510
- export interface FailedInfo {
1511
- /**
1512
- * 域名
1513
- 注意:此字段可能返回 null,表示取不到有效值。
1514
- */
1515
- Domain?: string
1516
- /**
1517
- * 失败信息
1518
- 注意:此字段可能返回 null,表示取不到有效值。
1519
- */
1520
- Message?: string
1521
- }
1522
-
1523
1488
  /**
1524
1489
  * DescribeCCRuleList请求参数结构体
1525
1490
  */
@@ -1589,16 +1554,6 @@ export interface DescribeAutoDenyIPRequest {
1589
1554
  Sort?: string
1590
1555
  }
1591
1556
 
1592
- /**
1593
- * AddSpartaProtectionAuto返回参数结构体
1594
- */
1595
- export interface AddSpartaProtectionAutoResponse {
1596
- /**
1597
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1598
- */
1599
- RequestId?: string
1600
- }
1601
-
1602
1557
  /**
1603
1558
  * ModifyWafAutoDenyStatus请求参数结构体
1604
1559
  */
@@ -1637,6 +1592,29 @@ export interface ModifyDomainsCLSStatusResponse {
1637
1592
  RequestId?: string
1638
1593
  }
1639
1594
 
1595
+ /**
1596
+ * SwitchDomainRules请求参数结构体
1597
+ */
1598
+ export interface SwitchDomainRulesRequest {
1599
+ /**
1600
+ * 域名
1601
+ */
1602
+ Domain?: string
1603
+ /**
1604
+ * 规则列表
1605
+ */
1606
+ Ids?: Array<number | bigint>
1607
+ /**
1608
+ * 开关状态,0表示关闭,1表示开启,2表示只观察
1609
+ */
1610
+ Status?: number
1611
+ /**
1612
+ * 设置为观察模式原因,
1613
+ 1表示业务自身原因观察,2表示系统规则误报上报,3表示核心业务灰度观察,4表示其他
1614
+ */
1615
+ Reason?: number
1616
+ }
1617
+
1640
1618
  /**
1641
1619
  * ModifyAccessPeriod返回参数结构体
1642
1620
  */
@@ -3089,6 +3067,20 @@ export interface DeleteDomainWhiteRulesRequest {
3089
3067
  Ids?: Array<number | bigint>
3090
3068
  }
3091
3069
 
3070
+ /**
3071
+ * DescribeDomainVerifyResult请求参数结构体
3072
+ */
3073
+ export interface DescribeDomainVerifyResultRequest {
3074
+ /**
3075
+ * 域名
3076
+ */
3077
+ Domain: string
3078
+ /**
3079
+ * 实例id
3080
+ */
3081
+ InstanceID: string
3082
+ }
3083
+
3092
3084
  /**
3093
3085
  * DescribeTlsVersion请求参数结构体
3094
3086
  */
@@ -4341,16 +4333,6 @@ export interface ModifyApiAnalyzeStatusRequest {
4341
4333
  TargetList?: Array<TargetEntity>
4342
4334
  }
4343
4335
 
4344
- /**
4345
- * AddSpartaProtectionsAuto请求参数结构体
4346
- */
4347
- export interface AddSpartaProtectionsAutoRequest {
4348
- /**
4349
- * 多域名
4350
- */
4351
- Domain: string
4352
- }
4353
-
4354
4336
  /**
4355
4337
  * AddCustomRule请求参数结构体
4356
4338
  */
@@ -5001,16 +4983,6 @@ export interface Strategy {
5001
4983
  Arg: string
5002
4984
  }
5003
4985
 
5004
- /**
5005
- * AddSpartaProtectionAuto请求参数结构体
5006
- */
5007
- export interface AddSpartaProtectionAutoRequest {
5008
- /**
5009
- * 域名
5010
- */
5011
- Domain: string
5012
- }
5013
-
5014
4986
  /**
5015
4987
  * DescribeAccessIndex
5016
4988
  */
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { CreateAccessExportRequest, ModifyHostRequest, DescribeAntiInfoLeakRulesResponse, DescribeIpHitItemsResponse, ModifyAntiInfoLeakRulesResponse, DescribeUserCdcClbWafRegionsRequest, DeleteAttackDownloadRecordResponse, AddAntiFakeUrlRequest, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, AddCustomWhiteRuleResponse, SearchAttackLogRequest, DescribeCustomWhiteRuleResponse, DescribePeakValueResponse, DescribeCiphersDetailRequest, AddDomainWhiteRuleResponse, DescribeHostLimitRequest, DescribeIpAccessControlResponse, DescribeAntiFakeUrlRequest, DescribeInstancesResponse, ModifyDomainWhiteRuleRequest, DescribeTlsVersionResponse, DescribeHostsResponse, DescribePeakPointsRequest, DescribeAccessIndexRequest, DeleteHostRequest, UpsertSessionResponse, SwitchDomainRulesRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, RefreshAccessCheckResultRequest, DescribeUserClbWafRegionsRequest, AddAntiFakeUrlResponse, ModifyHostResponse, DeleteCustomWhiteRuleResponse, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, ModifyDomainIpv6StatusRequest, ModifyAntiInfoLeakRuleStatusResponse, GetAttackTotalCountResponse, DescribeAntiInfoLeakageRulesResponse, ModifySpartaProtectionResponse, ModifyHostFlowModeRequest, UpsertCCRuleResponse, DeleteDownloadRecordRequest, DescribeUserCdcClbWafRegionsResponse, GetAttackHistogramRequest, DeleteAccessExportResponse, AddSpartaProtectionsAutoResponse, DescribeAccessExportsRequest, ModifyApiAnalyzeStatusResponse, DescribeCustomWhiteRuleRequest, DeleteAntiFakeUrlResponse, AddAntiInfoLeakRulesResponse, DescribeUserClbWafRegionsResponse, ModifyAntiFakeUrlStatusRequest, DeleteCustomWhiteRuleRequest, ModifyHostModeResponse, DescribeCCRuleListRequest, ModifyProtectionStatusResponse, DescribeAutoDenyIPRequest, AddSpartaProtectionAutoResponse, ModifyWafAutoDenyStatusRequest, DescribeCustomRuleListResponse, ModifyDomainsCLSStatusResponse, ModifyAccessPeriodResponse, DescribeVipInfoRequest, GetAttackHistogramResponse, DeleteSpartaProtectionResponse, DescribeAutoDenyIPResponse, SwitchDomainRulesResponse, SearchAccessLogResponse, DescribeAntiInfoLeakageRulesRequest, CreateHostResponse, DeleteHostResponse, FreshAntiFakeUrlResponse, ModifyBotStatusRequest, DeleteSpartaProtectionRequest, DescribeAntiFakeRulesResponse, AddAntiInfoLeakRulesRequest, CreateHostRequest, FreshAntiFakeUrlRequest, DescribeFindDomainListResponse, DescribeWafInfoRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, ModifyCustomWhiteRuleResponse, DescribeSessionRequest, ModifyAreaBanStatusRequest, DescribePolicyStatusRequest, GetAttackTotalCountRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, ModifyDomainIpv6StatusResponse, DeleteDomainWhiteRulesResponse, DescribeAttackOverviewResponse, DescribeDomainCountInfoResponse, ModifyWafAutoDenyStatusResponse, ModifyWafThreatenIntelligenceRequest, DescribeAntiInfoLeakRulesRequest, ModifyHostModeRequest, DescribeWafAutoDenyStatusResponse, ModifyAntiFakeUrlRequest, DescribeDomainDetailsClbRequest, DeleteDomainWhiteRulesRequest, DescribeTlsVersionRequest, DescribeCiphersDetailResponse, ModifyAntiInfoLeakRulesRequest, DescribeCustomRuleListRequest, DescribeHostLimitResponse, PostAttackDownloadTaskResponse, ModifySpartaProtectionModeResponse, ModifyBotStatusResponse, DescribeDomainDetailsSaasRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, DescribeUserDomainInfoRequest, ModifyCustomRuleRequest, CreateAccessExportResponse, ModifyCustomWhiteRuleStatusResponse, DescribeDomainWhiteRulesRequest, ModifyHostStatusResponse, ModifyCustomRuleStatusRequest, DescribePeakPointsResponse, DeleteDownloadRecordResponse, DescribeHostRequest, ModifyAccessPeriodRequest, DescribeAttackOverviewRequest, DescribePeakValueRequest, DescribeDomainDetailsClbResponse, ModifyProtectionStatusRequest, ModifyAntiFakeUrlResponse, ModifyWafAutoDenyRulesResponse, DescribeBatchIpAccessControlRequest, DescribePolicyStatusResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, ModifyCustomWhiteRuleRequest, DescribeWafInfoResponse, ModifyWafAutoDenyRulesRequest, DescribeBatchIpAccessControlResponse, DescribeDomainDetailsSaasResponse, ModifyApiAnalyzeStatusRequest, AddSpartaProtectionsAutoRequest, AddCustomRuleRequest, DescribeWafAutoDenyRulesResponse, DeleteCCRuleRequest, ModifyAreaBanStatusResponse, DeleteCustomRuleRequest, DescribeCCRuleResponse, ModifyDomainWhiteRuleResponse, DescribeAntiFakeUrlResponse, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, DescribeFindDomainListRequest, ModifyAntiFakeUrlStatusResponse, DescribeHostsRequest, UpsertIpAccessControlRequest, UpsertCCRuleRequest, ModifyCustomWhiteRuleStatusRequest, DeleteAntiFakeUrlRequest, SearchAttackLogResponse, AddSpartaProtectionAutoRequest, DeleteAntiInfoLeakRuleRequest, DescribeIpHitItemsRequest, DescribeVipInfoResponse, DescribeCCRuleRequest, ModifyDomainsCLSStatusRequest, DescribeCCRuleListResponse, DescribeRuleLimitRequest, DescribeDomainCountInfoRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, ModifySpartaProtectionRequest, DescribeIpAccessControlRequest, DescribeDomainWhiteRulesResponse, DescribeWafThreatenIntelligenceResponse, DescribeAccessHistogramResponse, ModifyHostFlowModeResponse, DescribeSessionResponse, DeleteAttackDownloadRecordRequest, DescribeAntiFakeRulesRequest, AddCustomWhiteRuleRequest, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DeleteAntiInfoLeakRuleResponse, DescribeAccessHistogramRequest, DeleteSessionResponse, UpsertSessionRequest, DescribeRuleLimitResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, DeleteCustomRuleResponse, DescribeHostResponse, DeleteCCRuleResponse, SearchAccessLogRequest, ModifyAntiInfoLeakRuleStatusRequest, ModifySpartaProtectionModeRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse, DescribeUserDomainInfoResponse, ModifyHostStatusRequest, ModifyCustomRuleResponse, RefreshAccessCheckResultResponse } from "./waf_models";
2
+ import { CreateAccessExportRequest, ModifyHostRequest, DescribeAntiInfoLeakRulesResponse, DescribeIpHitItemsResponse, ModifyAntiInfoLeakRulesResponse, DescribeUserCdcClbWafRegionsRequest, DeleteAttackDownloadRecordResponse, AddAntiFakeUrlRequest, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, AddCustomWhiteRuleResponse, SearchAttackLogRequest, DescribeCustomWhiteRuleResponse, DescribePeakValueResponse, DescribeCiphersDetailRequest, AddDomainWhiteRuleResponse, DescribeHostLimitRequest, DescribeIpAccessControlResponse, DescribeAntiFakeUrlRequest, DescribeInstancesResponse, ModifyDomainWhiteRuleRequest, DescribeTlsVersionResponse, DescribeHostsResponse, DescribePeakPointsRequest, DescribeAccessIndexRequest, DeleteHostRequest, UpsertSessionResponse, DescribeDomainVerifyResultResponse, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, RefreshAccessCheckResultRequest, DescribeUserClbWafRegionsRequest, AddAntiFakeUrlResponse, ModifyHostResponse, DeleteCustomWhiteRuleResponse, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, ModifyDomainIpv6StatusRequest, ModifyAntiInfoLeakRuleStatusResponse, GetAttackTotalCountResponse, DescribeAntiInfoLeakageRulesResponse, ModifySpartaProtectionResponse, ModifyHostFlowModeRequest, UpsertCCRuleResponse, DeleteDownloadRecordRequest, DescribeUserCdcClbWafRegionsResponse, GetAttackHistogramRequest, DeleteAccessExportResponse, DescribeAccessExportsRequest, ModifyApiAnalyzeStatusResponse, DescribeCustomWhiteRuleRequest, DeleteAntiFakeUrlResponse, AddAntiInfoLeakRulesResponse, DescribeUserClbWafRegionsResponse, ModifyAntiFakeUrlStatusRequest, DeleteCustomWhiteRuleRequest, ModifyHostModeResponse, DescribeCCRuleListRequest, ModifyProtectionStatusResponse, DescribeAutoDenyIPRequest, ModifyWafAutoDenyStatusRequest, DescribeCustomRuleListResponse, ModifyDomainsCLSStatusResponse, SwitchDomainRulesRequest, ModifyAccessPeriodResponse, DescribeVipInfoRequest, GetAttackHistogramResponse, DeleteSpartaProtectionResponse, DescribeAutoDenyIPResponse, SwitchDomainRulesResponse, SearchAccessLogResponse, DescribeAntiInfoLeakageRulesRequest, CreateHostResponse, DeleteHostResponse, FreshAntiFakeUrlResponse, ModifyBotStatusRequest, DeleteSpartaProtectionRequest, DescribeAntiFakeRulesResponse, AddAntiInfoLeakRulesRequest, CreateHostRequest, FreshAntiFakeUrlRequest, DescribeFindDomainListResponse, DescribeWafInfoRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, ModifyCustomWhiteRuleResponse, DescribeSessionRequest, ModifyAreaBanStatusRequest, DescribePolicyStatusRequest, GetAttackTotalCountRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, ModifyDomainIpv6StatusResponse, DeleteDomainWhiteRulesResponse, DescribeAttackOverviewResponse, DescribeDomainCountInfoResponse, ModifyWafAutoDenyStatusResponse, ModifyWafThreatenIntelligenceRequest, DescribeAntiInfoLeakRulesRequest, ModifyHostModeRequest, DescribeWafAutoDenyStatusResponse, ModifyAntiFakeUrlRequest, DescribeDomainDetailsClbRequest, DeleteDomainWhiteRulesRequest, DescribeDomainVerifyResultRequest, DescribeTlsVersionRequest, DescribeCiphersDetailResponse, ModifyAntiInfoLeakRulesRequest, DescribeCustomRuleListRequest, DescribeHostLimitResponse, PostAttackDownloadTaskResponse, ModifySpartaProtectionModeResponse, ModifyBotStatusResponse, DescribeDomainDetailsSaasRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, DescribeUserDomainInfoRequest, ModifyCustomRuleRequest, CreateAccessExportResponse, ModifyCustomWhiteRuleStatusResponse, DescribeDomainWhiteRulesRequest, ModifyHostStatusResponse, ModifyCustomRuleStatusRequest, DescribePeakPointsResponse, DeleteDownloadRecordResponse, DescribeHostRequest, ModifyAccessPeriodRequest, DescribeAttackOverviewRequest, DescribePeakValueRequest, DescribeDomainDetailsClbResponse, ModifyProtectionStatusRequest, ModifyAntiFakeUrlResponse, ModifyWafAutoDenyRulesResponse, DescribeBatchIpAccessControlRequest, DescribePolicyStatusResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, ModifyCustomWhiteRuleRequest, DescribeWafInfoResponse, ModifyWafAutoDenyRulesRequest, DescribeBatchIpAccessControlResponse, DescribeDomainDetailsSaasResponse, ModifyApiAnalyzeStatusRequest, AddCustomRuleRequest, DescribeWafAutoDenyRulesResponse, DeleteCCRuleRequest, ModifyAreaBanStatusResponse, DeleteCustomRuleRequest, DescribeCCRuleResponse, ModifyDomainWhiteRuleResponse, DescribeAntiFakeUrlResponse, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, DescribeFindDomainListRequest, ModifyAntiFakeUrlStatusResponse, DescribeHostsRequest, UpsertIpAccessControlRequest, UpsertCCRuleRequest, ModifyCustomWhiteRuleStatusRequest, DeleteAntiFakeUrlRequest, SearchAttackLogResponse, DeleteAntiInfoLeakRuleRequest, DescribeIpHitItemsRequest, DescribeVipInfoResponse, DescribeCCRuleRequest, ModifyDomainsCLSStatusRequest, DescribeCCRuleListResponse, DescribeRuleLimitRequest, DescribeDomainCountInfoRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, ModifySpartaProtectionRequest, DescribeIpAccessControlRequest, DescribeDomainWhiteRulesResponse, DescribeWafThreatenIntelligenceResponse, DescribeAccessHistogramResponse, ModifyHostFlowModeResponse, DescribeSessionResponse, DeleteAttackDownloadRecordRequest, DescribeAntiFakeRulesRequest, AddCustomWhiteRuleRequest, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DeleteAntiInfoLeakRuleResponse, DescribeAccessHistogramRequest, DeleteSessionResponse, UpsertSessionRequest, DescribeRuleLimitResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, DeleteCustomRuleResponse, DescribeHostResponse, DeleteCCRuleResponse, SearchAccessLogRequest, ModifyAntiInfoLeakRuleStatusRequest, ModifySpartaProtectionModeRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse, DescribeUserDomainInfoResponse, ModifyHostStatusRequest, ModifyCustomRuleResponse, RefreshAccessCheckResultResponse } from "./waf_models";
3
3
  /**
4
4
  * waf client
5
5
  * @class
@@ -37,9 +37,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
37
37
  */
38
38
  DescribeAntiInfoLeakRules(req: DescribeAntiInfoLeakRulesRequest, cb?: (error: string, rep: DescribeAntiInfoLeakRulesResponse) => void): Promise<DescribeAntiInfoLeakRulesResponse>;
39
39
  /**
40
- * 批量添加域名
40
+ * 编辑自定义规则
41
41
  */
42
- AddSpartaProtectionsAuto(req: AddSpartaProtectionsAutoRequest, cb?: (error: string, rep: AddSpartaProtectionsAutoResponse) => void): Promise<AddSpartaProtectionsAutoResponse>;
42
+ ModifyCustomRule(req: ModifyCustomRuleRequest, cb?: (error: string, rep: ModifyCustomRuleResponse) => void): Promise<ModifyCustomRuleResponse>;
43
43
  /**
44
44
  * 接口已废弃
45
45
 
@@ -91,9 +91,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
91
91
  */
92
92
  DescribeAntiInfoLeakageRules(req: DescribeAntiInfoLeakageRulesRequest, cb?: (error: string, rep: DescribeAntiInfoLeakageRulesResponse) => void): Promise<DescribeAntiInfoLeakageRulesResponse>;
93
93
  /**
94
- * 一键接入
94
+ * 本接口用于搜索WAF访问日志
95
95
  */
96
- AddSpartaProtectionAuto(req: AddSpartaProtectionAutoRequest, cb?: (error: string, rep: AddSpartaProtectionAutoResponse) => void): Promise<AddSpartaProtectionAutoResponse>;
96
+ SearchAccessLog(req: SearchAccessLogRequest, cb?: (error: string, rep: SearchAccessLogResponse) => void): Promise<SearchAccessLogResponse>;
97
97
  /**
98
98
  * 描述WAF威胁情报封禁模块配置详情
99
99
  */
@@ -102,10 +102,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
102
102
  * Waf IP封堵状态查询
103
103
  */
104
104
  DescribeIpHitItems(req: DescribeIpHitItemsRequest, cb?: (error: string, rep: DescribeIpHitItemsResponse) => void): Promise<DescribeIpHitItemsResponse>;
105
- /**
106
- * 本接口用于搜索WAF访问日志
107
- */
108
- SearchAccessLog(req: SearchAccessLogRequest, cb?: (error: string, rep: SearchAccessLogResponse) => void): Promise<SearchAccessLogResponse>;
109
105
  /**
110
106
  * 信息防泄漏删除规则
111
107
  */
@@ -259,10 +255,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
259
255
  * 删除访问日志下载记录
260
256
  */
261
257
  DeleteDownloadRecord(req: DeleteDownloadRecordRequest, cb?: (error: string, rep: DeleteDownloadRecordResponse) => void): Promise<DeleteDownloadRecordResponse>;
262
- /**
263
- * 编辑自定义规则
264
- */
265
- ModifyCustomRule(req: ModifyCustomRuleRequest, cb?: (error: string, rep: ModifyCustomRuleResponse) => void): Promise<ModifyCustomRuleResponse>;
266
258
  /**
267
259
  * Bot_V2 bot总开关更新
268
260
  */
@@ -359,6 +351,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
359
351
  * 删除域名规则白名单
360
352
  */
361
353
  DeleteDomainWhiteRules(req: DeleteDomainWhiteRulesRequest, cb?: (error: string, rep: DeleteDomainWhiteRulesResponse) => void): Promise<DeleteDomainWhiteRulesResponse>;
354
+ /**
355
+ * 获取添加域名操作的结果
356
+ */
357
+ DescribeDomainVerifyResult(req: DescribeDomainVerifyResultRequest, cb?: (error: string, rep: DescribeDomainVerifyResultResponse) => void): Promise<DescribeDomainVerifyResultResponse>;
362
358
  /**
363
359
  * 本接口用于创建访问日志导出
364
360
  */
@@ -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
  */
@@ -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
- * 域名
923
+ * 结果描述;如果可以添加返回空字符串
924
924
  */
925
- Domain?: string;
925
+ Msg?: string;
926
926
  /**
927
- * 规则列表
927
+ * 检验状态:0表示可以添加,大于0为不能添加
928
928
  */
929
- Ids?: Array<number | bigint>;
929
+ VerifyCode?: number;
930
930
  /**
931
- * 开关状态,0表示关闭,1表示开启,2表示只观察
932
- */
933
- Status?: number;
934
- /**
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
  */
@@ -2934,6 +2914,19 @@ export interface DeleteDomainWhiteRulesRequest {
2934
2914
  */
2935
2915
  Ids?: Array<number | bigint>;
2936
2916
  }
2917
+ /**
2918
+ * DescribeDomainVerifyResult请求参数结构体
2919
+ */
2920
+ export interface DescribeDomainVerifyResultRequest {
2921
+ /**
2922
+ * 域名
2923
+ */
2924
+ Domain: string;
2925
+ /**
2926
+ * 实例id
2927
+ */
2928
+ InstanceID: string;
2929
+ }
2937
2930
  /**
2938
2931
  * DescribeTlsVersion请求参数结构体
2939
2932
  */
@@ -4130,15 +4123,6 @@ export interface ModifyApiAnalyzeStatusRequest {
4130
4123
  */
4131
4124
  TargetList?: Array<TargetEntity>;
4132
4125
  }
4133
- /**
4134
- * AddSpartaProtectionsAuto请求参数结构体
4135
- */
4136
- export interface AddSpartaProtectionsAutoRequest {
4137
- /**
4138
- * 多域名
4139
- */
4140
- Domain: string;
4141
- }
4142
4126
  /**
4143
4127
  * AddCustomRule请求参数结构体
4144
4128
  */
@@ -4764,15 +4748,6 @@ export interface Strategy {
4764
4748
  */
4765
4749
  Arg: string;
4766
4750
  }
4767
- /**
4768
- * AddSpartaProtectionAuto请求参数结构体
4769
- */
4770
- export interface AddSpartaProtectionAutoRequest {
4771
- /**
4772
- * 域名
4773
- */
4774
- Domain: string;
4775
- }
4776
4751
  /**
4777
4752
  * DescribeAccessIndex
4778
4753
  */