tencentcloud-sdk-nodejs-waf 4.0.558 → 4.0.559
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 +150 -0
- package/SERVICE_CHANGELOG.md +183 -42
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/services/waf/v20180125/waf_client.ts +44 -6
- package/src/services/waf/v20180125/waf_models.ts +240 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +15 -3
- package/tencentcloud/services/waf/v20180125/waf_client.js +21 -3
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +200 -0
|
@@ -59,6 +59,108 @@ export interface DescribeIpHitItemsResponse {
|
|
|
59
59
|
*/
|
|
60
60
|
RequestId?: string;
|
|
61
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* DescribeCustomRules接口回包中的复杂类型
|
|
64
|
+
*/
|
|
65
|
+
export interface DescribeCustomRulesRspRuleListItem {
|
|
66
|
+
/**
|
|
67
|
+
* 动作类型
|
|
68
|
+
*/
|
|
69
|
+
ActionType: string;
|
|
70
|
+
/**
|
|
71
|
+
* 跳过的策略
|
|
72
|
+
*/
|
|
73
|
+
Bypass: string;
|
|
74
|
+
/**
|
|
75
|
+
* 创建时间
|
|
76
|
+
*/
|
|
77
|
+
CreateTime: string;
|
|
78
|
+
/**
|
|
79
|
+
* 过期时间
|
|
80
|
+
*/
|
|
81
|
+
ExpireTime: string;
|
|
82
|
+
/**
|
|
83
|
+
* 策略名称
|
|
84
|
+
*/
|
|
85
|
+
Name: string;
|
|
86
|
+
/**
|
|
87
|
+
* 重定向地址
|
|
88
|
+
*/
|
|
89
|
+
Redirect: string;
|
|
90
|
+
/**
|
|
91
|
+
* 策略ID
|
|
92
|
+
*/
|
|
93
|
+
RuleId: string;
|
|
94
|
+
/**
|
|
95
|
+
* 优先级
|
|
96
|
+
*/
|
|
97
|
+
SortId: string;
|
|
98
|
+
/**
|
|
99
|
+
* 状态
|
|
100
|
+
*/
|
|
101
|
+
Status: string;
|
|
102
|
+
/**
|
|
103
|
+
* 策略详情
|
|
104
|
+
*/
|
|
105
|
+
Strategies: Array<Strategy>;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* waf模块的规格
|
|
109
|
+
*/
|
|
110
|
+
export interface WafRuleLimit {
|
|
111
|
+
/**
|
|
112
|
+
* 自定义CC的规格
|
|
113
|
+
*/
|
|
114
|
+
CC: number;
|
|
115
|
+
/**
|
|
116
|
+
* 自定义策略的规格
|
|
117
|
+
*/
|
|
118
|
+
CustomRule: number;
|
|
119
|
+
/**
|
|
120
|
+
* 黑白名单的规格
|
|
121
|
+
*/
|
|
122
|
+
IPControl: number;
|
|
123
|
+
/**
|
|
124
|
+
* 信息防泄漏的规格
|
|
125
|
+
*/
|
|
126
|
+
AntiLeak: number;
|
|
127
|
+
/**
|
|
128
|
+
* 防篡改的规格
|
|
129
|
+
*/
|
|
130
|
+
AntiTamper: number;
|
|
131
|
+
/**
|
|
132
|
+
* 紧急CC的规格
|
|
133
|
+
*/
|
|
134
|
+
AutoCC: number;
|
|
135
|
+
/**
|
|
136
|
+
* 地域封禁的规格
|
|
137
|
+
*/
|
|
138
|
+
AreaBan: number;
|
|
139
|
+
/**
|
|
140
|
+
* 自定义CC中配置session
|
|
141
|
+
*/
|
|
142
|
+
CCSession: number;
|
|
143
|
+
/**
|
|
144
|
+
* AI的规格
|
|
145
|
+
*/
|
|
146
|
+
AI: number;
|
|
147
|
+
/**
|
|
148
|
+
* 精准白名单的规格
|
|
149
|
+
*/
|
|
150
|
+
CustomWhite: number;
|
|
151
|
+
/**
|
|
152
|
+
* api安全的规格
|
|
153
|
+
*/
|
|
154
|
+
ApiSecurity: number;
|
|
155
|
+
/**
|
|
156
|
+
* 客户端流量标记的规格
|
|
157
|
+
*/
|
|
158
|
+
ClientMsg: number;
|
|
159
|
+
/**
|
|
160
|
+
* 流量标记的规格
|
|
161
|
+
*/
|
|
162
|
+
TrafficMarking: number;
|
|
163
|
+
}
|
|
62
164
|
/**
|
|
63
165
|
* DescribeUserCdcClbWafRegions请求参数结构体
|
|
64
166
|
*/
|
|
@@ -106,6 +208,23 @@ export interface DescribeFlowTrendRequest {
|
|
|
106
208
|
* DescribeWafAutoDenyStatus请求参数结构体
|
|
107
209
|
*/
|
|
108
210
|
export declare type DescribeWafAutoDenyStatusRequest = null;
|
|
211
|
+
/**
|
|
212
|
+
* DescribeCustomWhiteRule返回参数结构体
|
|
213
|
+
*/
|
|
214
|
+
export interface DescribeCustomWhiteRuleResponse {
|
|
215
|
+
/**
|
|
216
|
+
* 规则详情
|
|
217
|
+
*/
|
|
218
|
+
RuleList: Array<DescribeCustomRulesRspRuleListItem>;
|
|
219
|
+
/**
|
|
220
|
+
* 规则条数
|
|
221
|
+
*/
|
|
222
|
+
TotalCount: string;
|
|
223
|
+
/**
|
|
224
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
225
|
+
*/
|
|
226
|
+
RequestId?: string;
|
|
227
|
+
}
|
|
109
228
|
/**
|
|
110
229
|
* 日志KeyValue对数组,用于搜索访问日志
|
|
111
230
|
*/
|
|
@@ -561,6 +680,35 @@ export interface DescribeAccessExportsRequest {
|
|
|
561
680
|
*/
|
|
562
681
|
Limit?: number;
|
|
563
682
|
}
|
|
683
|
+
/**
|
|
684
|
+
* DescribeCustomWhiteRule请求参数结构体
|
|
685
|
+
*/
|
|
686
|
+
export interface DescribeCustomWhiteRuleRequest {
|
|
687
|
+
/**
|
|
688
|
+
* 域名
|
|
689
|
+
*/
|
|
690
|
+
Domain: string;
|
|
691
|
+
/**
|
|
692
|
+
* 偏移
|
|
693
|
+
*/
|
|
694
|
+
Offset: number;
|
|
695
|
+
/**
|
|
696
|
+
* 容量
|
|
697
|
+
*/
|
|
698
|
+
Limit: number;
|
|
699
|
+
/**
|
|
700
|
+
* 过滤数组,name可以是如下的值: RuleID,RuleName,Match
|
|
701
|
+
*/
|
|
702
|
+
Filters?: Array<FiltersItemNew>;
|
|
703
|
+
/**
|
|
704
|
+
* asc或者desc
|
|
705
|
+
*/
|
|
706
|
+
Order?: string;
|
|
707
|
+
/**
|
|
708
|
+
* exp_ts或者mod_ts
|
|
709
|
+
*/
|
|
710
|
+
By?: string;
|
|
711
|
+
}
|
|
564
712
|
/**
|
|
565
713
|
* DescribeUserClbWafRegions返回参数结构体
|
|
566
714
|
*/
|
|
@@ -1131,6 +1279,19 @@ export interface PostAttackDownloadTaskRequest {
|
|
|
1131
1279
|
*/
|
|
1132
1280
|
Sort?: string;
|
|
1133
1281
|
}
|
|
1282
|
+
/**
|
|
1283
|
+
* DescribePolicyStatus请求参数结构体
|
|
1284
|
+
*/
|
|
1285
|
+
export interface DescribePolicyStatusRequest {
|
|
1286
|
+
/**
|
|
1287
|
+
* 域名
|
|
1288
|
+
*/
|
|
1289
|
+
Domain: string;
|
|
1290
|
+
/**
|
|
1291
|
+
* clb-waf或者saas-waf
|
|
1292
|
+
*/
|
|
1293
|
+
Edition: string;
|
|
1294
|
+
}
|
|
1134
1295
|
/**
|
|
1135
1296
|
* DescribeAccessFastAnalysis请求参数结构体
|
|
1136
1297
|
*/
|
|
@@ -1599,6 +1760,23 @@ export interface SearchAttackLogResponse {
|
|
|
1599
1760
|
*/
|
|
1600
1761
|
RequestId?: string;
|
|
1601
1762
|
}
|
|
1763
|
+
/**
|
|
1764
|
+
* DescribePolicyStatus返回参数结构体
|
|
1765
|
+
*/
|
|
1766
|
+
export interface DescribePolicyStatusResponse {
|
|
1767
|
+
/**
|
|
1768
|
+
* 实例ID
|
|
1769
|
+
*/
|
|
1770
|
+
InstanceId: string;
|
|
1771
|
+
/**
|
|
1772
|
+
* 防护状态
|
|
1773
|
+
*/
|
|
1774
|
+
Status: number;
|
|
1775
|
+
/**
|
|
1776
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1777
|
+
*/
|
|
1778
|
+
RequestId?: string;
|
|
1779
|
+
}
|
|
1602
1780
|
/**
|
|
1603
1781
|
* DescribeInstances请求参数结构体
|
|
1604
1782
|
*/
|
|
@@ -2224,6 +2402,15 @@ export interface DescribeIpHitItemsRequest {
|
|
|
2224
2402
|
*/
|
|
2225
2403
|
Ip?: string;
|
|
2226
2404
|
}
|
|
2405
|
+
/**
|
|
2406
|
+
* DescribeRuleLimit请求参数结构体
|
|
2407
|
+
*/
|
|
2408
|
+
export interface DescribeRuleLimitRequest {
|
|
2409
|
+
/**
|
|
2410
|
+
* 域名
|
|
2411
|
+
*/
|
|
2412
|
+
Domain: string;
|
|
2413
|
+
}
|
|
2227
2414
|
/**
|
|
2228
2415
|
* DescribeAccessIndex接口的出参数
|
|
2229
2416
|
*/
|
|
@@ -2452,6 +2639,19 @@ export interface DownloadAttackRecordInfo {
|
|
|
2452
2639
|
*/
|
|
2453
2640
|
TotalCount: number;
|
|
2454
2641
|
}
|
|
2642
|
+
/**
|
|
2643
|
+
* DescribeRuleLimit返回参数结构体
|
|
2644
|
+
*/
|
|
2645
|
+
export interface DescribeRuleLimitResponse {
|
|
2646
|
+
/**
|
|
2647
|
+
* waf模块的规格
|
|
2648
|
+
*/
|
|
2649
|
+
Res: WafRuleLimit;
|
|
2650
|
+
/**
|
|
2651
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2652
|
+
*/
|
|
2653
|
+
RequestId?: string;
|
|
2654
|
+
}
|
|
2455
2655
|
/**
|
|
2456
2656
|
* DescribeWafThreatenIntelligence请求参数结构体
|
|
2457
2657
|
*/
|