@alicloud/sas20181203 9.0.2 → 9.1.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 +118 -0
- package/dist/client.js +392 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeCloudVendorAccountAklistRequest.d.ts +9 -0
- package/dist/models/DescribeCloudVendorAccountAklistRequest.js.map +1 -1
- package/dist/models/DescribeImageBaselineStrategyResponseBody.d.ts +1 -0
- package/dist/models/DescribeImageBaselineStrategyResponseBody.js +2 -0
- package/dist/models/DescribeImageBaselineStrategyResponseBody.js.map +1 -1
- package/dist/models/DescribePropertyScaDetailRequest.d.ts +10 -0
- package/dist/models/DescribePropertyScaDetailRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +8 -0
- package/dist/models/DescribeSnapshotsResponseBody.js +2 -0
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/DescribeSuspEventsRequest.d.ts +7 -0
- package/dist/models/DescribeSuspEventsRequest.js.map +1 -1
- package/dist/models/DescribeSuspEventsResponseBody.d.ts +7 -0
- package/dist/models/DescribeSuspEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeSuspEventsShrinkRequest.d.ts +7 -0
- package/dist/models/DescribeSuspEventsShrinkRequest.js.map +1 -1
- package/dist/models/DescribeSuspiciousSecurityEventyStatisticsResponse.d.ts +19 -0
- package/dist/models/DescribeSuspiciousSecurityEventyStatisticsResponse.js +69 -0
- package/dist/models/DescribeSuspiciousSecurityEventyStatisticsResponse.js.map +1 -0
- package/dist/models/DescribeSuspiciousSecurityEventyStatisticsResponseBody.d.ts +104 -0
- package/dist/models/DescribeSuspiciousSecurityEventyStatisticsResponseBody.js +132 -0
- package/dist/models/DescribeSuspiciousSecurityEventyStatisticsResponseBody.js.map +1 -0
- package/dist/models/ExportVulRequest.d.ts +10 -0
- package/dist/models/ExportVulRequest.js.map +1 -1
- package/dist/models/GetAssetsPropertyDetailResponseBody.d.ts +47 -0
- package/dist/models/GetAssetsPropertyDetailResponseBody.js.map +1 -1
- package/dist/models/GetAttackEventDashboardRequest.d.ts +40 -0
- package/dist/models/GetAttackEventDashboardRequest.js +62 -0
- package/dist/models/GetAttackEventDashboardRequest.js.map +1 -0
- package/dist/models/GetAttackEventDashboardResponse.d.ts +19 -0
- package/dist/models/GetAttackEventDashboardResponse.js +69 -0
- package/dist/models/GetAttackEventDashboardResponse.js.map +1 -0
- package/dist/models/GetAttackEventDashboardResponseBody.d.ts +212 -0
- package/dist/models/GetAttackEventDashboardResponseBody.js +194 -0
- package/dist/models/GetAttackEventDashboardResponseBody.js.map +1 -0
- package/dist/models/GetAttackEventDetailRequest.d.ts +31 -0
- package/dist/models/GetAttackEventDetailRequest.js +60 -0
- package/dist/models/GetAttackEventDetailRequest.js.map +1 -0
- package/dist/models/GetAttackEventDetailResponse.d.ts +19 -0
- package/dist/models/GetAttackEventDetailResponse.js +69 -0
- package/dist/models/GetAttackEventDetailResponse.js.map +1 -0
- package/dist/models/GetAttackEventDetailResponseBody.d.ts +113 -0
- package/dist/models/GetAttackEventDetailResponseBody.js +116 -0
- package/dist/models/GetAttackEventDetailResponseBody.js.map +1 -0
- package/dist/models/GetCheckCountStatisticRequest.d.ts +6 -0
- package/dist/models/GetCheckCountStatisticRequest.js.map +1 -1
- package/dist/models/GetCheckCountStatisticResponseBody.d.ts +6 -0
- package/dist/models/GetCheckCountStatisticResponseBody.js.map +1 -1
- package/dist/models/GetClusterCheckSummaryRequest.d.ts +23 -0
- package/dist/models/GetClusterCheckSummaryRequest.js +58 -0
- package/dist/models/GetClusterCheckSummaryRequest.js.map +1 -0
- package/dist/models/GetClusterCheckSummaryResponse.d.ts +19 -0
- package/dist/models/GetClusterCheckSummaryResponse.js +69 -0
- package/dist/models/GetClusterCheckSummaryResponse.js.map +1 -0
- package/dist/models/GetClusterCheckSummaryResponseBody.d.ts +70 -0
- package/dist/models/GetClusterCheckSummaryResponseBody.js +88 -0
- package/dist/models/GetClusterCheckSummaryResponseBody.js.map +1 -0
- package/dist/models/GetSupportedModulesResponseBody.d.ts +9 -0
- package/dist/models/GetSupportedModulesResponseBody.js.map +1 -1
- package/dist/models/GetValidDeductInstancesRequest.d.ts +41 -0
- package/dist/models/GetValidDeductInstancesRequest.js +62 -0
- package/dist/models/GetValidDeductInstancesRequest.js.map +1 -0
- package/dist/models/GetValidDeductInstancesResponse.d.ts +19 -0
- package/dist/models/GetValidDeductInstancesResponse.js +69 -0
- package/dist/models/GetValidDeductInstancesResponse.js.map +1 -0
- package/dist/models/GetValidDeductInstancesResponseBody.d.ts +134 -0
- package/dist/models/GetValidDeductInstancesResponseBody.js +120 -0
- package/dist/models/GetValidDeductInstancesResponseBody.js.map +1 -0
- package/dist/models/ListAttackEventInfoRequest.d.ts +104 -0
- package/dist/models/ListAttackEventInfoRequest.js +74 -0
- package/dist/models/ListAttackEventInfoRequest.js.map +1 -0
- package/dist/models/ListAttackEventInfoResponse.d.ts +19 -0
- package/dist/models/ListAttackEventInfoResponse.js +69 -0
- package/dist/models/ListAttackEventInfoResponse.js.map +1 -0
- package/dist/models/ListAttackEventInfoResponseBody.d.ts +284 -0
- package/dist/models/ListAttackEventInfoResponseBody.js +150 -0
- package/dist/models/ListAttackEventInfoResponseBody.js.map +1 -0
- package/dist/models/ListClusterCheckResultRequest.d.ts +80 -0
- package/dist/models/ListClusterCheckResultRequest.js +78 -0
- package/dist/models/ListClusterCheckResultRequest.js.map +1 -0
- package/dist/models/ListClusterCheckResultResponse.d.ts +19 -0
- package/dist/models/ListClusterCheckResultResponse.js +69 -0
- package/dist/models/ListClusterCheckResultResponse.js.map +1 -0
- package/dist/models/ListClusterCheckResultResponseBody.d.ts +293 -0
- package/dist/models/ListClusterCheckResultResponseBody.js +170 -0
- package/dist/models/ListClusterCheckResultResponseBody.js.map +1 -0
- package/dist/models/ListKspmInstancesRequest.d.ts +144 -0
- package/dist/models/ListKspmInstancesRequest.js +94 -0
- package/dist/models/ListKspmInstancesRequest.js.map +1 -0
- package/dist/models/ListKspmInstancesResponse.d.ts +19 -0
- package/dist/models/ListKspmInstancesResponse.js +69 -0
- package/dist/models/ListKspmInstancesResponse.js.map +1 -0
- package/dist/models/ListKspmInstancesResponseBody.d.ts +210 -0
- package/dist/models/ListKspmInstancesResponseBody.js +143 -0
- package/dist/models/ListKspmInstancesResponseBody.js.map +1 -0
- package/dist/models/ListPrivateRegistryListResponseBody.d.ts +1 -0
- package/dist/models/ListPrivateRegistryListResponseBody.js +2 -0
- package/dist/models/ListPrivateRegistryListResponseBody.js.map +1 -1
- package/dist/models/ModifyImageRegistryRequest.d.ts +3 -0
- package/dist/models/ModifyImageRegistryRequest.js +6 -0
- package/dist/models/ModifyImageRegistryRequest.js.map +1 -1
- package/dist/models/ModifyPostPayModuleSwitchRequest.d.ts +3 -0
- package/dist/models/ModifyPostPayModuleSwitchRequest.js.map +1 -1
- package/dist/models/SaveImageBaselineStrategyRequest.d.ts +1 -0
- package/dist/models/SaveImageBaselineStrategyRequest.js +2 -0
- package/dist/models/SaveImageBaselineStrategyRequest.js.map +1 -1
- package/dist/models/model.d.ts +44 -0
- package/dist/models/model.js +157 -68
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +444 -0
- package/src/models/DescribeCloudVendorAccountAklistRequest.ts +9 -0
- package/src/models/DescribeImageBaselineStrategyResponseBody.ts +3 -0
- package/src/models/DescribePropertyScaDetailRequest.ts +10 -0
- package/src/models/DescribeSnapshotsResponseBody.ts +10 -0
- package/src/models/DescribeSuspEventsRequest.ts +7 -0
- package/src/models/DescribeSuspEventsResponseBody.ts +7 -0
- package/src/models/DescribeSuspEventsShrinkRequest.ts +7 -0
- package/src/models/DescribeSuspiciousSecurityEventyStatisticsResponse.ts +40 -0
- package/src/models/DescribeSuspiciousSecurityEventyStatisticsResponseBody.ts +164 -0
- package/src/models/ExportVulRequest.ts +10 -0
- package/src/models/GetAssetsPropertyDetailResponseBody.ts +47 -0
- package/src/models/GetAttackEventDashboardRequest.ts +57 -0
- package/src/models/GetAttackEventDashboardResponse.ts +40 -0
- package/src/models/GetAttackEventDashboardResponseBody.ts +316 -0
- package/src/models/GetAttackEventDetailRequest.ts +46 -0
- package/src/models/GetAttackEventDetailResponse.ts +40 -0
- package/src/models/GetAttackEventDetailResponseBody.ts +166 -0
- package/src/models/GetCheckCountStatisticRequest.ts +6 -0
- package/src/models/GetCheckCountStatisticResponseBody.ts +6 -0
- package/src/models/GetClusterCheckSummaryRequest.ts +36 -0
- package/src/models/GetClusterCheckSummaryResponse.ts +40 -0
- package/src/models/GetClusterCheckSummaryResponseBody.ts +104 -0
- package/src/models/GetSupportedModulesResponseBody.ts +9 -0
- package/src/models/GetValidDeductInstancesRequest.ts +58 -0
- package/src/models/GetValidDeductInstancesResponse.ts +40 -0
- package/src/models/GetValidDeductInstancesResponseBody.ts +191 -0
- package/src/models/ListAttackEventInfoRequest.ts +133 -0
- package/src/models/ListAttackEventInfoResponse.ts +40 -0
- package/src/models/ListAttackEventInfoResponseBody.ts +371 -0
- package/src/models/ListClusterCheckResultRequest.ts +113 -0
- package/src/models/ListClusterCheckResultResponse.ts +40 -0
- package/src/models/ListClusterCheckResultResponseBody.ts +391 -0
- package/src/models/ListKspmInstancesRequest.ts +184 -0
- package/src/models/ListKspmInstancesResponse.ts +40 -0
- package/src/models/ListKspmInstancesResponseBody.ts +290 -0
- package/src/models/ListPrivateRegistryListResponseBody.ts +3 -0
- package/src/models/ModifyImageRegistryRequest.ts +9 -0
- package/src/models/ModifyPostPayModuleSwitchRequest.ts +3 -0
- package/src/models/SaveImageBaselineStrategyRequest.ts +3 -0
- package/src/models/model.ts +44 -0
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetAttackEventDashboardResponseBodyDataAttackInstanceTopCount extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The count of the statistics value.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 18
|
|
12
|
+
*/
|
|
13
|
+
statisticsCount?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Statistical value.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* {\\"internetIp\\":\\"101.37.86.**\\",\\"instanceName\\":\\"na**me\\",\\"intranetIp\\":\\"10.1.0.*\\"}
|
|
20
|
+
*/
|
|
21
|
+
statisticsValue?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
statisticsCount: 'StatisticsCount',
|
|
25
|
+
statisticsValue: 'StatisticsValue',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
statisticsCount: 'number',
|
|
32
|
+
statisticsValue: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class GetAttackEventDashboardResponseBodyDataAttackTypeTopCount extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* Count of statistical values.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 5
|
|
52
|
+
*/
|
|
53
|
+
statisticsCount?: number;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Statistical value.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* PHP Webshell Upload
|
|
60
|
+
*/
|
|
61
|
+
statisticsValue?: string;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
statisticsCount: 'StatisticsCount',
|
|
65
|
+
statisticsValue: 'StatisticsValue',
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
static types(): { [key: string]: any } {
|
|
70
|
+
return {
|
|
71
|
+
statisticsCount: 'number',
|
|
72
|
+
statisticsValue: 'string',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
validate() {
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export class GetAttackEventDashboardResponseBodyDataLatestTimeHourCount extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* Count of statistical values.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* 1
|
|
92
|
+
*/
|
|
93
|
+
statisticsCount?: number;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* Statistical value.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* 1752642000000
|
|
100
|
+
*/
|
|
101
|
+
statisticsValue?: string;
|
|
102
|
+
static names(): { [key: string]: string } {
|
|
103
|
+
return {
|
|
104
|
+
statisticsCount: 'StatisticsCount',
|
|
105
|
+
statisticsValue: 'StatisticsValue',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
static types(): { [key: string]: any } {
|
|
110
|
+
return {
|
|
111
|
+
statisticsCount: 'number',
|
|
112
|
+
statisticsValue: 'string',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
super.validate();
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
constructor(map?: { [key: string]: any }) {
|
|
121
|
+
super(map);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export class GetAttackEventDashboardResponseBodyDataSrcIpTopCount extends $dara.Model {
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* Count of statistical values.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* 17
|
|
132
|
+
*/
|
|
133
|
+
statisticsCount?: number;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* Statistical value.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* 140.205.11.**
|
|
140
|
+
*/
|
|
141
|
+
statisticsValue?: string;
|
|
142
|
+
static names(): { [key: string]: string } {
|
|
143
|
+
return {
|
|
144
|
+
statisticsCount: 'StatisticsCount',
|
|
145
|
+
statisticsValue: 'StatisticsValue',
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
static types(): { [key: string]: any } {
|
|
150
|
+
return {
|
|
151
|
+
statisticsCount: 'number',
|
|
152
|
+
statisticsValue: 'string',
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
validate() {
|
|
157
|
+
super.validate();
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
constructor(map?: { [key: string]: any }) {
|
|
161
|
+
super(map);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export class GetAttackEventDashboardResponseBodyData extends $dara.Model {
|
|
166
|
+
/**
|
|
167
|
+
* @remarks
|
|
168
|
+
* Number of attacks.
|
|
169
|
+
*
|
|
170
|
+
* @example
|
|
171
|
+
* 18
|
|
172
|
+
*/
|
|
173
|
+
attackAllCount?: number;
|
|
174
|
+
/**
|
|
175
|
+
* @remarks
|
|
176
|
+
* List of attack counts by attacked asset.
|
|
177
|
+
*/
|
|
178
|
+
attackInstanceTopCount?: GetAttackEventDashboardResponseBodyDataAttackInstanceTopCount[];
|
|
179
|
+
/**
|
|
180
|
+
* @remarks
|
|
181
|
+
* List of attack counts by attack type.
|
|
182
|
+
*/
|
|
183
|
+
attackTypeTopCount?: GetAttackEventDashboardResponseBodyDataAttackTypeTopCount[];
|
|
184
|
+
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* List of attack counts by hour.
|
|
187
|
+
*/
|
|
188
|
+
latestTimeHourCount?: GetAttackEventDashboardResponseBodyDataLatestTimeHourCount[];
|
|
189
|
+
/**
|
|
190
|
+
* @remarks
|
|
191
|
+
* List of attack counts by source IP.
|
|
192
|
+
*/
|
|
193
|
+
srcIpTopCount?: GetAttackEventDashboardResponseBodyDataSrcIpTopCount[];
|
|
194
|
+
static names(): { [key: string]: string } {
|
|
195
|
+
return {
|
|
196
|
+
attackAllCount: 'AttackAllCount',
|
|
197
|
+
attackInstanceTopCount: 'AttackInstanceTopCount',
|
|
198
|
+
attackTypeTopCount: 'AttackTypeTopCount',
|
|
199
|
+
latestTimeHourCount: 'LatestTimeHourCount',
|
|
200
|
+
srcIpTopCount: 'SrcIpTopCount',
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
static types(): { [key: string]: any } {
|
|
205
|
+
return {
|
|
206
|
+
attackAllCount: 'number',
|
|
207
|
+
attackInstanceTopCount: { 'type': 'array', 'itemType': GetAttackEventDashboardResponseBodyDataAttackInstanceTopCount },
|
|
208
|
+
attackTypeTopCount: { 'type': 'array', 'itemType': GetAttackEventDashboardResponseBodyDataAttackTypeTopCount },
|
|
209
|
+
latestTimeHourCount: { 'type': 'array', 'itemType': GetAttackEventDashboardResponseBodyDataLatestTimeHourCount },
|
|
210
|
+
srcIpTopCount: { 'type': 'array', 'itemType': GetAttackEventDashboardResponseBodyDataSrcIpTopCount },
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
validate() {
|
|
215
|
+
if(Array.isArray(this.attackInstanceTopCount)) {
|
|
216
|
+
$dara.Model.validateArray(this.attackInstanceTopCount);
|
|
217
|
+
}
|
|
218
|
+
if(Array.isArray(this.attackTypeTopCount)) {
|
|
219
|
+
$dara.Model.validateArray(this.attackTypeTopCount);
|
|
220
|
+
}
|
|
221
|
+
if(Array.isArray(this.latestTimeHourCount)) {
|
|
222
|
+
$dara.Model.validateArray(this.latestTimeHourCount);
|
|
223
|
+
}
|
|
224
|
+
if(Array.isArray(this.srcIpTopCount)) {
|
|
225
|
+
$dara.Model.validateArray(this.srcIpTopCount);
|
|
226
|
+
}
|
|
227
|
+
super.validate();
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
constructor(map?: { [key: string]: any }) {
|
|
231
|
+
super(map);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export class GetAttackEventDashboardResponseBody extends $dara.Model {
|
|
236
|
+
/**
|
|
237
|
+
* @remarks
|
|
238
|
+
* Result code, **200** indicates success, any other value indicates failure. The caller can use this field to determine the reason for the failure.
|
|
239
|
+
*
|
|
240
|
+
* @example
|
|
241
|
+
* 200
|
|
242
|
+
*/
|
|
243
|
+
code?: string;
|
|
244
|
+
/**
|
|
245
|
+
* @remarks
|
|
246
|
+
* Returned data.
|
|
247
|
+
*/
|
|
248
|
+
data?: GetAttackEventDashboardResponseBodyData;
|
|
249
|
+
/**
|
|
250
|
+
* @remarks
|
|
251
|
+
* The HTTP response status code, 200 indicates that the request was sent successfully.
|
|
252
|
+
*
|
|
253
|
+
* @example
|
|
254
|
+
* 200
|
|
255
|
+
*/
|
|
256
|
+
httpStatusCode?: number;
|
|
257
|
+
/**
|
|
258
|
+
* @remarks
|
|
259
|
+
* The message returned by the API request.
|
|
260
|
+
*
|
|
261
|
+
* @example
|
|
262
|
+
* successful
|
|
263
|
+
*/
|
|
264
|
+
message?: string;
|
|
265
|
+
/**
|
|
266
|
+
* @remarks
|
|
267
|
+
* The ID of this call request, which is a unique identifier generated by Alibaba Cloud for the request and can be used for troubleshooting and problem localization.
|
|
268
|
+
*
|
|
269
|
+
* @example
|
|
270
|
+
* F8B6F758-BCD4-597A-8A2C-DA5A552C****
|
|
271
|
+
*/
|
|
272
|
+
requestId?: string;
|
|
273
|
+
/**
|
|
274
|
+
* @remarks
|
|
275
|
+
* Indicates whether the API call was successful. Values:
|
|
276
|
+
* - **true**: Success
|
|
277
|
+
* - **false**: Failure
|
|
278
|
+
*
|
|
279
|
+
* @example
|
|
280
|
+
* true
|
|
281
|
+
*/
|
|
282
|
+
success?: boolean;
|
|
283
|
+
static names(): { [key: string]: string } {
|
|
284
|
+
return {
|
|
285
|
+
code: 'Code',
|
|
286
|
+
data: 'Data',
|
|
287
|
+
httpStatusCode: 'HttpStatusCode',
|
|
288
|
+
message: 'Message',
|
|
289
|
+
requestId: 'RequestId',
|
|
290
|
+
success: 'Success',
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
static types(): { [key: string]: any } {
|
|
295
|
+
return {
|
|
296
|
+
code: 'string',
|
|
297
|
+
data: GetAttackEventDashboardResponseBodyData,
|
|
298
|
+
httpStatusCode: 'number',
|
|
299
|
+
message: 'string',
|
|
300
|
+
requestId: 'string',
|
|
301
|
+
success: 'boolean',
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
validate() {
|
|
306
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
307
|
+
(this.data as any).validate();
|
|
308
|
+
}
|
|
309
|
+
super.validate();
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
constructor(map?: { [key: string]: any }) {
|
|
313
|
+
super(map);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetAttackEventDetailRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The unique identifier ID for the alert event.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 18825544674********
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The language type for requesting and receiving messages. Values:
|
|
17
|
+
* - **zh**: Chinese.
|
|
18
|
+
* - **en**: English.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* zh
|
|
22
|
+
*/
|
|
23
|
+
lang?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
id: 'Id',
|
|
27
|
+
lang: 'Lang',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
static types(): { [key: string]: any } {
|
|
32
|
+
return {
|
|
33
|
+
id: 'string',
|
|
34
|
+
lang: 'string',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
validate() {
|
|
39
|
+
super.validate();
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
constructor(map?: { [key: string]: any }) {
|
|
43
|
+
super(map);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetAttackEventDetailResponseBody } from "./GetAttackEventDetailResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetAttackEventDetailResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetAttackEventDetailResponseBody;
|
|
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: GetAttackEventDetailResponseBody,
|
|
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,166 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetAttackEventDetailResponseBodyDataCveBeans extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* ID of the CVE vulnerability.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* CVE-2023-39964
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Name of the CVE vulnerability.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1Panel loadfile 后台文件读取漏洞
|
|
20
|
+
*/
|
|
21
|
+
name?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
id: 'Id',
|
|
25
|
+
name: 'Name',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
id: 'string',
|
|
32
|
+
name: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class GetAttackEventDetailResponseBodyData extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* List of CVE vulnerabilities associated with the attack.
|
|
49
|
+
*/
|
|
50
|
+
cveBeans?: GetAttackEventDetailResponseBodyDataCveBeans[];
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* Attack payload.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* 301f02010104067075626c6963a51202017602010002017f3007300506012b0500
|
|
57
|
+
*/
|
|
58
|
+
payload?: string;
|
|
59
|
+
static names(): { [key: string]: string } {
|
|
60
|
+
return {
|
|
61
|
+
cveBeans: 'CveBeans',
|
|
62
|
+
payload: 'Payload',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
static types(): { [key: string]: any } {
|
|
67
|
+
return {
|
|
68
|
+
cveBeans: { 'type': 'array', 'itemType': GetAttackEventDetailResponseBodyDataCveBeans },
|
|
69
|
+
payload: 'string',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
validate() {
|
|
74
|
+
if(Array.isArray(this.cveBeans)) {
|
|
75
|
+
$dara.Model.validateArray(this.cveBeans);
|
|
76
|
+
}
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export class GetAttackEventDetailResponseBody extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* Result code, **200** indicates success, any other value indicates failure. The caller can use this field to determine the reason for the failure.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* 200
|
|
92
|
+
*/
|
|
93
|
+
code?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* Returned data.
|
|
97
|
+
*/
|
|
98
|
+
data?: GetAttackEventDetailResponseBodyData;
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* HTTP status code of the request result.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* 200
|
|
105
|
+
*/
|
|
106
|
+
httpStatusCode?: number;
|
|
107
|
+
/**
|
|
108
|
+
* @remarks
|
|
109
|
+
* Export result prompt message. Fixed value: **success**. Indicates that the export was successful.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* successful
|
|
113
|
+
*/
|
|
114
|
+
message?: string;
|
|
115
|
+
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* The ID of this request, which is a unique identifier generated by Alibaba Cloud for the request. It can be used for troubleshooting and problem localization.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* F8B6F758-BCD4-597A-8A2C-DA5A552C****
|
|
121
|
+
*/
|
|
122
|
+
requestId?: string;
|
|
123
|
+
/**
|
|
124
|
+
* @remarks
|
|
125
|
+
* Indicates whether this request was successful. Values:
|
|
126
|
+
* - **true**: The API call was successful
|
|
127
|
+
* - **false**: The API call failed
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* true
|
|
131
|
+
*/
|
|
132
|
+
success?: boolean;
|
|
133
|
+
static names(): { [key: string]: string } {
|
|
134
|
+
return {
|
|
135
|
+
code: 'Code',
|
|
136
|
+
data: 'Data',
|
|
137
|
+
httpStatusCode: 'HttpStatusCode',
|
|
138
|
+
message: 'Message',
|
|
139
|
+
requestId: 'RequestId',
|
|
140
|
+
success: 'Success',
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
static types(): { [key: string]: any } {
|
|
145
|
+
return {
|
|
146
|
+
code: 'string',
|
|
147
|
+
data: GetAttackEventDetailResponseBodyData,
|
|
148
|
+
httpStatusCode: 'number',
|
|
149
|
+
message: 'string',
|
|
150
|
+
requestId: 'string',
|
|
151
|
+
success: 'boolean',
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
validate() {
|
|
156
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
157
|
+
(this.data as any).validate();
|
|
158
|
+
}
|
|
159
|
+
super.validate();
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
constructor(map?: { [key: string]: any }) {
|
|
163
|
+
super(map);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetCheckCountStatisticRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 语言参数
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* zh
|
|
9
12
|
*/
|
|
@@ -24,6 +27,9 @@ export class GetCheckCountStatisticRequest extends $dara.Model {
|
|
|
24
27
|
/**
|
|
25
28
|
* @remarks
|
|
26
29
|
* Task source.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* zh
|
|
27
33
|
*/
|
|
28
34
|
taskSources?: string[];
|
|
29
35
|
/**
|
|
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetCheckCountStatisticResponseBodyCheckCountStatisticDTOCheckCountStatisticItems extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 检查项展示名称
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 开启公网访问
|
|
9
12
|
*/
|
|
@@ -184,6 +187,9 @@ export class GetCheckCountStatisticResponseBodyCheckCountStatisticDTOCheckCountS
|
|
|
184
187
|
*/
|
|
185
188
|
vendor?: number;
|
|
186
189
|
/**
|
|
190
|
+
* @remarks
|
|
191
|
+
* 厂商名称
|
|
192
|
+
*
|
|
187
193
|
* @example
|
|
188
194
|
* 阿里云
|
|
189
195
|
*/
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetClusterCheckSummaryRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* ID of the queried cluster
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* c3aaf6c8085f84791882eef200cd2****
|
|
14
|
+
*/
|
|
15
|
+
clusterId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
clusterId: 'ClusterId',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
clusterId: 'string',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
validate() {
|
|
29
|
+
super.validate();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constructor(map?: { [key: string]: any }) {
|
|
33
|
+
super(map);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetClusterCheckSummaryResponseBody } from "./GetClusterCheckSummaryResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetClusterCheckSummaryResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetClusterCheckSummaryResponseBody;
|
|
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: GetClusterCheckSummaryResponseBody,
|
|
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
|
+
|