tencentcloud-sdk-nodejs-waf 4.0.849 → 4.0.866
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 +86 -84
- package/src/services/waf/v20180125/waf_client.ts +11 -6
- package/src/services/waf/v20180125/waf_models.ts +421 -114
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +3 -3
- package/tencentcloud/services/waf/v20180125/waf_client.js +2 -2
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +414 -112
|
@@ -193,33 +193,38 @@ export interface DescribeAntiLeakageItem {
|
|
|
193
193
|
/**
|
|
194
194
|
* 规则ID
|
|
195
195
|
*/
|
|
196
|
-
RuleId
|
|
196
|
+
RuleId?: number;
|
|
197
197
|
/**
|
|
198
198
|
* 名称
|
|
199
199
|
*/
|
|
200
|
-
Name
|
|
200
|
+
Name?: string;
|
|
201
201
|
/**
|
|
202
202
|
* 状态值
|
|
203
203
|
*/
|
|
204
|
-
Status
|
|
204
|
+
Status?: number;
|
|
205
205
|
/**
|
|
206
206
|
* 动作
|
|
207
207
|
*/
|
|
208
|
-
Action
|
|
208
|
+
Action?: string;
|
|
209
209
|
/**
|
|
210
210
|
* 创建时间
|
|
211
211
|
*/
|
|
212
|
-
CreateTime
|
|
212
|
+
CreateTime?: string;
|
|
213
213
|
/**
|
|
214
214
|
* 匹配条件
|
|
215
215
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
216
216
|
*/
|
|
217
|
-
Strategies
|
|
217
|
+
Strategies?: Array<DescribeAntiInfoLeakRulesStrategyItem>;
|
|
218
218
|
/**
|
|
219
219
|
* 匹配的URL
|
|
220
220
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
221
221
|
*/
|
|
222
|
-
Uri
|
|
222
|
+
Uri?: string;
|
|
223
|
+
/**
|
|
224
|
+
* 修改时间
|
|
225
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
226
|
+
*/
|
|
227
|
+
ModifyTime?: string;
|
|
223
228
|
}
|
|
224
229
|
/**
|
|
225
230
|
* 负载均衡器
|
|
@@ -876,6 +881,10 @@ export interface HostRecord {
|
|
|
876
881
|
* ModifyCustomRule返回参数结构体
|
|
877
882
|
*/
|
|
878
883
|
export interface ModifyCustomRuleResponse {
|
|
884
|
+
/**
|
|
885
|
+
* 操作的状态码,如果所有的资源操作成功则返回的是成功的状态码,如果有资源操作失败则需要解析Message的内容来查看哪个资源失败
|
|
886
|
+
*/
|
|
887
|
+
Success?: ResponseCode;
|
|
879
888
|
/**
|
|
880
889
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
881
890
|
*/
|
|
@@ -1318,6 +1327,10 @@ export interface DescribeCustomRuleListRequest {
|
|
|
1318
1327
|
* exp_ts或者mod_ts
|
|
1319
1328
|
*/
|
|
1320
1329
|
By?: string;
|
|
1330
|
+
/**
|
|
1331
|
+
* 查询的域名列表,访问控制页面不用传
|
|
1332
|
+
*/
|
|
1333
|
+
DomainList?: Array<string>;
|
|
1321
1334
|
}
|
|
1322
1335
|
/**
|
|
1323
1336
|
* DeleteIpAccessControlV2返回参数结构体
|
|
@@ -1410,6 +1423,51 @@ export interface AddSpartaProtectionResponse {
|
|
|
1410
1423
|
* DescribeUserDomainInfo请求参数结构体
|
|
1411
1424
|
*/
|
|
1412
1425
|
export declare type DescribeUserDomainInfoRequest = null;
|
|
1426
|
+
/**
|
|
1427
|
+
* 混合云节点资源信息
|
|
1428
|
+
*/
|
|
1429
|
+
export interface HybridPkg {
|
|
1430
|
+
/**
|
|
1431
|
+
* 资源id
|
|
1432
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1433
|
+
*/
|
|
1434
|
+
ResourceIds?: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* 状态
|
|
1437
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1438
|
+
*/
|
|
1439
|
+
Status?: number;
|
|
1440
|
+
/**
|
|
1441
|
+
* 地域
|
|
1442
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1443
|
+
*/
|
|
1444
|
+
Region?: number;
|
|
1445
|
+
/**
|
|
1446
|
+
* 开始时间
|
|
1447
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1448
|
+
*/
|
|
1449
|
+
BeginTime?: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* 结束时间
|
|
1452
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1453
|
+
*/
|
|
1454
|
+
EndTime?: string;
|
|
1455
|
+
/**
|
|
1456
|
+
* 申请数量
|
|
1457
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1458
|
+
*/
|
|
1459
|
+
InquireNum?: number;
|
|
1460
|
+
/**
|
|
1461
|
+
* 使用数量
|
|
1462
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1463
|
+
*/
|
|
1464
|
+
UsedNum?: number;
|
|
1465
|
+
/**
|
|
1466
|
+
* 续费标志
|
|
1467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1468
|
+
*/
|
|
1469
|
+
RenewFlag?: number;
|
|
1470
|
+
}
|
|
1413
1471
|
/**
|
|
1414
1472
|
* 数据封装
|
|
1415
1473
|
*/
|
|
@@ -1663,6 +1721,30 @@ export interface DeleteCustomRuleRequest {
|
|
|
1663
1721
|
* WAF的版本,clb-waf代表负载均衡WAF、sparta-waf代表SaaS WAF,默认是sparta-waf。
|
|
1664
1722
|
*/
|
|
1665
1723
|
Edition?: string;
|
|
1724
|
+
/**
|
|
1725
|
+
* 批量删除的规则列表
|
|
1726
|
+
*/
|
|
1727
|
+
DomainRuleIdList?: Array<DomainRuleId>;
|
|
1728
|
+
}
|
|
1729
|
+
/**
|
|
1730
|
+
* 规则执行的时间结构体
|
|
1731
|
+
*/
|
|
1732
|
+
export interface JobDateTime {
|
|
1733
|
+
/**
|
|
1734
|
+
* 定时执行的时间参数
|
|
1735
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1736
|
+
*/
|
|
1737
|
+
Timed?: Array<TimedJob>;
|
|
1738
|
+
/**
|
|
1739
|
+
* 周期执行的时间参数
|
|
1740
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1741
|
+
*/
|
|
1742
|
+
Cron?: Array<CronJob>;
|
|
1743
|
+
/**
|
|
1744
|
+
* 时区
|
|
1745
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1746
|
+
*/
|
|
1747
|
+
TimeTZone?: string;
|
|
1666
1748
|
}
|
|
1667
1749
|
/**
|
|
1668
1750
|
* DescribeHosts请求参数结构体
|
|
@@ -1837,50 +1919,9 @@ export interface CCRuleItem {
|
|
|
1837
1919
|
OptionsArr: string;
|
|
1838
1920
|
}
|
|
1839
1921
|
/**
|
|
1840
|
-
*
|
|
1922
|
+
* DescribeDomainCountInfo请求参数结构体
|
|
1841
1923
|
*/
|
|
1842
|
-
export
|
|
1843
|
-
/**
|
|
1844
|
-
* 资源id
|
|
1845
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1846
|
-
*/
|
|
1847
|
-
ResourceIds?: string;
|
|
1848
|
-
/**
|
|
1849
|
-
* 状态
|
|
1850
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1851
|
-
*/
|
|
1852
|
-
Status?: number;
|
|
1853
|
-
/**
|
|
1854
|
-
* 地域
|
|
1855
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1856
|
-
*/
|
|
1857
|
-
Region?: number;
|
|
1858
|
-
/**
|
|
1859
|
-
* 开始时间
|
|
1860
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1861
|
-
*/
|
|
1862
|
-
BeginTime?: string;
|
|
1863
|
-
/**
|
|
1864
|
-
* 结束时间
|
|
1865
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1866
|
-
*/
|
|
1867
|
-
EndTime?: string;
|
|
1868
|
-
/**
|
|
1869
|
-
* 申请数量
|
|
1870
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1871
|
-
*/
|
|
1872
|
-
InquireNum?: number;
|
|
1873
|
-
/**
|
|
1874
|
-
* 使用数量
|
|
1875
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1876
|
-
*/
|
|
1877
|
-
UsedNum?: number;
|
|
1878
|
-
/**
|
|
1879
|
-
* 续费标志
|
|
1880
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1881
|
-
*/
|
|
1882
|
-
RenewFlag?: number;
|
|
1883
|
-
}
|
|
1924
|
+
export declare type DescribeDomainCountInfoRequest = null;
|
|
1884
1925
|
/**
|
|
1885
1926
|
* DescribeCustomWhiteRule返回参数结构体
|
|
1886
1927
|
*/
|
|
@@ -2080,6 +2121,10 @@ export interface ModifySpartaProtectionRequest {
|
|
|
2080
2121
|
* 是否开启缓存 0-关闭 1-开启
|
|
2081
2122
|
*/
|
|
2082
2123
|
ProxyBuffer?: number;
|
|
2124
|
+
/**
|
|
2125
|
+
* 0: 禁用拨测, 1: 启用拨测。默认启用拨测
|
|
2126
|
+
*/
|
|
2127
|
+
ProbeStatus?: number;
|
|
2083
2128
|
}
|
|
2084
2129
|
/**
|
|
2085
2130
|
* DeleteAttackDownloadRecord请求参数结构体
|
|
@@ -2400,6 +2445,36 @@ export interface DescribeCustomRulesRspRuleListItem {
|
|
|
2400
2445
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2401
2446
|
*/
|
|
2402
2447
|
Source?: string;
|
|
2448
|
+
/**
|
|
2449
|
+
* 定时任务类型
|
|
2450
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2451
|
+
*/
|
|
2452
|
+
JobType?: string;
|
|
2453
|
+
/**
|
|
2454
|
+
* 定时任务配置信息
|
|
2455
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2456
|
+
*/
|
|
2457
|
+
JobDateTime?: JobDateTime;
|
|
2458
|
+
/**
|
|
2459
|
+
* 周期任务粒度
|
|
2460
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2461
|
+
*/
|
|
2462
|
+
CronType?: string;
|
|
2463
|
+
/**
|
|
2464
|
+
* 自定义标签,风控规则用,用来表示是内置规则还是用户自定义的
|
|
2465
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2466
|
+
*/
|
|
2467
|
+
Label?: string;
|
|
2468
|
+
/**
|
|
2469
|
+
* 拦截页面id
|
|
2470
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2471
|
+
*/
|
|
2472
|
+
PageId?: string;
|
|
2473
|
+
/**
|
|
2474
|
+
* 域名
|
|
2475
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2476
|
+
*/
|
|
2477
|
+
Domain?: string;
|
|
2403
2478
|
}
|
|
2404
2479
|
/**
|
|
2405
2480
|
* ModifyAntiInfoLeakRules返回参数结构体
|
|
@@ -2447,12 +2522,12 @@ export interface AddCustomWhiteRuleResponse {
|
|
|
2447
2522
|
/**
|
|
2448
2523
|
* 操作的状态码,如果所有的资源操作成功则返回的是成功的状态码,如果有资源操作失败则需要解析Message的内容来查看哪个资源失败
|
|
2449
2524
|
*/
|
|
2450
|
-
Success
|
|
2525
|
+
Success?: ResponseCode;
|
|
2451
2526
|
/**
|
|
2452
2527
|
* 添加成功的规则ID
|
|
2453
2528
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2454
2529
|
*/
|
|
2455
|
-
RuleId
|
|
2530
|
+
RuleId?: number;
|
|
2456
2531
|
/**
|
|
2457
2532
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2458
2533
|
*/
|
|
@@ -2817,6 +2892,35 @@ export interface AddAntiFakeUrlResponse {
|
|
|
2817
2892
|
*/
|
|
2818
2893
|
RequestId?: string;
|
|
2819
2894
|
}
|
|
2895
|
+
/**
|
|
2896
|
+
* SearchAttackLog返回参数结构体
|
|
2897
|
+
*/
|
|
2898
|
+
export interface SearchAttackLogResponse {
|
|
2899
|
+
/**
|
|
2900
|
+
* 当前返回的攻击日志条数
|
|
2901
|
+
*/
|
|
2902
|
+
Count?: number;
|
|
2903
|
+
/**
|
|
2904
|
+
* 接口升级,此字段无效,默认返回空字符串
|
|
2905
|
+
*/
|
|
2906
|
+
Context?: string;
|
|
2907
|
+
/**
|
|
2908
|
+
* 攻击日志数组条目内容
|
|
2909
|
+
*/
|
|
2910
|
+
Data?: Array<AttackLogInfo>;
|
|
2911
|
+
/**
|
|
2912
|
+
* CLS接口返回内容
|
|
2913
|
+
*/
|
|
2914
|
+
ListOver?: boolean;
|
|
2915
|
+
/**
|
|
2916
|
+
* CLS接口返回内容,标志是否启动新版本索引
|
|
2917
|
+
*/
|
|
2918
|
+
SqlFlag?: boolean;
|
|
2919
|
+
/**
|
|
2920
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2921
|
+
*/
|
|
2922
|
+
RequestId?: string;
|
|
2923
|
+
}
|
|
2820
2924
|
/**
|
|
2821
2925
|
* ModifySpartaProtection返回参数结构体
|
|
2822
2926
|
*/
|
|
@@ -3314,10 +3418,6 @@ export interface DescribeDomainDetailsSaasRequest {
|
|
|
3314
3418
|
*/
|
|
3315
3419
|
InstanceId: string;
|
|
3316
3420
|
}
|
|
3317
|
-
/**
|
|
3318
|
-
* DescribeDomainCountInfo请求参数结构体
|
|
3319
|
-
*/
|
|
3320
|
-
export declare type DescribeDomainCountInfoRequest = null;
|
|
3321
3421
|
/**
|
|
3322
3422
|
* 产品明细
|
|
3323
3423
|
*/
|
|
@@ -3768,6 +3868,11 @@ export interface BatchIpAccessControlItem {
|
|
|
3768
3868
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3769
3869
|
*/
|
|
3770
3870
|
IpList?: Array<string>;
|
|
3871
|
+
/**
|
|
3872
|
+
* 创建时间
|
|
3873
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3874
|
+
*/
|
|
3875
|
+
CreateTime?: number;
|
|
3771
3876
|
}
|
|
3772
3877
|
/**
|
|
3773
3878
|
* 用户规则白名单
|
|
@@ -4665,7 +4770,7 @@ export interface CreateIpAccessControlRequest {
|
|
|
4665
4770
|
*/
|
|
4666
4771
|
Edition?: string;
|
|
4667
4772
|
/**
|
|
4668
|
-
*
|
|
4773
|
+
* 可选值为:batch(批量添加)、bot、cc、custom(非批量添加时的默认值)
|
|
4669
4774
|
*/
|
|
4670
4775
|
SourceType?: string;
|
|
4671
4776
|
/**
|
|
@@ -4882,6 +4987,11 @@ export interface IpAccessControlItem {
|
|
|
4882
4987
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4883
4988
|
*/
|
|
4884
4989
|
IpList?: Array<string>;
|
|
4990
|
+
/**
|
|
4991
|
+
* 规则创建时间
|
|
4992
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4993
|
+
*/
|
|
4994
|
+
CreateTime?: number;
|
|
4885
4995
|
}
|
|
4886
4996
|
/**
|
|
4887
4997
|
* UpsertCCAutoStatus返回参数结构体
|
|
@@ -5085,7 +5195,7 @@ export interface UpsertIpAccessControlRequest {
|
|
|
5085
5195
|
*/
|
|
5086
5196
|
Domain: string;
|
|
5087
5197
|
/**
|
|
5088
|
-
*
|
|
5198
|
+
* IP 参数列表,json数组由IP,source,note,action,valid_ts组成。IP对应配置的IP地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))
|
|
5089
5199
|
*/
|
|
5090
5200
|
Items: Array<string>;
|
|
5091
5201
|
/**
|
|
@@ -5097,7 +5207,7 @@ export interface UpsertIpAccessControlRequest {
|
|
|
5097
5207
|
*/
|
|
5098
5208
|
Edition?: string;
|
|
5099
5209
|
/**
|
|
5100
|
-
*
|
|
5210
|
+
* 可选值为:batch(批量添加)、bot、cc、custom(非批量添加时的默认值)
|
|
5101
5211
|
*/
|
|
5102
5212
|
SourceType?: string;
|
|
5103
5213
|
}
|
|
@@ -5279,11 +5389,11 @@ export interface DescribeCustomRuleListResponse {
|
|
|
5279
5389
|
/**
|
|
5280
5390
|
* 规则详情
|
|
5281
5391
|
*/
|
|
5282
|
-
RuleList
|
|
5392
|
+
RuleList?: Array<DescribeCustomRulesRspRuleListItem>;
|
|
5283
5393
|
/**
|
|
5284
5394
|
* 规则条数
|
|
5285
5395
|
*/
|
|
5286
|
-
TotalCount
|
|
5396
|
+
TotalCount?: string;
|
|
5287
5397
|
/**
|
|
5288
5398
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5289
5399
|
*/
|
|
@@ -5424,6 +5534,21 @@ export interface UserDomainInfo {
|
|
|
5424
5534
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5425
5535
|
*/
|
|
5426
5536
|
CloudType?: string;
|
|
5537
|
+
/**
|
|
5538
|
+
* 标记clbwaf类型
|
|
5539
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5540
|
+
*/
|
|
5541
|
+
AlbType?: string;
|
|
5542
|
+
/**
|
|
5543
|
+
* BOT开关状态
|
|
5544
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5545
|
+
*/
|
|
5546
|
+
BotStatus?: number;
|
|
5547
|
+
/**
|
|
5548
|
+
* API开关状态
|
|
5549
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5550
|
+
*/
|
|
5551
|
+
ApiStatus?: number;
|
|
5427
5552
|
}
|
|
5428
5553
|
/**
|
|
5429
5554
|
* DescribeAntiFakeRules返回参数结构体
|
|
@@ -5587,6 +5712,21 @@ export interface DescribeDomainDetailsClbRequest {
|
|
|
5587
5712
|
*/
|
|
5588
5713
|
InstanceId: string;
|
|
5589
5714
|
}
|
|
5715
|
+
/**
|
|
5716
|
+
* 规则定时任务数据结构
|
|
5717
|
+
*/
|
|
5718
|
+
export interface TimedJob {
|
|
5719
|
+
/**
|
|
5720
|
+
* 开始时间戳,单位为秒
|
|
5721
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5722
|
+
*/
|
|
5723
|
+
StartDateTime?: number;
|
|
5724
|
+
/**
|
|
5725
|
+
* 结束时间戳,单位为秒
|
|
5726
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5727
|
+
*/
|
|
5728
|
+
EndDateTime?: number;
|
|
5729
|
+
}
|
|
5590
5730
|
/**
|
|
5591
5731
|
* clb-waf 域名扩展套餐
|
|
5592
5732
|
*/
|
|
@@ -5667,6 +5807,21 @@ export interface ModifyCustomRuleStatusResponse {
|
|
|
5667
5807
|
*/
|
|
5668
5808
|
RequestId?: string;
|
|
5669
5809
|
}
|
|
5810
|
+
/**
|
|
5811
|
+
* 域名-规则id结构体
|
|
5812
|
+
*/
|
|
5813
|
+
export interface DomainRuleId {
|
|
5814
|
+
/**
|
|
5815
|
+
* 域名
|
|
5816
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5817
|
+
*/
|
|
5818
|
+
Domain?: string;
|
|
5819
|
+
/**
|
|
5820
|
+
* 规则id
|
|
5821
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5822
|
+
*/
|
|
5823
|
+
RuleId?: string;
|
|
5824
|
+
}
|
|
5670
5825
|
/**
|
|
5671
5826
|
* 防护域名端口配置信息
|
|
5672
5827
|
*/
|
|
@@ -5725,6 +5880,10 @@ export interface ModifyCustomRuleStatusRequest {
|
|
|
5725
5880
|
* WAF的版本,clb-waf代表负载均衡WAF、sparta-waf代表SaaS WAF,默认是sparta-waf。
|
|
5726
5881
|
*/
|
|
5727
5882
|
Edition?: string;
|
|
5883
|
+
/**
|
|
5884
|
+
* 规则id
|
|
5885
|
+
*/
|
|
5886
|
+
DomainRuleIdList?: Array<DomainRuleId>;
|
|
5728
5887
|
}
|
|
5729
5888
|
/**
|
|
5730
5889
|
* 用于接口DescribeAccessHistogram 的出参
|
|
@@ -5989,6 +6148,16 @@ export interface InstanceInfo {
|
|
|
5989
6148
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5990
6149
|
*/
|
|
5991
6150
|
LastQpsExceedTime?: string;
|
|
6151
|
+
/**
|
|
6152
|
+
* 小程序安全接入ID数量扩张包
|
|
6153
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6154
|
+
*/
|
|
6155
|
+
MiniExtendPkg?: MiniExtendPkg;
|
|
6156
|
+
/**
|
|
6157
|
+
* 计费项
|
|
6158
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6159
|
+
*/
|
|
6160
|
+
BillingItem?: string;
|
|
5992
6161
|
}
|
|
5993
6162
|
/**
|
|
5994
6163
|
* 设置WAF状态的结构体
|
|
@@ -6322,27 +6491,37 @@ export interface CacheUrlItems {
|
|
|
6322
6491
|
/**
|
|
6323
6492
|
* 标识
|
|
6324
6493
|
*/
|
|
6325
|
-
Id
|
|
6494
|
+
Id?: number;
|
|
6326
6495
|
/**
|
|
6327
6496
|
* 名字
|
|
6328
6497
|
*/
|
|
6329
|
-
Name
|
|
6498
|
+
Name?: string;
|
|
6330
6499
|
/**
|
|
6331
6500
|
* 域名
|
|
6332
6501
|
*/
|
|
6333
|
-
Domain
|
|
6502
|
+
Domain?: string;
|
|
6334
6503
|
/**
|
|
6335
6504
|
* 网址
|
|
6336
6505
|
*/
|
|
6337
|
-
Uri
|
|
6506
|
+
Uri?: string;
|
|
6338
6507
|
/**
|
|
6339
6508
|
* 协议
|
|
6340
6509
|
*/
|
|
6341
|
-
Protocol
|
|
6510
|
+
Protocol?: string;
|
|
6342
6511
|
/**
|
|
6343
6512
|
* 状态
|
|
6344
6513
|
*/
|
|
6345
|
-
Status
|
|
6514
|
+
Status?: number;
|
|
6515
|
+
/**
|
|
6516
|
+
* 修改时间
|
|
6517
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6518
|
+
*/
|
|
6519
|
+
ModifyTime?: string;
|
|
6520
|
+
/**
|
|
6521
|
+
* 创建时间
|
|
6522
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6523
|
+
*/
|
|
6524
|
+
CreateTime?: string;
|
|
6346
6525
|
}
|
|
6347
6526
|
/**
|
|
6348
6527
|
* ModifyWebshellStatus返回参数结构体
|
|
@@ -6523,6 +6702,14 @@ export interface AddCustomWhiteRuleRequest {
|
|
|
6523
6702
|
* 放行的详情
|
|
6524
6703
|
*/
|
|
6525
6704
|
Bypass: string;
|
|
6705
|
+
/**
|
|
6706
|
+
* 定时任务类型
|
|
6707
|
+
*/
|
|
6708
|
+
JobType?: string;
|
|
6709
|
+
/**
|
|
6710
|
+
* 定时任务配置
|
|
6711
|
+
*/
|
|
6712
|
+
JobDateTime?: JobDateTime;
|
|
6526
6713
|
}
|
|
6527
6714
|
/**
|
|
6528
6715
|
* 计费下单接口出入参Goods
|
|
@@ -6636,6 +6823,10 @@ export interface DescribeAccessExportsResponse {
|
|
|
6636
6823
|
* DeleteCustomRule返回参数结构体
|
|
6637
6824
|
*/
|
|
6638
6825
|
export interface DeleteCustomRuleResponse {
|
|
6826
|
+
/**
|
|
6827
|
+
* 操作的状态码,如果所有的资源操作成功则返回的是成功的状态码,如果有资源操作失败则需要解析Message的内容来查看哪个资源失败
|
|
6828
|
+
*/
|
|
6829
|
+
Success?: ResponseCode;
|
|
6639
6830
|
/**
|
|
6640
6831
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6641
6832
|
*/
|
|
@@ -6768,6 +6959,10 @@ export interface UpsertCCRuleRequest {
|
|
|
6768
6959
|
* 规则ID,新增时填0
|
|
6769
6960
|
*/
|
|
6770
6961
|
RuleId?: number;
|
|
6962
|
+
/**
|
|
6963
|
+
* 规则创建时间
|
|
6964
|
+
*/
|
|
6965
|
+
CreateTime?: number;
|
|
6771
6966
|
}
|
|
6772
6967
|
/**
|
|
6773
6968
|
* ModifyAntiInfoLeakRuleStatus请求参数结构体
|
|
@@ -6912,29 +7107,35 @@ export interface UpsertCCAutoStatusRequest {
|
|
|
6912
7107
|
Edition?: string;
|
|
6913
7108
|
}
|
|
6914
7109
|
/**
|
|
6915
|
-
*
|
|
7110
|
+
* DescribeWafAutoDenyRules返回参数结构体
|
|
6916
7111
|
*/
|
|
6917
|
-
export interface
|
|
7112
|
+
export interface DescribeWafAutoDenyRulesResponse {
|
|
6918
7113
|
/**
|
|
6919
|
-
*
|
|
7114
|
+
* 攻击次数阈值
|
|
6920
7115
|
*/
|
|
6921
|
-
|
|
7116
|
+
AttackThreshold?: number;
|
|
6922
7117
|
/**
|
|
6923
|
-
*
|
|
7118
|
+
* 攻击时间阈值
|
|
6924
7119
|
*/
|
|
6925
|
-
|
|
7120
|
+
TimeThreshold?: number;
|
|
6926
7121
|
/**
|
|
6927
|
-
*
|
|
7122
|
+
* 自动封禁时间
|
|
6928
7123
|
*/
|
|
6929
|
-
|
|
7124
|
+
DenyTimeThreshold?: number;
|
|
6930
7125
|
/**
|
|
6931
|
-
*
|
|
7126
|
+
* 自动封禁状态
|
|
6932
7127
|
*/
|
|
6933
|
-
|
|
7128
|
+
DefenseStatus?: number;
|
|
6934
7129
|
/**
|
|
6935
|
-
*
|
|
7130
|
+
* 数据来源Source字段 custom-自定义(默认)、batch-domain-批量域名
|
|
7131
|
+
|
|
7132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6936
7133
|
*/
|
|
6937
|
-
|
|
7134
|
+
Source?: string;
|
|
7135
|
+
/**
|
|
7136
|
+
* 重保护网域名状态
|
|
7137
|
+
*/
|
|
7138
|
+
HWState?: number;
|
|
6938
7139
|
/**
|
|
6939
7140
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6940
7141
|
*/
|
|
@@ -7217,6 +7418,26 @@ export interface ModifyCustomRuleRequest {
|
|
|
7217
7418
|
默认是0
|
|
7218
7419
|
*/
|
|
7219
7420
|
ExpireTime?: number;
|
|
7421
|
+
/**
|
|
7422
|
+
* 定时任务类型
|
|
7423
|
+
*/
|
|
7424
|
+
JobType?: string;
|
|
7425
|
+
/**
|
|
7426
|
+
* 定时任务配置
|
|
7427
|
+
*/
|
|
7428
|
+
JobDateTime?: JobDateTime;
|
|
7429
|
+
/**
|
|
7430
|
+
* 规则来源,判断是不是小程序的
|
|
7431
|
+
*/
|
|
7432
|
+
Source?: string;
|
|
7433
|
+
/**
|
|
7434
|
+
* 开关状态,小程序风控规则的时候传该值
|
|
7435
|
+
*/
|
|
7436
|
+
Status?: number;
|
|
7437
|
+
/**
|
|
7438
|
+
* 拦截页面id
|
|
7439
|
+
*/
|
|
7440
|
+
PageId?: string;
|
|
7220
7441
|
}
|
|
7221
7442
|
/**
|
|
7222
7443
|
* ModifyDomainWhiteRule请求参数结构体
|
|
@@ -7409,6 +7630,11 @@ export interface CCRuleItems {
|
|
|
7409
7630
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7410
7631
|
*/
|
|
7411
7632
|
SessionApplied?: Array<number | bigint>;
|
|
7633
|
+
/**
|
|
7634
|
+
* 创建时间
|
|
7635
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7636
|
+
*/
|
|
7637
|
+
CreateTime?: number;
|
|
7412
7638
|
}
|
|
7413
7639
|
/**
|
|
7414
7640
|
* ModifyDomainIpv6Status请求参数结构体
|
|
@@ -7476,27 +7702,32 @@ export interface RuleList {
|
|
|
7476
7702
|
/**
|
|
7477
7703
|
* 规则Id
|
|
7478
7704
|
*/
|
|
7479
|
-
Id
|
|
7705
|
+
Id?: number;
|
|
7480
7706
|
/**
|
|
7481
7707
|
* 规则列表的id
|
|
7482
7708
|
*/
|
|
7483
|
-
Rules
|
|
7709
|
+
Rules?: Array<number | bigint>;
|
|
7484
7710
|
/**
|
|
7485
7711
|
* 请求url
|
|
7486
7712
|
*/
|
|
7487
|
-
Url
|
|
7713
|
+
Url?: string;
|
|
7488
7714
|
/**
|
|
7489
7715
|
* 请求的方法
|
|
7490
7716
|
*/
|
|
7491
|
-
Function
|
|
7717
|
+
Function?: string;
|
|
7492
7718
|
/**
|
|
7493
7719
|
* 时间戳
|
|
7494
7720
|
*/
|
|
7495
|
-
Time
|
|
7721
|
+
Time?: string;
|
|
7496
7722
|
/**
|
|
7497
7723
|
* 开关状态
|
|
7498
7724
|
*/
|
|
7499
|
-
Status
|
|
7725
|
+
Status?: number;
|
|
7726
|
+
/**
|
|
7727
|
+
* 创建时间
|
|
7728
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7729
|
+
*/
|
|
7730
|
+
CreateTime?: string;
|
|
7500
7731
|
}
|
|
7501
7732
|
/**
|
|
7502
7733
|
* DescribeAttackType请求参数结构体
|
|
@@ -7559,6 +7790,14 @@ export interface ModifyCustomWhiteRuleRequest {
|
|
|
7559
7790
|
* 匹配条件数组
|
|
7560
7791
|
*/
|
|
7561
7792
|
Strategies: Array<Strategy>;
|
|
7793
|
+
/**
|
|
7794
|
+
* 定时任务类型
|
|
7795
|
+
*/
|
|
7796
|
+
JobType?: string;
|
|
7797
|
+
/**
|
|
7798
|
+
* 定时任务配置
|
|
7799
|
+
*/
|
|
7800
|
+
JobDateTime?: JobDateTime;
|
|
7562
7801
|
}
|
|
7563
7802
|
/**
|
|
7564
7803
|
* DeleteCustomWhiteRule请求参数结构体
|
|
@@ -7617,6 +7856,31 @@ export interface DescribeWafThreatenIntelligenceResponse {
|
|
|
7617
7856
|
*/
|
|
7618
7857
|
RequestId?: string;
|
|
7619
7858
|
}
|
|
7859
|
+
/**
|
|
7860
|
+
* 规则周期执行的数据结构
|
|
7861
|
+
*/
|
|
7862
|
+
export interface CronJob {
|
|
7863
|
+
/**
|
|
7864
|
+
* 每个月的几号执行
|
|
7865
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7866
|
+
*/
|
|
7867
|
+
Days?: Array<number | bigint>;
|
|
7868
|
+
/**
|
|
7869
|
+
* 每个星期的星期几执行
|
|
7870
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7871
|
+
*/
|
|
7872
|
+
WDays?: Array<number | bigint>;
|
|
7873
|
+
/**
|
|
7874
|
+
* 开始时间
|
|
7875
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7876
|
+
*/
|
|
7877
|
+
StartTime?: string;
|
|
7878
|
+
/**
|
|
7879
|
+
* 结束时间
|
|
7880
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7881
|
+
*/
|
|
7882
|
+
EndTime?: string;
|
|
7883
|
+
}
|
|
7620
7884
|
/**
|
|
7621
7885
|
* SaaS型WAF域名详情
|
|
7622
7886
|
*/
|
|
@@ -8097,6 +8361,10 @@ export interface AddSpartaProtectionRequest {
|
|
|
8097
8361
|
* 是否开启缓存 0-关闭 1-开启
|
|
8098
8362
|
*/
|
|
8099
8363
|
ProxyBuffer?: number;
|
|
8364
|
+
/**
|
|
8365
|
+
* 0: 禁用拨测, 1: 启用拨测。默认启用拨测
|
|
8366
|
+
*/
|
|
8367
|
+
ProbeStatus?: number;
|
|
8100
8368
|
}
|
|
8101
8369
|
/**
|
|
8102
8370
|
* ModifyModuleStatus返回参数结构体
|
|
@@ -8552,10 +8820,6 @@ export interface AddCustomRuleRequest {
|
|
|
8552
8820
|
* 优先级
|
|
8553
8821
|
*/
|
|
8554
8822
|
SortId: string;
|
|
8555
|
-
/**
|
|
8556
|
-
* 过期时间,单位为秒级时间戳,例如1677254399表示过期时间为2023-02-24 23:59:59. 0表示永不过期
|
|
8557
|
-
*/
|
|
8558
|
-
ExpireTime: string;
|
|
8559
8823
|
/**
|
|
8560
8824
|
* 策略详情
|
|
8561
8825
|
*/
|
|
@@ -8572,6 +8836,10 @@ export interface AddCustomRuleRequest {
|
|
|
8572
8836
|
* 如果动作是重定向,则表示重定向的地址;其他情况可以为空
|
|
8573
8837
|
*/
|
|
8574
8838
|
Redirect?: string;
|
|
8839
|
+
/**
|
|
8840
|
+
* 过期时间,单位为秒级时间戳,例如1677254399表示过期时间为2023-02-24 23:59:59. 0表示永不过期
|
|
8841
|
+
*/
|
|
8842
|
+
ExpireTime?: string;
|
|
8575
8843
|
/**
|
|
8576
8844
|
* WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
|
|
8577
8845
|
*/
|
|
@@ -8584,41 +8852,30 @@ export interface AddCustomRuleRequest {
|
|
|
8584
8852
|
* 添加规则的来源,默认为空
|
|
8585
8853
|
*/
|
|
8586
8854
|
EventId?: string;
|
|
8587
|
-
}
|
|
8588
|
-
/**
|
|
8589
|
-
* DescribeWafAutoDenyRules返回参数结构体
|
|
8590
|
-
*/
|
|
8591
|
-
export interface DescribeWafAutoDenyRulesResponse {
|
|
8592
8855
|
/**
|
|
8593
|
-
*
|
|
8856
|
+
* 规则执行的方式,TimedJob为定时执行,CronJob为周期执行
|
|
8594
8857
|
*/
|
|
8595
|
-
|
|
8858
|
+
JobType?: string;
|
|
8596
8859
|
/**
|
|
8597
|
-
*
|
|
8860
|
+
* 规则执行的时间
|
|
8598
8861
|
*/
|
|
8599
|
-
|
|
8600
|
-
/**
|
|
8601
|
-
* 自动封禁时间
|
|
8602
|
-
*/
|
|
8603
|
-
DenyTimeThreshold?: number;
|
|
8862
|
+
JobDateTime?: JobDateTime;
|
|
8604
8863
|
/**
|
|
8605
|
-
*
|
|
8864
|
+
* 规则来源,判断是不是小程序的
|
|
8606
8865
|
*/
|
|
8607
|
-
|
|
8866
|
+
Source?: string;
|
|
8608
8867
|
/**
|
|
8609
|
-
*
|
|
8610
|
-
|
|
8611
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8868
|
+
* 规则标签,小程序规则用,标识是内置规则还是自定义规则
|
|
8612
8869
|
*/
|
|
8613
|
-
|
|
8870
|
+
Label?: string;
|
|
8614
8871
|
/**
|
|
8615
|
-
*
|
|
8872
|
+
* 开关状态,小程序风控规则的时候传该值
|
|
8616
8873
|
*/
|
|
8617
|
-
|
|
8874
|
+
Status?: number;
|
|
8618
8875
|
/**
|
|
8619
|
-
*
|
|
8876
|
+
* 拦截页面id
|
|
8620
8877
|
*/
|
|
8621
|
-
|
|
8878
|
+
PageId?: string;
|
|
8622
8879
|
}
|
|
8623
8880
|
/**
|
|
8624
8881
|
* DeleteCCRule请求参数结构体
|
|
@@ -9127,6 +9384,51 @@ export interface SearchAccessLogRequest {
|
|
|
9127
9384
|
*/
|
|
9128
9385
|
Page?: number;
|
|
9129
9386
|
}
|
|
9387
|
+
/**
|
|
9388
|
+
* 小程序安全接入ID扩展资源信息
|
|
9389
|
+
*/
|
|
9390
|
+
export interface MiniExtendPkg {
|
|
9391
|
+
/**
|
|
9392
|
+
* 资源id
|
|
9393
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9394
|
+
*/
|
|
9395
|
+
ResourceIds?: string;
|
|
9396
|
+
/**
|
|
9397
|
+
* 状态
|
|
9398
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9399
|
+
*/
|
|
9400
|
+
Status?: number;
|
|
9401
|
+
/**
|
|
9402
|
+
* 地域
|
|
9403
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9404
|
+
*/
|
|
9405
|
+
Region?: number;
|
|
9406
|
+
/**
|
|
9407
|
+
* 开始时间
|
|
9408
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9409
|
+
*/
|
|
9410
|
+
BeginTime?: string;
|
|
9411
|
+
/**
|
|
9412
|
+
* 结束时间
|
|
9413
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9414
|
+
*/
|
|
9415
|
+
EndTime?: string;
|
|
9416
|
+
/**
|
|
9417
|
+
* 购买数量
|
|
9418
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9419
|
+
*/
|
|
9420
|
+
Count?: number;
|
|
9421
|
+
/**
|
|
9422
|
+
* 续费标志
|
|
9423
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9424
|
+
*/
|
|
9425
|
+
RenewFlag?: number;
|
|
9426
|
+
/**
|
|
9427
|
+
* 计费项
|
|
9428
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9429
|
+
*/
|
|
9430
|
+
BillingItem?: string;
|
|
9431
|
+
}
|
|
9130
9432
|
/**
|
|
9131
9433
|
* 唯一定位Domain
|
|
9132
9434
|
*/
|