@alicloud/waf-openapi20211001 6.1.1 → 6.2.0
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 +75 -0
- package/dist/client.js +246 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeAlarmBannerRequest.d.ts +31 -0
- package/dist/models/DescribeAlarmBannerRequest.js +62 -0
- package/dist/models/DescribeAlarmBannerRequest.js.map +1 -0
- package/dist/models/DescribeAlarmBannerResponse.d.ts +19 -0
- package/dist/models/DescribeAlarmBannerResponse.js +69 -0
- package/dist/models/DescribeAlarmBannerResponse.js.map +1 -0
- package/dist/models/DescribeAlarmBannerResponseBody.d.ts +51 -0
- package/dist/models/DescribeAlarmBannerResponseBody.js +88 -0
- package/dist/models/DescribeAlarmBannerResponseBody.js.map +1 -0
- package/dist/models/DescribeAlarmListRequest.d.ts +31 -0
- package/dist/models/DescribeAlarmListRequest.js +62 -0
- package/dist/models/DescribeAlarmListRequest.js.map +1 -0
- package/dist/models/DescribeAlarmListResponse.d.ts +19 -0
- package/dist/models/DescribeAlarmListResponse.js +69 -0
- package/dist/models/DescribeAlarmListResponse.js.map +1 -0
- package/dist/models/DescribeAlarmListResponseBody.d.ts +66 -0
- package/dist/models/DescribeAlarmListResponseBody.js +94 -0
- package/dist/models/DescribeAlarmListResponseBody.js.map +1 -0
- package/dist/models/DescribeBotAppKeyRequest.d.ts +36 -0
- package/dist/models/DescribeBotAppKeyRequest.js +64 -0
- package/dist/models/DescribeBotAppKeyRequest.js.map +1 -0
- package/dist/models/DescribeBotAppKeyResponse.d.ts +19 -0
- package/dist/models/DescribeBotAppKeyResponse.js +69 -0
- package/dist/models/DescribeBotAppKeyResponse.js.map +1 -0
- package/dist/models/DescribeBotAppKeyResponseBody.d.ts +26 -0
- package/dist/models/DescribeBotAppKeyResponseBody.js +60 -0
- package/dist/models/DescribeBotAppKeyResponseBody.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailRequest.d.ts +39 -0
- package/dist/models/DescribeThreatEventDetailRequest.js +64 -0
- package/dist/models/DescribeThreatEventDetailRequest.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailResponse.d.ts +19 -0
- package/dist/models/DescribeThreatEventDetailResponse.js +69 -0
- package/dist/models/DescribeThreatEventDetailResponse.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.d.ts +91 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.js +104 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.js.map +1 -0
- package/dist/models/DescribeThreatEventRequest.d.ts +62 -0
- package/dist/models/DescribeThreatEventRequest.js +72 -0
- package/dist/models/DescribeThreatEventRequest.js.map +1 -0
- package/dist/models/DescribeThreatEventResponse.d.ts +19 -0
- package/dist/models/DescribeThreatEventResponse.js +69 -0
- package/dist/models/DescribeThreatEventResponse.js.map +1 -0
- package/dist/models/DescribeThreatEventResponseBody.d.ts +71 -0
- package/dist/models/DescribeThreatEventResponseBody.js +96 -0
- package/dist/models/DescribeThreatEventResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +19 -0
- package/dist/models/model.js +56 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +278 -0
- package/src/models/DescribeAlarmBannerRequest.ts +48 -0
- package/src/models/DescribeAlarmBannerResponse.ts +40 -0
- package/src/models/DescribeAlarmBannerResponseBody.ts +85 -0
- package/src/models/DescribeAlarmListRequest.ts +48 -0
- package/src/models/DescribeAlarmListResponse.ts +40 -0
- package/src/models/DescribeAlarmListResponseBody.ts +106 -0
- package/src/models/DescribeBotAppKeyRequest.ts +55 -0
- package/src/models/DescribeBotAppKeyResponse.ts +40 -0
- package/src/models/DescribeBotAppKeyResponseBody.ts +41 -0
- package/src/models/DescribeThreatEventDetailRequest.ts +58 -0
- package/src/models/DescribeThreatEventDetailResponse.ts +40 -0
- package/src/models/DescribeThreatEventDetailResponseBody.ts +141 -0
- package/src/models/DescribeThreatEventRequest.ts +89 -0
- package/src/models/DescribeThreatEventResponse.ts +40 -0
- package/src/models/DescribeThreatEventResponseBody.ts +113 -0
- package/src/models/model.ts +19 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeBotAppKeyRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* waf_v3prepaid_public_cn-5v23u******
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 1
|
|
17
|
+
*/
|
|
18
|
+
keyVersion?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* cn-hangzhou
|
|
22
|
+
*/
|
|
23
|
+
regionId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* rg-aek2uo27badl***
|
|
27
|
+
*/
|
|
28
|
+
resourceManagerResourceGroupId?: string;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
instanceId: 'InstanceId',
|
|
32
|
+
keyVersion: 'KeyVersion',
|
|
33
|
+
regionId: 'RegionId',
|
|
34
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
instanceId: 'string',
|
|
41
|
+
keyVersion: 'string',
|
|
42
|
+
regionId: 'string',
|
|
43
|
+
resourceManagerResourceGroupId: 'string',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
super.validate();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
constructor(map?: { [key: string]: any }) {
|
|
52
|
+
super(map);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeBotAppKeyResponseBody } from "./DescribeBotAppKeyResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeBotAppKeyResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeBotAppKeyResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeBotAppKeyResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeBotAppKeyResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* AppKey。
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* N1Kiv3AGZm******
|
|
12
|
+
*/
|
|
13
|
+
appKey?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 0C4ADFD4-5B7D-591D-A607-A45C*****
|
|
17
|
+
*/
|
|
18
|
+
requestId?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
appKey: 'AppKey',
|
|
22
|
+
requestId: 'RequestId',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
appKey: 'string',
|
|
29
|
+
requestId: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeThreatEventDetailRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1661131a028f72a976703f4a4082ad87
|
|
12
|
+
*/
|
|
13
|
+
eventId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* waf_v2_public_cn-lbj*****
|
|
20
|
+
*/
|
|
21
|
+
instanceId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* cn-hangzhou
|
|
25
|
+
*/
|
|
26
|
+
regionId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* rg-aekzhks66****
|
|
30
|
+
*/
|
|
31
|
+
resourceManagerResourceGroupId?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
eventId: 'EventId',
|
|
35
|
+
instanceId: 'InstanceId',
|
|
36
|
+
regionId: 'RegionId',
|
|
37
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
eventId: 'string',
|
|
44
|
+
instanceId: 'string',
|
|
45
|
+
regionId: 'string',
|
|
46
|
+
resourceManagerResourceGroupId: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeThreatEventDetailResponseBody } from "./DescribeThreatEventDetailResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeThreatEventDetailResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeThreatEventDetailResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeThreatEventDetailResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeThreatEventDetailResponseBodyThreatEventDetail extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1749916800000
|
|
9
|
+
*/
|
|
10
|
+
endTime?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 20
|
|
14
|
+
*/
|
|
15
|
+
eventBlock?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 20
|
|
19
|
+
*/
|
|
20
|
+
eventCnt?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* {"end_ts": 1766637714, "start_ts": 1764096746, "condition": {"real_client_ip": ["78.153.140.179", "78.153.140.203", "78.153.140.177", "78.153.140.178", "78.153.140.151"]}}
|
|
24
|
+
*/
|
|
25
|
+
eventCondition?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* ["CVE-2020-14882","DDoS Attack"]
|
|
29
|
+
*/
|
|
30
|
+
eventIntelligence?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* high
|
|
34
|
+
*/
|
|
35
|
+
eventLevel?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* XX.XX.XX.XX
|
|
39
|
+
*/
|
|
40
|
+
eventSrc?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* GB
|
|
44
|
+
*/
|
|
45
|
+
eventSrcCountry?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* GB-ENG
|
|
49
|
+
*/
|
|
50
|
+
eventSrcRegion?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* FixBug
|
|
54
|
+
*/
|
|
55
|
+
eventSuggest?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* MultipleDomainWebattack
|
|
59
|
+
*/
|
|
60
|
+
eventTag?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* 1
|
|
64
|
+
*/
|
|
65
|
+
isPersistent?: number;
|
|
66
|
+
static names(): { [key: string]: string } {
|
|
67
|
+
return {
|
|
68
|
+
endTime: 'EndTime',
|
|
69
|
+
eventBlock: 'EventBlock',
|
|
70
|
+
eventCnt: 'EventCnt',
|
|
71
|
+
eventCondition: 'EventCondition',
|
|
72
|
+
eventIntelligence: 'EventIntelligence',
|
|
73
|
+
eventLevel: 'EventLevel',
|
|
74
|
+
eventSrc: 'EventSrc',
|
|
75
|
+
eventSrcCountry: 'EventSrcCountry',
|
|
76
|
+
eventSrcRegion: 'EventSrcRegion',
|
|
77
|
+
eventSuggest: 'EventSuggest',
|
|
78
|
+
eventTag: 'EventTag',
|
|
79
|
+
isPersistent: 'IsPersistent',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
static types(): { [key: string]: any } {
|
|
84
|
+
return {
|
|
85
|
+
endTime: 'number',
|
|
86
|
+
eventBlock: 'string',
|
|
87
|
+
eventCnt: 'string',
|
|
88
|
+
eventCondition: 'string',
|
|
89
|
+
eventIntelligence: 'string',
|
|
90
|
+
eventLevel: 'string',
|
|
91
|
+
eventSrc: 'string',
|
|
92
|
+
eventSrcCountry: 'string',
|
|
93
|
+
eventSrcRegion: 'string',
|
|
94
|
+
eventSuggest: 'string',
|
|
95
|
+
eventTag: 'string',
|
|
96
|
+
isPersistent: 'number',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
validate() {
|
|
101
|
+
super.validate();
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
constructor(map?: { [key: string]: any }) {
|
|
105
|
+
super(map);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export class DescribeThreatEventDetailResponseBody extends $dara.Model {
|
|
110
|
+
/**
|
|
111
|
+
* @example
|
|
112
|
+
* D7861F61-5B61-46CE-A47C-6B1****
|
|
113
|
+
*/
|
|
114
|
+
requestId?: string;
|
|
115
|
+
threatEventDetail?: DescribeThreatEventDetailResponseBodyThreatEventDetail;
|
|
116
|
+
static names(): { [key: string]: string } {
|
|
117
|
+
return {
|
|
118
|
+
requestId: 'RequestId',
|
|
119
|
+
threatEventDetail: 'ThreatEventDetail',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
static types(): { [key: string]: any } {
|
|
124
|
+
return {
|
|
125
|
+
requestId: 'string',
|
|
126
|
+
threatEventDetail: DescribeThreatEventDetailResponseBodyThreatEventDetail,
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
validate() {
|
|
131
|
+
if(this.threatEventDetail && typeof (this.threatEventDetail as any).validate === 'function') {
|
|
132
|
+
(this.threatEventDetail as any).validate();
|
|
133
|
+
}
|
|
134
|
+
super.validate();
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
constructor(map?: { [key: string]: any }) {
|
|
138
|
+
super(map);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeThreatEventRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* www.abc.com
|
|
9
|
+
*/
|
|
10
|
+
domainName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* 1749916800000
|
|
17
|
+
*/
|
|
18
|
+
endTime?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* waf_v2_public_cn-2bl4****
|
|
25
|
+
*/
|
|
26
|
+
instanceId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* 1
|
|
30
|
+
*/
|
|
31
|
+
pageNumber?: number;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* 10
|
|
35
|
+
*/
|
|
36
|
+
pageSize?: number;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* cn-hangzhou
|
|
40
|
+
*/
|
|
41
|
+
regionId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* rg-aeky65ka*****
|
|
45
|
+
*/
|
|
46
|
+
resourceManagerResourceGroupId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* This parameter is required.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* 1668496310000
|
|
53
|
+
*/
|
|
54
|
+
startTime?: number;
|
|
55
|
+
static names(): { [key: string]: string } {
|
|
56
|
+
return {
|
|
57
|
+
domainName: 'DomainName',
|
|
58
|
+
endTime: 'EndTime',
|
|
59
|
+
instanceId: 'InstanceId',
|
|
60
|
+
pageNumber: 'PageNumber',
|
|
61
|
+
pageSize: 'PageSize',
|
|
62
|
+
regionId: 'RegionId',
|
|
63
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
64
|
+
startTime: 'StartTime',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
static types(): { [key: string]: any } {
|
|
69
|
+
return {
|
|
70
|
+
domainName: 'string',
|
|
71
|
+
endTime: 'number',
|
|
72
|
+
instanceId: 'string',
|
|
73
|
+
pageNumber: 'number',
|
|
74
|
+
pageSize: 'number',
|
|
75
|
+
regionId: 'string',
|
|
76
|
+
resourceManagerResourceGroupId: 'string',
|
|
77
|
+
startTime: 'number',
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
validate() {
|
|
82
|
+
super.validate();
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
constructor(map?: { [key: string]: any }) {
|
|
86
|
+
super(map);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeThreatEventResponseBody } from "./DescribeThreatEventResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeThreatEventResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeThreatEventResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeThreatEventResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeThreatEventResponseBodyThreatEvents extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 100%
|
|
9
|
+
*/
|
|
10
|
+
blockRate?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1768406400000
|
|
14
|
+
*/
|
|
15
|
+
endTime?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* f439994c8ab39f84eced33490f0c4388
|
|
19
|
+
*/
|
|
20
|
+
eventId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* high
|
|
24
|
+
*/
|
|
25
|
+
eventLevel?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 3.3.3.3
|
|
29
|
+
*/
|
|
30
|
+
eventSrc?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* Event_InternalLoginWeakPasswd
|
|
34
|
+
*/
|
|
35
|
+
eventTag?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* test.aliyundemo.com-waf
|
|
39
|
+
*/
|
|
40
|
+
eventTarget?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
blockRate: 'BlockRate',
|
|
44
|
+
endTime: 'EndTime',
|
|
45
|
+
eventId: 'EventId',
|
|
46
|
+
eventLevel: 'EventLevel',
|
|
47
|
+
eventSrc: 'EventSrc',
|
|
48
|
+
eventTag: 'EventTag',
|
|
49
|
+
eventTarget: 'EventTarget',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
blockRate: 'string',
|
|
56
|
+
endTime: 'number',
|
|
57
|
+
eventId: 'string',
|
|
58
|
+
eventLevel: 'string',
|
|
59
|
+
eventSrc: 'string',
|
|
60
|
+
eventTag: 'string',
|
|
61
|
+
eventTarget: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export class DescribeThreatEventResponseBody extends $dara.Model {
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* 98106632-6865-5600-A834-3D909***
|
|
78
|
+
*/
|
|
79
|
+
requestId?: string;
|
|
80
|
+
threatEvents?: DescribeThreatEventResponseBodyThreatEvents[];
|
|
81
|
+
/**
|
|
82
|
+
* @example
|
|
83
|
+
* 10
|
|
84
|
+
*/
|
|
85
|
+
totalCount?: number;
|
|
86
|
+
static names(): { [key: string]: string } {
|
|
87
|
+
return {
|
|
88
|
+
requestId: 'RequestId',
|
|
89
|
+
threatEvents: 'ThreatEvents',
|
|
90
|
+
totalCount: 'TotalCount',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
static types(): { [key: string]: any } {
|
|
95
|
+
return {
|
|
96
|
+
requestId: 'string',
|
|
97
|
+
threatEvents: { 'type': 'array', 'itemType': DescribeThreatEventResponseBodyThreatEvents },
|
|
98
|
+
totalCount: 'number',
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
validate() {
|
|
103
|
+
if(Array.isArray(this.threatEvents)) {
|
|
104
|
+
$dara.Model.validateArray(this.threatEvents);
|
|
105
|
+
}
|
|
106
|
+
super.validate();
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
constructor(map?: { [key: string]: any }) {
|
|
110
|
+
super(map);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -15,6 +15,8 @@ export { CreateDomainShrinkRequestTag } from './CreateDomainShrinkRequest';
|
|
|
15
15
|
export { CreateDomainResponseBodyDomainInfo } from './CreateDomainResponseBody';
|
|
16
16
|
export { DescribeAbnormalCloudResourcesResponseBodyAbnormalCloudResourcesDetails } from './DescribeAbnormalCloudResourcesResponseBody';
|
|
17
17
|
export { DescribeAbnormalCloudResourcesResponseBodyAbnormalCloudResources } from './DescribeAbnormalCloudResourcesResponseBody';
|
|
18
|
+
export { DescribeAlarmBannerResponseBodyBannerStatus } from './DescribeAlarmBannerResponseBody';
|
|
19
|
+
export { DescribeAlarmListResponseBodyAlarms } from './DescribeAlarmListResponseBody';
|
|
18
20
|
export { DescribeApiExportsResponseBodyApiExports } from './DescribeApiExportsResponseBody';
|
|
19
21
|
export { DescribeApisecAbnormalDomainStatisticResponseBodyData } from './DescribeApisecAbnormalDomainStatisticResponseBody';
|
|
20
22
|
export { DescribeApisecAbnormalsResponseBodyData } from './DescribeApisecAbnormalsResponseBody';
|
|
@@ -168,6 +170,8 @@ export { DescribeSensitiveRequestsResponseBodyDataInfoCount } from './DescribeSe
|
|
|
168
170
|
export { DescribeSensitiveRequestsResponseBodyData } from './DescribeSensitiveRequestsResponseBody';
|
|
169
171
|
export { DescribeSensitiveStatisticResponseBodyData } from './DescribeSensitiveStatisticResponseBody';
|
|
170
172
|
export { DescribeTemplateResourceCountResponseBodyResourceCount } from './DescribeTemplateResourceCountResponseBody';
|
|
173
|
+
export { DescribeThreatEventResponseBodyThreatEvents } from './DescribeThreatEventResponseBody';
|
|
174
|
+
export { DescribeThreatEventDetailResponseBodyThreatEventDetail } from './DescribeThreatEventDetailResponseBody';
|
|
171
175
|
export { DescribeUserAbnormalTrendResponseBodyTrend } from './DescribeUserAbnormalTrendResponseBody';
|
|
172
176
|
export { DescribeUserAbnormalTypeResponseBodyAbnormal } from './DescribeUserAbnormalTypeResponseBody';
|
|
173
177
|
export { DescribeUserApiRequestResponseBodyRequests } from './DescribeUserApiRequestResponseBody';
|
|
@@ -306,6 +310,12 @@ export { DescribeAbnormalCloudResourcesResponse } from './DescribeAbnormalCloudR
|
|
|
306
310
|
export { DescribeAccountDelegatedStatusRequest } from './DescribeAccountDelegatedStatusRequest';
|
|
307
311
|
export { DescribeAccountDelegatedStatusResponseBody } from './DescribeAccountDelegatedStatusResponseBody';
|
|
308
312
|
export { DescribeAccountDelegatedStatusResponse } from './DescribeAccountDelegatedStatusResponse';
|
|
313
|
+
export { DescribeAlarmBannerRequest } from './DescribeAlarmBannerRequest';
|
|
314
|
+
export { DescribeAlarmBannerResponseBody } from './DescribeAlarmBannerResponseBody';
|
|
315
|
+
export { DescribeAlarmBannerResponse } from './DescribeAlarmBannerResponse';
|
|
316
|
+
export { DescribeAlarmListRequest } from './DescribeAlarmListRequest';
|
|
317
|
+
export { DescribeAlarmListResponseBody } from './DescribeAlarmListResponseBody';
|
|
318
|
+
export { DescribeAlarmListResponse } from './DescribeAlarmListResponse';
|
|
309
319
|
export { DescribeApiExportsRequest } from './DescribeApiExportsRequest';
|
|
310
320
|
export { DescribeApiExportsResponseBody } from './DescribeApiExportsResponseBody';
|
|
311
321
|
export { DescribeApiExportsResponse } from './DescribeApiExportsResponse';
|
|
@@ -366,6 +376,9 @@ export { DescribeApisecUserOperationsResponse } from './DescribeApisecUserOperat
|
|
|
366
376
|
export { DescribeBaseSystemRulesRequest } from './DescribeBaseSystemRulesRequest';
|
|
367
377
|
export { DescribeBaseSystemRulesResponseBody } from './DescribeBaseSystemRulesResponseBody';
|
|
368
378
|
export { DescribeBaseSystemRulesResponse } from './DescribeBaseSystemRulesResponse';
|
|
379
|
+
export { DescribeBotAppKeyRequest } from './DescribeBotAppKeyRequest';
|
|
380
|
+
export { DescribeBotAppKeyResponseBody } from './DescribeBotAppKeyResponseBody';
|
|
381
|
+
export { DescribeBotAppKeyResponse } from './DescribeBotAppKeyResponse';
|
|
369
382
|
export { DescribeBotRuleLabelsRequest } from './DescribeBotRuleLabelsRequest';
|
|
370
383
|
export { DescribeBotRuleLabelsResponseBody } from './DescribeBotRuleLabelsResponseBody';
|
|
371
384
|
export { DescribeBotRuleLabelsResponse } from './DescribeBotRuleLabelsResponse';
|
|
@@ -678,6 +691,12 @@ export { DescribeTemplateResourceCountResponse } from './DescribeTemplateResourc
|
|
|
678
691
|
export { DescribeTemplateResourcesRequest } from './DescribeTemplateResourcesRequest';
|
|
679
692
|
export { DescribeTemplateResourcesResponseBody } from './DescribeTemplateResourcesResponseBody';
|
|
680
693
|
export { DescribeTemplateResourcesResponse } from './DescribeTemplateResourcesResponse';
|
|
694
|
+
export { DescribeThreatEventRequest } from './DescribeThreatEventRequest';
|
|
695
|
+
export { DescribeThreatEventResponseBody } from './DescribeThreatEventResponseBody';
|
|
696
|
+
export { DescribeThreatEventResponse } from './DescribeThreatEventResponse';
|
|
697
|
+
export { DescribeThreatEventDetailRequest } from './DescribeThreatEventDetailRequest';
|
|
698
|
+
export { DescribeThreatEventDetailResponseBody } from './DescribeThreatEventDetailResponseBody';
|
|
699
|
+
export { DescribeThreatEventDetailResponse } from './DescribeThreatEventDetailResponse';
|
|
681
700
|
export { DescribeUserAbnormalTrendRequest } from './DescribeUserAbnormalTrendRequest';
|
|
682
701
|
export { DescribeUserAbnormalTrendResponseBody } from './DescribeUserAbnormalTrendResponseBody';
|
|
683
702
|
export { DescribeUserAbnormalTrendResponse } from './DescribeUserAbnormalTrendResponse';
|