@alicloud/waf-openapi20211001 5.7.0 → 6.0.1
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/dist/client.d.ts +15 -15
- package/dist/client.js +90 -60
- package/dist/client.js.map +1 -1
- package/dist/models/DeleteApisecEventsRequest.d.ts +5 -0
- package/dist/models/DeleteApisecEventsRequest.js +2 -0
- package/dist/models/DeleteApisecEventsRequest.js.map +1 -1
- package/dist/models/DeleteCloudResourceRequest.d.ts +7 -6
- package/dist/models/DeleteCloudResourceRequest.js +2 -0
- package/dist/models/DeleteCloudResourceRequest.js.map +1 -1
- package/dist/models/DescribeAbnormalCloudResourcesResponseBody.d.ts +1 -0
- package/dist/models/DescribeAbnormalCloudResourcesResponseBody.js +2 -0
- package/dist/models/DescribeAbnormalCloudResourcesResponseBody.js.map +1 -1
- package/dist/models/DescribeApisecApiResourcesResponseBody.d.ts +5 -0
- package/dist/models/DescribeApisecApiResourcesResponseBody.js +2 -0
- package/dist/models/DescribeApisecApiResourcesResponseBody.js.map +1 -1
- package/dist/models/{CreateMajorProtectionBlackIpV2request.d.ts → DescribeApisecEventDetailRequest.d.ts} +14 -28
- package/dist/models/{CreateMajorProtectionBlackIpV2request.js → DescribeApisecEventDetailRequest.js} +12 -14
- package/dist/models/DescribeApisecEventDetailRequest.js.map +1 -0
- package/dist/models/{CreateMajorProtectionBlackIpV2response.d.ts → DescribeApisecEventDetailResponse.d.ts} +3 -3
- package/dist/models/{CreateMajorProtectionBlackIpV2response.js → DescribeApisecEventDetailResponse.js} +6 -6
- package/dist/models/DescribeApisecEventDetailResponse.js.map +1 -0
- package/dist/models/DescribeApisecEventDetailResponseBody.d.ts +74 -0
- package/dist/models/{CreateMajorProtectionBlackIpV2responseBody.js → DescribeApisecEventDetailResponseBody.js} +31 -4
- package/dist/models/DescribeApisecEventDetailResponseBody.js.map +1 -0
- package/dist/models/DescribeApisecEventsRequest.d.ts +10 -0
- package/dist/models/DescribeApisecEventsRequest.js +4 -0
- package/dist/models/DescribeApisecEventsRequest.js.map +1 -1
- package/dist/models/DescribeApisecEventsResponseBody.d.ts +1 -0
- package/dist/models/DescribeApisecEventsResponseBody.js +5 -0
- package/dist/models/DescribeApisecEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeApisecStatisticsRequest.d.ts +8 -0
- package/dist/models/DescribeApisecStatisticsRequest.js.map +1 -1
- package/dist/models/DescribeApisecStatisticsResponseBody.d.ts +17 -0
- package/dist/models/DescribeApisecStatisticsResponseBody.js +2 -0
- package/dist/models/DescribeApisecStatisticsResponseBody.js.map +1 -1
- package/dist/models/DescribeCloudResourceAccessPortDetailsResponseBody.d.ts +1 -0
- package/dist/models/DescribeCloudResourceAccessPortDetailsResponseBody.js +2 -0
- package/dist/models/DescribeCloudResourceAccessPortDetailsResponseBody.js.map +1 -1
- package/dist/models/DescribeSensitiveRequestLogRequest.d.ts +5 -0
- package/dist/models/DescribeSensitiveRequestLogRequest.js +2 -0
- package/dist/models/DescribeSensitiveRequestLogRequest.js.map +1 -1
- package/dist/models/DescribeSensitiveRequestLogResponseBody.d.ts +5 -0
- package/dist/models/DescribeSensitiveRequestLogResponseBody.js +2 -0
- package/dist/models/DescribeSensitiveRequestLogResponseBody.js.map +1 -1
- package/dist/models/DescribeUserEventTrendRequest.d.ts +5 -0
- package/dist/models/DescribeUserEventTrendRequest.js +2 -0
- package/dist/models/DescribeUserEventTrendRequest.js.map +1 -1
- package/dist/models/DescribeUserEventTrendResponseBody.d.ts +2 -0
- package/dist/models/DescribeUserEventTrendResponseBody.js.map +1 -1
- package/dist/models/DescribeUserEventTypeRequest.d.ts +5 -0
- package/dist/models/DescribeUserEventTypeRequest.js +2 -0
- package/dist/models/DescribeUserEventTypeRequest.js.map +1 -1
- package/dist/models/ModifyApisecEventsRequest.d.ts +5 -0
- package/dist/models/ModifyApisecEventsRequest.js +2 -0
- package/dist/models/ModifyApisecEventsRequest.js.map +1 -1
- package/dist/models/ModifyCloudResourceCertRequest.d.ts +7 -9
- package/dist/models/ModifyCloudResourceCertRequest.js +2 -0
- package/dist/models/ModifyCloudResourceCertRequest.js.map +1 -1
- package/dist/models/ModifyCloudResourceRequest.d.ts +7 -6
- package/dist/models/ModifyCloudResourceRequest.js +2 -0
- package/dist/models/ModifyCloudResourceRequest.js.map +1 -1
- package/dist/models/ModifyCloudResourceShrinkRequest.d.ts +1 -0
- package/dist/models/ModifyCloudResourceShrinkRequest.js +2 -0
- package/dist/models/ModifyCloudResourceShrinkRequest.js.map +1 -1
- package/dist/models/ReCreateCloudResourceRequest.d.ts +7 -9
- package/dist/models/ReCreateCloudResourceRequest.js +2 -0
- package/dist/models/ReCreateCloudResourceRequest.js.map +1 -1
- package/dist/models/model.d.ts +3 -3
- package/dist/models/model.js +9 -9
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +110 -70
- package/src/models/DeleteApisecEventsRequest.ts +7 -0
- package/src/models/DeleteCloudResourceRequest.ts +9 -6
- package/src/models/DescribeAbnormalCloudResourcesResponseBody.ts +3 -0
- package/src/models/DescribeApisecApiResourcesResponseBody.ts +7 -0
- package/src/models/{CreateMajorProtectionBlackIpV2request.ts → DescribeApisecEventDetailRequest.ts} +22 -38
- package/src/models/{CreateMajorProtectionBlackIpV2response.ts → DescribeApisecEventDetailResponse.ts} +4 -4
- package/src/models/DescribeApisecEventDetailResponseBody.ts +114 -0
- package/src/models/DescribeApisecEventsRequest.ts +14 -0
- package/src/models/DescribeApisecEventsResponseBody.ts +6 -0
- package/src/models/DescribeApisecStatisticsRequest.ts +8 -0
- package/src/models/DescribeApisecStatisticsResponseBody.ts +19 -0
- package/src/models/DescribeCloudResourceAccessPortDetailsResponseBody.ts +3 -0
- package/src/models/DescribeSensitiveRequestLogRequest.ts +7 -0
- package/src/models/DescribeSensitiveRequestLogResponseBody.ts +7 -0
- package/src/models/DescribeUserEventTrendRequest.ts +7 -0
- package/src/models/DescribeUserEventTrendResponseBody.ts +2 -0
- package/src/models/DescribeUserEventTypeRequest.ts +7 -0
- package/src/models/ModifyApisecEventsRequest.ts +7 -0
- package/src/models/ModifyCloudResourceCertRequest.ts +9 -9
- package/src/models/ModifyCloudResourceRequest.ts +9 -6
- package/src/models/ModifyCloudResourceShrinkRequest.ts +3 -0
- package/src/models/ReCreateCloudResourceRequest.ts +9 -9
- package/src/models/model.ts +3 -3
- package/dist/models/CreateMajorProtectionBlackIpV2request.js.map +0 -1
- package/dist/models/CreateMajorProtectionBlackIpV2response.js.map +0 -1
- package/dist/models/CreateMajorProtectionBlackIpV2responseBody.d.ts +0 -18
- package/dist/models/CreateMajorProtectionBlackIpV2responseBody.js.map +0 -1
- package/src/models/CreateMajorProtectionBlackIpV2responseBody.ts +0 -31
|
@@ -11,6 +11,11 @@ export class DescribeApisecApiResourcesResponseBodyData extends $dara.Model {
|
|
|
11
11
|
* 2
|
|
12
12
|
*/
|
|
13
13
|
abnormalNum?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 1
|
|
17
|
+
*/
|
|
18
|
+
accountEventNum?: number;
|
|
14
19
|
/**
|
|
15
20
|
* @remarks
|
|
16
21
|
* The total number of calls to this API in the previous 30 days.
|
|
@@ -225,6 +230,7 @@ export class DescribeApisecApiResourcesResponseBodyData extends $dara.Model {
|
|
|
225
230
|
static names(): { [key: string]: string } {
|
|
226
231
|
return {
|
|
227
232
|
abnormalNum: 'AbnormalNum',
|
|
233
|
+
accountEventNum: 'AccountEventNum',
|
|
228
234
|
allCnt: 'AllCnt',
|
|
229
235
|
apiFormat: 'ApiFormat',
|
|
230
236
|
apiId: 'ApiId',
|
|
@@ -253,6 +259,7 @@ export class DescribeApisecApiResourcesResponseBodyData extends $dara.Model {
|
|
|
253
259
|
static types(): { [key: string]: any } {
|
|
254
260
|
return {
|
|
255
261
|
abnormalNum: 'number',
|
|
262
|
+
accountEventNum: 'number',
|
|
256
263
|
allCnt: 'number',
|
|
257
264
|
apiFormat: 'string',
|
|
258
265
|
apiId: 'string',
|
package/src/models/{CreateMajorProtectionBlackIpV2request.ts → DescribeApisecEventDetailRequest.ts}
RENAMED
|
@@ -2,36 +2,38 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
export class
|
|
5
|
+
export class DescribeApisecEventDetailRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @example
|
|
8
|
-
*
|
|
8
|
+
* 428
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
clusterId?: string;
|
|
11
11
|
/**
|
|
12
|
-
* @remarks
|
|
13
|
-
* This parameter is required.
|
|
14
|
-
*
|
|
15
12
|
* @example
|
|
16
|
-
*
|
|
13
|
+
* event_info
|
|
17
14
|
*/
|
|
18
|
-
|
|
15
|
+
detailType?: string;
|
|
19
16
|
/**
|
|
20
17
|
* @remarks
|
|
21
18
|
* This parameter is required.
|
|
22
19
|
*
|
|
23
20
|
* @example
|
|
24
|
-
*
|
|
21
|
+
* 18ba94fea9***e66ba0557b7b91
|
|
25
22
|
*/
|
|
26
|
-
|
|
23
|
+
eventId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* ip
|
|
27
|
+
*/
|
|
28
|
+
eventScope?: string;
|
|
27
29
|
/**
|
|
28
30
|
* @remarks
|
|
29
31
|
* This parameter is required.
|
|
30
32
|
*
|
|
31
33
|
* @example
|
|
32
|
-
*
|
|
34
|
+
* waf_elasticity-cn-0xldbqtm005
|
|
33
35
|
*/
|
|
34
|
-
|
|
36
|
+
instanceId?: string;
|
|
35
37
|
/**
|
|
36
38
|
* @example
|
|
37
39
|
* cn-hangzhou
|
|
@@ -42,45 +44,27 @@ export class CreateMajorProtectionBlackIpV2Request extends $dara.Model {
|
|
|
42
44
|
* rg-acfm***q
|
|
43
45
|
*/
|
|
44
46
|
resourceManagerResourceGroupId?: string;
|
|
45
|
-
/**
|
|
46
|
-
* @remarks
|
|
47
|
-
* This parameter is required.
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* 12399
|
|
51
|
-
*/
|
|
52
|
-
ruleId?: number;
|
|
53
|
-
/**
|
|
54
|
-
* @remarks
|
|
55
|
-
* This parameter is required.
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* 2221
|
|
59
|
-
*/
|
|
60
|
-
templateId?: number;
|
|
61
47
|
static names(): { [key: string]: string } {
|
|
62
48
|
return {
|
|
63
|
-
|
|
64
|
-
|
|
49
|
+
clusterId: 'ClusterId',
|
|
50
|
+
detailType: 'DetailType',
|
|
51
|
+
eventId: 'EventId',
|
|
52
|
+
eventScope: 'EventScope',
|
|
65
53
|
instanceId: 'InstanceId',
|
|
66
|
-
ipList: 'IpList',
|
|
67
54
|
regionId: 'RegionId',
|
|
68
55
|
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
69
|
-
ruleId: 'RuleId',
|
|
70
|
-
templateId: 'TemplateId',
|
|
71
56
|
};
|
|
72
57
|
}
|
|
73
58
|
|
|
74
59
|
static types(): { [key: string]: any } {
|
|
75
60
|
return {
|
|
76
|
-
|
|
77
|
-
|
|
61
|
+
clusterId: 'string',
|
|
62
|
+
detailType: 'string',
|
|
63
|
+
eventId: 'string',
|
|
64
|
+
eventScope: 'string',
|
|
78
65
|
instanceId: 'string',
|
|
79
|
-
ipList: 'string',
|
|
80
66
|
regionId: 'string',
|
|
81
67
|
resourceManagerResourceGroupId: 'string',
|
|
82
|
-
ruleId: 'number',
|
|
83
|
-
templateId: 'number',
|
|
84
68
|
};
|
|
85
69
|
}
|
|
86
70
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
-
import {
|
|
3
|
+
import { DescribeApisecEventDetailResponseBody } from "./DescribeApisecEventDetailResponseBody";
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
export class
|
|
6
|
+
export class DescribeApisecEventDetailResponse extends $dara.Model {
|
|
7
7
|
headers?: { [key: string]: string };
|
|
8
8
|
statusCode?: number;
|
|
9
|
-
body?:
|
|
9
|
+
body?: DescribeApisecEventDetailResponseBody;
|
|
10
10
|
static names(): { [key: string]: string } {
|
|
11
11
|
return {
|
|
12
12
|
headers: 'headers',
|
|
@@ -19,7 +19,7 @@ export class CreateMajorProtectionBlackIpV2Response extends $dara.Model {
|
|
|
19
19
|
return {
|
|
20
20
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
21
|
statusCode: 'number',
|
|
22
|
-
body:
|
|
22
|
+
body: DescribeApisecEventDetailResponseBody,
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeApisecEventDetailResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 345
|
|
9
|
+
*/
|
|
10
|
+
attackCnt?: string;
|
|
11
|
+
attackerList?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* {\\"location\\":[\\"FR\\",\\"CN\\"],\\"location_type\\":\\"country\\"}
|
|
15
|
+
*/
|
|
16
|
+
detailValue?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* 1683703260
|
|
20
|
+
*/
|
|
21
|
+
endTs?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 18ba94fea9***e66ba0557b7b91
|
|
25
|
+
*/
|
|
26
|
+
eventId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* low
|
|
30
|
+
*/
|
|
31
|
+
eventLevel?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* ip
|
|
35
|
+
*/
|
|
36
|
+
eventScope?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* ObtainSensitiveUnauthorized
|
|
40
|
+
*/
|
|
41
|
+
eventTag?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* already confirmed.
|
|
45
|
+
*/
|
|
46
|
+
note?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* custom
|
|
50
|
+
*/
|
|
51
|
+
origin?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* D7861F61-5B61-46CE-A47C-6B19160D5EB0
|
|
55
|
+
*/
|
|
56
|
+
requestId?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* 1683648000
|
|
60
|
+
*/
|
|
61
|
+
startTs?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* toBeConfirmed
|
|
65
|
+
*/
|
|
66
|
+
userStatus?: string;
|
|
67
|
+
static names(): { [key: string]: string } {
|
|
68
|
+
return {
|
|
69
|
+
attackCnt: 'AttackCnt',
|
|
70
|
+
attackerList: 'AttackerList',
|
|
71
|
+
detailValue: 'DetailValue',
|
|
72
|
+
endTs: 'EndTs',
|
|
73
|
+
eventId: 'EventId',
|
|
74
|
+
eventLevel: 'EventLevel',
|
|
75
|
+
eventScope: 'EventScope',
|
|
76
|
+
eventTag: 'EventTag',
|
|
77
|
+
note: 'Note',
|
|
78
|
+
origin: 'Origin',
|
|
79
|
+
requestId: 'RequestId',
|
|
80
|
+
startTs: 'StartTs',
|
|
81
|
+
userStatus: 'UserStatus',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
static types(): { [key: string]: any } {
|
|
86
|
+
return {
|
|
87
|
+
attackCnt: 'string',
|
|
88
|
+
attackerList: { 'type': 'array', 'itemType': 'string' },
|
|
89
|
+
detailValue: 'string',
|
|
90
|
+
endTs: 'string',
|
|
91
|
+
eventId: 'string',
|
|
92
|
+
eventLevel: 'string',
|
|
93
|
+
eventScope: 'string',
|
|
94
|
+
eventTag: 'string',
|
|
95
|
+
note: 'string',
|
|
96
|
+
origin: 'string',
|
|
97
|
+
requestId: 'string',
|
|
98
|
+
startTs: 'string',
|
|
99
|
+
userStatus: 'string',
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
validate() {
|
|
104
|
+
if(Array.isArray(this.attackerList)) {
|
|
105
|
+
$dara.Model.validateArray(this.attackerList);
|
|
106
|
+
}
|
|
107
|
+
super.validate();
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
constructor(map?: { [key: string]: any }) {
|
|
111
|
+
super(map);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeApisecEventsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1818743389962696
|
|
9
|
+
*/
|
|
10
|
+
account?: string;
|
|
6
11
|
/**
|
|
7
12
|
* @remarks
|
|
8
13
|
* The API.
|
|
@@ -75,6 +80,11 @@ export class DescribeApisecEventsRequest extends $dara.Model {
|
|
|
75
80
|
* low
|
|
76
81
|
*/
|
|
77
82
|
eventLevel?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @example
|
|
85
|
+
* ip
|
|
86
|
+
*/
|
|
87
|
+
eventScope?: string;
|
|
78
88
|
/**
|
|
79
89
|
* @remarks
|
|
80
90
|
* The type of the event.
|
|
@@ -196,6 +206,7 @@ export class DescribeApisecEventsRequest extends $dara.Model {
|
|
|
196
206
|
userStatus?: string;
|
|
197
207
|
static names(): { [key: string]: string } {
|
|
198
208
|
return {
|
|
209
|
+
account: 'Account',
|
|
199
210
|
apiFormat: 'ApiFormat',
|
|
200
211
|
apiId: 'ApiId',
|
|
201
212
|
apiTag: 'ApiTag',
|
|
@@ -204,6 +215,7 @@ export class DescribeApisecEventsRequest extends $dara.Model {
|
|
|
204
215
|
endTs: 'EndTs',
|
|
205
216
|
eventId: 'EventId',
|
|
206
217
|
eventLevel: 'EventLevel',
|
|
218
|
+
eventScope: 'EventScope',
|
|
207
219
|
eventTag: 'EventTag',
|
|
208
220
|
instanceId: 'InstanceId',
|
|
209
221
|
matchedHost: 'MatchedHost',
|
|
@@ -221,6 +233,7 @@ export class DescribeApisecEventsRequest extends $dara.Model {
|
|
|
221
233
|
|
|
222
234
|
static types(): { [key: string]: any } {
|
|
223
235
|
return {
|
|
236
|
+
account: 'string',
|
|
224
237
|
apiFormat: 'string',
|
|
225
238
|
apiId: 'string',
|
|
226
239
|
apiTag: 'string',
|
|
@@ -229,6 +242,7 @@ export class DescribeApisecEventsRequest extends $dara.Model {
|
|
|
229
242
|
endTs: 'number',
|
|
230
243
|
eventId: 'string',
|
|
231
244
|
eventLevel: 'string',
|
|
245
|
+
eventScope: 'string',
|
|
232
246
|
eventTag: 'string',
|
|
233
247
|
instanceId: 'string',
|
|
234
248
|
matchedHost: 'string',
|
|
@@ -80,6 +80,7 @@ export class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
80
80
|
* The source IP addresses of the attacks.
|
|
81
81
|
*/
|
|
82
82
|
attackIps?: string[];
|
|
83
|
+
attackerList?: string[];
|
|
83
84
|
/**
|
|
84
85
|
* @remarks
|
|
85
86
|
* The end of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.
|
|
@@ -231,6 +232,7 @@ export class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
231
232
|
attackIp: 'AttackIp',
|
|
232
233
|
attackIpInfo: 'AttackIpInfo',
|
|
233
234
|
attackIps: 'AttackIps',
|
|
235
|
+
attackerList: 'AttackerList',
|
|
234
236
|
endTs: 'EndTs',
|
|
235
237
|
eventId: 'EventId',
|
|
236
238
|
eventInfo: 'EventInfo',
|
|
@@ -260,6 +262,7 @@ export class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
260
262
|
attackIp: 'string',
|
|
261
263
|
attackIpInfo: 'string',
|
|
262
264
|
attackIps: { 'type': 'array', 'itemType': 'string' },
|
|
265
|
+
attackerList: { 'type': 'array', 'itemType': 'string' },
|
|
263
266
|
endTs: 'number',
|
|
264
267
|
eventId: 'string',
|
|
265
268
|
eventInfo: 'string',
|
|
@@ -282,6 +285,9 @@ export class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
282
285
|
if(Array.isArray(this.attackIps)) {
|
|
283
286
|
$dara.Model.validateArray(this.attackIps);
|
|
284
287
|
}
|
|
288
|
+
if(Array.isArray(this.attackerList)) {
|
|
289
|
+
$dara.Model.validateArray(this.attackerList);
|
|
290
|
+
}
|
|
285
291
|
super.validate();
|
|
286
292
|
}
|
|
287
293
|
|
|
@@ -13,6 +13,10 @@ export class DescribeApisecStatisticsRequest extends $dara.Model {
|
|
|
13
13
|
* 428
|
|
14
14
|
*/
|
|
15
15
|
clusterId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 4809859200000
|
|
19
|
+
*/
|
|
16
20
|
endTime?: number;
|
|
17
21
|
/**
|
|
18
22
|
* @remarks
|
|
@@ -46,6 +50,10 @@ export class DescribeApisecStatisticsRequest extends $dara.Model {
|
|
|
46
50
|
* rg-aek2***uwbs5q
|
|
47
51
|
*/
|
|
48
52
|
resourceManagerResourceGroupId?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @example
|
|
55
|
+
* 1668496310000
|
|
56
|
+
*/
|
|
49
57
|
startTime?: number;
|
|
50
58
|
/**
|
|
51
59
|
* @remarks
|
|
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeApisecStatisticsResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
account?: number;
|
|
6
11
|
/**
|
|
7
12
|
* @remarks
|
|
8
13
|
* The number of handled events.
|
|
@@ -75,7 +80,15 @@ export class DescribeApisecStatisticsResponseBodyData extends $dara.Model {
|
|
|
75
80
|
* 10
|
|
76
81
|
*/
|
|
77
82
|
medium?: number;
|
|
83
|
+
/**
|
|
84
|
+
* @example
|
|
85
|
+
* 0
|
|
86
|
+
*/
|
|
78
87
|
notFixed?: number;
|
|
88
|
+
/**
|
|
89
|
+
* @example
|
|
90
|
+
* 1
|
|
91
|
+
*/
|
|
79
92
|
systemFixed?: number;
|
|
80
93
|
/**
|
|
81
94
|
* @remarks
|
|
@@ -93,6 +106,10 @@ export class DescribeApisecStatisticsResponseBodyData extends $dara.Model {
|
|
|
93
106
|
* 10
|
|
94
107
|
*/
|
|
95
108
|
toBeFixed?: number;
|
|
109
|
+
/**
|
|
110
|
+
* @example
|
|
111
|
+
* 2
|
|
112
|
+
*/
|
|
96
113
|
toBeVerified?: number;
|
|
97
114
|
/**
|
|
98
115
|
* @remarks
|
|
@@ -136,6 +153,7 @@ export class DescribeApisecStatisticsResponseBodyData extends $dara.Model {
|
|
|
136
153
|
total?: number;
|
|
137
154
|
static names(): { [key: string]: string } {
|
|
138
155
|
return {
|
|
156
|
+
account: 'Account',
|
|
139
157
|
actioned: 'Actioned',
|
|
140
158
|
api: 'Api',
|
|
141
159
|
confirmed: 'Confirmed',
|
|
@@ -160,6 +178,7 @@ export class DescribeApisecStatisticsResponseBodyData extends $dara.Model {
|
|
|
160
178
|
|
|
161
179
|
static types(): { [key: string]: any } {
|
|
162
180
|
return {
|
|
181
|
+
account: 'number',
|
|
163
182
|
actioned: 'number',
|
|
164
183
|
api: 'number',
|
|
165
184
|
confirmed: 'number',
|
|
@@ -160,6 +160,7 @@ export class DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails
|
|
|
160
160
|
* 1
|
|
161
161
|
*/
|
|
162
162
|
cipherSuite?: number;
|
|
163
|
+
cloudResourceId?: string;
|
|
163
164
|
/**
|
|
164
165
|
* @remarks
|
|
165
166
|
* The custom cipher suites that you want to add. This parameter is available only if you set **CipherSuite** to **99**.
|
|
@@ -329,6 +330,7 @@ export class DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails
|
|
|
329
330
|
return {
|
|
330
331
|
certificates: 'Certificates',
|
|
331
332
|
cipherSuite: 'CipherSuite',
|
|
333
|
+
cloudResourceId: 'CloudResourceId',
|
|
332
334
|
customCiphers: 'CustomCiphers',
|
|
333
335
|
enableTLSv3: 'EnableTLSv3',
|
|
334
336
|
http2Enabled: 'Http2Enabled',
|
|
@@ -355,6 +357,7 @@ export class DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails
|
|
|
355
357
|
return {
|
|
356
358
|
certificates: { 'type': 'array', 'itemType': DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsCertificates },
|
|
357
359
|
cipherSuite: 'number',
|
|
360
|
+
cloudResourceId: 'string',
|
|
358
361
|
customCiphers: { 'type': 'array', 'itemType': 'string' },
|
|
359
362
|
enableTLSv3: 'boolean',
|
|
360
363
|
http2Enabled: 'boolean',
|
|
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeSensitiveRequestLogRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* admin
|
|
9
|
+
*/
|
|
10
|
+
account?: string;
|
|
6
11
|
/**
|
|
7
12
|
* @remarks
|
|
8
13
|
* The API.
|
|
@@ -119,6 +124,7 @@ export class DescribeSensitiveRequestLogRequest extends $dara.Model {
|
|
|
119
124
|
startTime?: number;
|
|
120
125
|
static names(): { [key: string]: string } {
|
|
121
126
|
return {
|
|
127
|
+
account: 'Account',
|
|
122
128
|
apiFormat: 'ApiFormat',
|
|
123
129
|
clientIP: 'ClientIP',
|
|
124
130
|
clusterId: 'ClusterId',
|
|
@@ -137,6 +143,7 @@ export class DescribeSensitiveRequestLogRequest extends $dara.Model {
|
|
|
137
143
|
|
|
138
144
|
static types(): { [key: string]: any } {
|
|
139
145
|
return {
|
|
146
|
+
account: 'string',
|
|
140
147
|
apiFormat: 'string',
|
|
141
148
|
clientIP: 'string',
|
|
142
149
|
clusterId: 'string',
|
|
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeSensitiveRequestLogResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* admin
|
|
9
|
+
*/
|
|
10
|
+
account?: string;
|
|
6
11
|
/**
|
|
7
12
|
* @remarks
|
|
8
13
|
* The API.
|
|
@@ -87,6 +92,7 @@ export class DescribeSensitiveRequestLogResponseBodyData extends $dara.Model {
|
|
|
87
92
|
traceId?: string;
|
|
88
93
|
static names(): { [key: string]: string } {
|
|
89
94
|
return {
|
|
95
|
+
account: 'Account',
|
|
90
96
|
apiFormat: 'ApiFormat',
|
|
91
97
|
apiId: 'ApiId',
|
|
92
98
|
clientIP: 'ClientIP',
|
|
@@ -101,6 +107,7 @@ export class DescribeSensitiveRequestLogResponseBodyData extends $dara.Model {
|
|
|
101
107
|
|
|
102
108
|
static types(): { [key: string]: any } {
|
|
103
109
|
return {
|
|
110
|
+
account: 'string',
|
|
104
111
|
apiFormat: 'string',
|
|
105
112
|
apiId: 'string',
|
|
106
113
|
clientIP: 'string',
|
|
@@ -12,6 +12,11 @@ export class DescribeUserEventTrendRequest extends $dara.Model {
|
|
|
12
12
|
* 428
|
|
13
13
|
*/
|
|
14
14
|
clusterId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @example
|
|
17
|
+
* ip
|
|
18
|
+
*/
|
|
19
|
+
eventScope?: string;
|
|
15
20
|
/**
|
|
16
21
|
* @remarks
|
|
17
22
|
* The ID of the Web Application Firewall (WAF) instance.
|
|
@@ -46,6 +51,7 @@ export class DescribeUserEventTrendRequest extends $dara.Model {
|
|
|
46
51
|
static names(): { [key: string]: string } {
|
|
47
52
|
return {
|
|
48
53
|
clusterId: 'ClusterId',
|
|
54
|
+
eventScope: 'EventScope',
|
|
49
55
|
instanceId: 'InstanceId',
|
|
50
56
|
regionId: 'RegionId',
|
|
51
57
|
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
@@ -55,6 +61,7 @@ export class DescribeUserEventTrendRequest extends $dara.Model {
|
|
|
55
61
|
static types(): { [key: string]: any } {
|
|
56
62
|
return {
|
|
57
63
|
clusterId: 'string',
|
|
64
|
+
eventScope: 'string',
|
|
58
65
|
instanceId: 'string',
|
|
59
66
|
regionId: 'string',
|
|
60
67
|
resourceManagerResourceGroupId: 'string',
|
|
@@ -20,6 +20,11 @@ export class DescribeUserEventTypeRequest extends $dara.Model {
|
|
|
20
20
|
* 1726113600
|
|
21
21
|
*/
|
|
22
22
|
endTime?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* ip
|
|
26
|
+
*/
|
|
27
|
+
eventScope?: string;
|
|
23
28
|
/**
|
|
24
29
|
* @remarks
|
|
25
30
|
* The ID of the Web Application Firewall (WAF) instance.
|
|
@@ -64,6 +69,7 @@ export class DescribeUserEventTypeRequest extends $dara.Model {
|
|
|
64
69
|
return {
|
|
65
70
|
clusterId: 'ClusterId',
|
|
66
71
|
endTime: 'EndTime',
|
|
72
|
+
eventScope: 'EventScope',
|
|
67
73
|
instanceId: 'InstanceId',
|
|
68
74
|
regionId: 'RegionId',
|
|
69
75
|
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
@@ -76,6 +82,7 @@ export class DescribeUserEventTypeRequest extends $dara.Model {
|
|
|
76
82
|
return {
|
|
77
83
|
clusterId: 'string',
|
|
78
84
|
endTime: 'number',
|
|
85
|
+
eventScope: 'string',
|
|
79
86
|
instanceId: 'string',
|
|
80
87
|
regionId: 'string',
|
|
81
88
|
resourceManagerResourceGroupId: 'string',
|
|
@@ -19,6 +19,11 @@ export class ModifyApisecEventsRequest extends $dara.Model {
|
|
|
19
19
|
* This parameter is required.
|
|
20
20
|
*/
|
|
21
21
|
eventIds?: string[];
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* ip
|
|
25
|
+
*/
|
|
26
|
+
eventScope?: string;
|
|
22
27
|
/**
|
|
23
28
|
* @remarks
|
|
24
29
|
* The ID of the Web Application Firewall (WAF) instance.
|
|
@@ -76,6 +81,7 @@ export class ModifyApisecEventsRequest extends $dara.Model {
|
|
|
76
81
|
return {
|
|
77
82
|
clusterId: 'ClusterId',
|
|
78
83
|
eventIds: 'EventIds',
|
|
84
|
+
eventScope: 'EventScope',
|
|
79
85
|
instanceId: 'InstanceId',
|
|
80
86
|
note: 'Note',
|
|
81
87
|
regionId: 'RegionId',
|
|
@@ -88,6 +94,7 @@ export class ModifyApisecEventsRequest extends $dara.Model {
|
|
|
88
94
|
return {
|
|
89
95
|
clusterId: 'string',
|
|
90
96
|
eventIds: { 'type': 'array', 'itemType': 'string' },
|
|
97
|
+
eventScope: 'string',
|
|
91
98
|
instanceId: 'string',
|
|
92
99
|
note: 'string',
|
|
93
100
|
regionId: 'string',
|
|
@@ -48,6 +48,7 @@ export class ModifyCloudResourceCertRequest extends $dara.Model {
|
|
|
48
48
|
* This parameter is required.
|
|
49
49
|
*/
|
|
50
50
|
certificates?: ModifyCloudResourceCertRequestCertificates[];
|
|
51
|
+
cloudResourceId?: string;
|
|
51
52
|
/**
|
|
52
53
|
* @remarks
|
|
53
54
|
* This parameter is required.
|
|
@@ -57,11 +58,10 @@ export class ModifyCloudResourceCertRequest extends $dara.Model {
|
|
|
57
58
|
*/
|
|
58
59
|
instanceId?: string;
|
|
59
60
|
/**
|
|
60
|
-
* @remarks
|
|
61
|
-
* This parameter is required.
|
|
62
|
-
*
|
|
63
61
|
* @example
|
|
64
62
|
* 443
|
|
63
|
+
*
|
|
64
|
+
* @deprecated
|
|
65
65
|
*/
|
|
66
66
|
port?: number;
|
|
67
67
|
/**
|
|
@@ -73,24 +73,23 @@ export class ModifyCloudResourceCertRequest extends $dara.Model {
|
|
|
73
73
|
*/
|
|
74
74
|
regionId?: string;
|
|
75
75
|
/**
|
|
76
|
-
* @remarks
|
|
77
|
-
* This parameter is required.
|
|
78
|
-
*
|
|
79
76
|
* @example
|
|
80
77
|
* lb-bp1*****jqnnqk5uj2p
|
|
78
|
+
*
|
|
79
|
+
* @deprecated
|
|
81
80
|
*/
|
|
82
81
|
resourceInstanceId?: string;
|
|
83
82
|
/**
|
|
84
|
-
* @remarks
|
|
85
|
-
* This parameter is required.
|
|
86
|
-
*
|
|
87
83
|
* @example
|
|
88
84
|
* clb4
|
|
85
|
+
*
|
|
86
|
+
* @deprecated
|
|
89
87
|
*/
|
|
90
88
|
resourceProduct?: string;
|
|
91
89
|
static names(): { [key: string]: string } {
|
|
92
90
|
return {
|
|
93
91
|
certificates: 'Certificates',
|
|
92
|
+
cloudResourceId: 'CloudResourceId',
|
|
94
93
|
instanceId: 'InstanceId',
|
|
95
94
|
port: 'Port',
|
|
96
95
|
regionId: 'RegionId',
|
|
@@ -102,6 +101,7 @@ export class ModifyCloudResourceCertRequest extends $dara.Model {
|
|
|
102
101
|
static types(): { [key: string]: any } {
|
|
103
102
|
return {
|
|
104
103
|
certificates: { 'type': 'array', 'itemType': ModifyCloudResourceCertRequestCertificates },
|
|
104
|
+
cloudResourceId: 'string',
|
|
105
105
|
instanceId: 'string',
|
|
106
106
|
port: 'number',
|
|
107
107
|
regionId: 'string',
|