@volcengine/advdefence 1.0.1 → 1.0.3
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 +6 -2
- package/.turbo/turbo-build.log +0 -19
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/rslib.config.ts +0 -26
- package/src/api.ts +0 -514
- package/src/index.ts +0 -14
- package/src/types/add-host-rule-request.ts +0 -174
- package/src/types/add-host-rule-response.ts +0 -22
- package/src/types/attack-flow-for-desc-web-atk-statistics-output.ts +0 -34
- package/src/types/attack-qps-flow-for-desc-web-qps-flow-output.ts +0 -34
- package/src/types/back-src-bps-flow-for-desc-web-bps-flow-output.ts +0 -40
- package/src/types/back-src-flow-for-desc-web-atk-statistics-output.ts +0 -34
- package/src/types/back-src-qps-flow-for-desc-web-qps-flow-output.ts +0 -34
- package/src/types/batch-add-host-rule-request.ts +0 -29
- package/src/types/batch-add-host-rule-response.ts +0 -22
- package/src/types/batch-del-host-rule-request.ts +0 -28
- package/src/types/batch-del-host-rule-response.ts +0 -22
- package/src/types/batch-delete-fwd-rule-request.ts +0 -28
- package/src/types/batch-delete-fwd-rule-response.ts +0 -29
- package/src/types/batch-switch-backup-servers-request.ts +0 -28
- package/src/types/batch-switch-backup-servers-response.ts +0 -22
- package/src/types/batch-upd-host-rule-request.ts +0 -29
- package/src/types/batch-upd-host-rule-response.ts +0 -22
- package/src/types/conf-list-for-batch-add-host-rule-input.ts +0 -187
- package/src/types/conf-list-for-batch-upd-host-rule-input.ts +0 -180
- package/src/types/del-host-rule-request.ts +0 -28
- package/src/types/del-host-rule-response.ts +0 -22
- package/src/types/desc-atk-alarm-threshold-request.ts +0 -28
- package/src/types/desc-atk-alarm-threshold-response.ts +0 -52
- package/src/types/desc-certificate-request.ts +0 -28
- package/src/types/desc-certificate-response.ts +0 -42
- package/src/types/desc-fwd-rule-request.ts +0 -70
- package/src/types/desc-fwd-rule-response.ts +0 -36
- package/src/types/desc-host-rules-request.ts +0 -70
- package/src/types/desc-host-rules-response.ts +0 -36
- package/src/types/desc-instance-list-request.ts +0 -46
- package/src/types/desc-instance-list-response.ts +0 -36
- package/src/types/desc-web-atk-overview-request.ts +0 -40
- package/src/types/desc-web-atk-overview-response.ts +0 -40
- package/src/types/desc-web-atk-statistics-request.ts +0 -40
- package/src/types/desc-web-atk-statistics-response.ts +0 -43
- package/src/types/desc-web-atk-top-src-ip-request.ts +0 -40
- package/src/types/desc-web-atk-top-src-ip-response.ts +0 -46
- package/src/types/desc-web-atk-top-url-request.ts +0 -40
- package/src/types/desc-web-atk-top-url-response.ts +0 -46
- package/src/types/desc-web-bps-flow-request.ts +0 -40
- package/src/types/desc-web-bps-flow-response.ts +0 -29
- package/src/types/desc-web-qps-flow-request.ts +0 -40
- package/src/types/desc-web-qps-flow-response.ts +0 -70
- package/src/types/desc-web-resp-code-request.ts +0 -46
- package/src/types/desc-web-resp-code-response.ts +0 -36
- package/src/types/distribution-for-desc-web-resp-code-output.ts +0 -40
- package/src/types/flow-for-desc-web-resp-code-output.ts +0 -34
- package/src/types/fwd-rule-for-desc-fwd-rule-output.ts +0 -88
- package/src/types/get-fwd-rule-lip-list-request.ts +0 -28
- package/src/types/get-fwd-rule-lip-list-response.ts +0 -34
- package/src/types/get-host-def-status-request.ts +0 -28
- package/src/types/get-host-def-status-response.ts +0 -46
- package/src/types/get-web-def-attack-log-request.ts +0 -82
- package/src/types/get-web-def-attack-log-response.ts +0 -203
- package/src/types/in-qps-flow-for-desc-web-qps-flow-output.ts +0 -34
- package/src/types/in-query-flow-for-desc-web-atk-statistics-output.ts +0 -34
- package/src/types/index.ts +0 -89
- package/src/types/ins-list-for-desc-instance-list-output.ts +0 -172
- package/src/types/other-cert-list-for-desc-certificate-output.ts +0 -40
- package/src/types/page-info-for-desc-fwd-rule-output.ts +0 -46
- package/src/types/page-info-for-desc-host-rules-output.ts +0 -46
- package/src/types/page-info-for-desc-instance-list-output.ts +0 -46
- package/src/types/peak-attack-qps-flow-for-desc-web-qps-flow-output.ts +0 -34
- package/src/types/peak-back-src-qps-flow-for-desc-web-qps-flow-output.ts +0 -34
- package/src/types/peak-in-qps-flow-for-desc-web-qps-flow-output.ts +0 -34
- package/src/types/proto-port-for-batch-add-host-rule-input.ts +0 -34
- package/src/types/proxy-set-header-for-add-host-rule-input.ts +0 -34
- package/src/types/proxy-set-header-for-batch-add-host-rule-input.ts +0 -34
- package/src/types/proxy-set-header-for-batch-upd-host-rule-input.ts +0 -34
- package/src/types/proxy-set-header-for-desc-host-rules-output.ts +0 -34
- package/src/types/proxy-set-header-for-upd-host-rule-input.ts +0 -34
- package/src/types/recommend-cert-list-for-desc-certificate-output.ts +0 -40
- package/src/types/result-for-desc-fwd-rule-output.ts +0 -41
- package/src/types/result-for-desc-host-rules-output.ts +0 -41
- package/src/types/result-for-desc-instance-list-output.ts +0 -35
- package/src/types/ret-for-batch-delete-fwd-rule-output.ts +0 -40
- package/src/types/rule-detail-for-get-web-def-attack-log-output.ts +0 -34
- package/src/types/rule-list-for-desc-host-rules-output.ts +0 -240
- package/src/types/server-for-batch-add-host-rule-input.ts +0 -52
- package/src/types/server-for-batch-upd-host-rule-input.ts +0 -52
- package/src/types/server-for-desc-host-rules-output.ts +0 -52
- package/src/types/server-for-upd-host-rule-input.ts +0 -52
- package/src/types/servers-for-add-host-rule-input.ts +0 -52
- package/src/types/set-def-switch-request.ts +0 -34
- package/src/types/set-def-switch-response.ts +0 -22
- package/src/types/trend-for-desc-web-resp-code-output.ts +0 -35
- package/src/types/upd-host-rule-request.ts +0 -174
- package/src/types/upd-host-rule-response.ts +0 -22
- package/src/types/update-atk-alarm-threshold-request.ts +0 -46
- package/src/types/update-atk-alarm-threshold-response.ts +0 -22
- package/tsconfig.json +0 -12
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* advdefence
|
|
5
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
-
*
|
|
7
|
-
* OpenAPI spec version: common-version
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface SetDefSwitchRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface SetDefSwitchRequest {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof SetDefSwitchRequest
|
|
26
|
-
*/
|
|
27
|
-
CcEnable: number;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof SetDefSwitchRequest
|
|
32
|
-
*/
|
|
33
|
-
Host: string;
|
|
34
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* advdefence
|
|
5
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
-
*
|
|
7
|
-
* OpenAPI spec version: common-version
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface SetDefSwitchResponse
|
|
20
|
-
*/
|
|
21
|
-
export interface SetDefSwitchResponse {
|
|
22
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* advdefence
|
|
5
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
-
*
|
|
7
|
-
* OpenAPI spec version: common-version
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { FlowForDescWebRespCodeOutput } from './flow-for-desc-web-resp-code-output';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface TrendForDescWebRespCodeOutput
|
|
21
|
-
*/
|
|
22
|
-
export interface TrendForDescWebRespCodeOutput {
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @type {Array<FlowForDescWebRespCodeOutput>}
|
|
26
|
-
* @memberof TrendForDescWebRespCodeOutput
|
|
27
|
-
*/
|
|
28
|
-
Flow?: Array<FlowForDescWebRespCodeOutput>;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof TrendForDescWebRespCodeOutput
|
|
33
|
-
*/
|
|
34
|
-
RespCode?: string;
|
|
35
|
-
}
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* advdefence
|
|
5
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
-
*
|
|
7
|
-
* OpenAPI spec version: common-version
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { ProxySetHeaderForUpdHostRuleInput } from './proxy-set-header-for-upd-host-rule-input';
|
|
16
|
-
import { ServerForUpdHostRuleInput } from './server-for-upd-host-rule-input';
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface UpdHostRuleRequest
|
|
22
|
-
*/
|
|
23
|
-
export interface UpdHostRuleRequest {
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof UpdHostRuleRequest
|
|
28
|
-
*/
|
|
29
|
-
AccessMode: number;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof UpdHostRuleRequest
|
|
34
|
-
*/
|
|
35
|
-
AllSSLCipher?: number;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof UpdHostRuleRequest
|
|
40
|
-
*/
|
|
41
|
-
BackUpStatus: number;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof UpdHostRuleRequest
|
|
46
|
-
*/
|
|
47
|
-
ChunkMode: number;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof UpdHostRuleRequest
|
|
52
|
-
*/
|
|
53
|
-
ClientMaxBodySize: number;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @type {Array<string>}
|
|
57
|
-
* @memberof UpdHostRuleRequest
|
|
58
|
-
*/
|
|
59
|
-
DefIp?: Array<string>;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof UpdHostRuleRequest
|
|
64
|
-
*/
|
|
65
|
-
GzipMode: number;
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof UpdHostRuleRequest
|
|
70
|
-
*/
|
|
71
|
-
Host: string;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof UpdHostRuleRequest
|
|
76
|
-
*/
|
|
77
|
-
Http2: number;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @type {number}
|
|
81
|
-
* @memberof UpdHostRuleRequest
|
|
82
|
-
*/
|
|
83
|
-
KeepAliveRequests: number;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @type {number}
|
|
87
|
-
* @memberof UpdHostRuleRequest
|
|
88
|
-
*/
|
|
89
|
-
KeepAliveTimeOut: number;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof UpdHostRuleRequest
|
|
94
|
-
*/
|
|
95
|
-
LBAlgorithm: string;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @type {number}
|
|
99
|
-
* @memberof UpdHostRuleRequest
|
|
100
|
-
*/
|
|
101
|
-
ProtoFollow: number;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @type {Array<string>}
|
|
105
|
-
* @memberof UpdHostRuleRequest
|
|
106
|
-
*/
|
|
107
|
-
Protocols?: Array<string>;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* @type {number}
|
|
111
|
-
* @memberof UpdHostRuleRequest
|
|
112
|
-
*/
|
|
113
|
-
ProxyConnectTimeOut: number;
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @type {number}
|
|
117
|
-
* @memberof UpdHostRuleRequest
|
|
118
|
-
*/
|
|
119
|
-
ProxyKeepAliveRequests: number;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* @type {number}
|
|
123
|
-
* @memberof UpdHostRuleRequest
|
|
124
|
-
*/
|
|
125
|
-
ProxyKeepAliveTimeOut: number;
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @type {number}
|
|
129
|
-
* @memberof UpdHostRuleRequest
|
|
130
|
-
*/
|
|
131
|
-
ProxyReadTimeOut: number;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* @type {number}
|
|
135
|
-
* @memberof UpdHostRuleRequest
|
|
136
|
-
*/
|
|
137
|
-
ProxyRetry: number;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* @type {number}
|
|
141
|
-
* @memberof UpdHostRuleRequest
|
|
142
|
-
*/
|
|
143
|
-
ProxySendTimeOut: number;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* @type {Array<ProxySetHeaderForUpdHostRuleInput>}
|
|
147
|
-
* @memberof UpdHostRuleRequest
|
|
148
|
-
*/
|
|
149
|
-
ProxySetHeader?: Array<ProxySetHeaderForUpdHostRuleInput>;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* @type {Array<string>}
|
|
153
|
-
* @memberof UpdHostRuleRequest
|
|
154
|
-
*/
|
|
155
|
-
SSLCiphers?: Array<string>;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* @type {Array<string>}
|
|
159
|
-
* @memberof UpdHostRuleRequest
|
|
160
|
-
*/
|
|
161
|
-
SSLProtocols?: Array<string>;
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* @type {Array<ServerForUpdHostRuleInput>}
|
|
165
|
-
* @memberof UpdHostRuleRequest
|
|
166
|
-
*/
|
|
167
|
-
Servers?: Array<ServerForUpdHostRuleInput>;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* @type {string}
|
|
171
|
-
* @memberof UpdHostRuleRequest
|
|
172
|
-
*/
|
|
173
|
-
UserCertId: string;
|
|
174
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* advdefence
|
|
5
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
-
*
|
|
7
|
-
* OpenAPI spec version: common-version
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface UpdHostRuleResponse
|
|
20
|
-
*/
|
|
21
|
-
export interface UpdHostRuleResponse {
|
|
22
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* advdefence
|
|
5
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
-
*
|
|
7
|
-
* OpenAPI spec version: common-version
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface UpdateAtkAlarmThresholdRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface UpdateAtkAlarmThresholdRequest {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof UpdateAtkAlarmThresholdRequest
|
|
26
|
-
*/
|
|
27
|
-
BandWidth?: number;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof UpdateAtkAlarmThresholdRequest
|
|
32
|
-
*/
|
|
33
|
-
InstanceIp: string;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof UpdateAtkAlarmThresholdRequest
|
|
38
|
-
*/
|
|
39
|
-
Pps?: number;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof UpdateAtkAlarmThresholdRequest
|
|
44
|
-
*/
|
|
45
|
-
ThresType?: number;
|
|
46
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* advdefence
|
|
5
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
-
*
|
|
7
|
-
* OpenAPI spec version: common-version
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface UpdateAtkAlarmThresholdResponse
|
|
20
|
-
*/
|
|
21
|
-
export interface UpdateAtkAlarmThresholdResponse {
|
|
22
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"outDir": "./dist/types",
|
|
5
|
-
"rootDir": "./src"
|
|
6
|
-
},
|
|
7
|
-
"include": ["src/**/*"],
|
|
8
|
-
"exclude": ["node_modules", "dist", "test"],
|
|
9
|
-
"references": [
|
|
10
|
-
{ "path": "../../packages/sdk-core" }
|
|
11
|
-
]
|
|
12
|
-
}
|