@alicloud/sas20181203 2.22.0 → 2.23.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 +38 -0
- package/dist/client.js +77 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +97 -0
package/dist/client.d.ts
CHANGED
|
@@ -8196,6 +8196,37 @@ export declare class DescribeFieldStatisticsResponse extends $tea.Model {
|
|
|
8196
8196
|
[key: string]: any;
|
|
8197
8197
|
});
|
|
8198
8198
|
}
|
|
8199
|
+
export declare class DescribeFixUsedCountResponseBody extends $tea.Model {
|
|
8200
|
+
requestId?: string;
|
|
8201
|
+
usedCount?: number;
|
|
8202
|
+
usedCountCn?: number;
|
|
8203
|
+
usedCountSg?: number;
|
|
8204
|
+
static names(): {
|
|
8205
|
+
[key: string]: string;
|
|
8206
|
+
};
|
|
8207
|
+
static types(): {
|
|
8208
|
+
[key: string]: any;
|
|
8209
|
+
};
|
|
8210
|
+
constructor(map?: {
|
|
8211
|
+
[key: string]: any;
|
|
8212
|
+
});
|
|
8213
|
+
}
|
|
8214
|
+
export declare class DescribeFixUsedCountResponse extends $tea.Model {
|
|
8215
|
+
headers: {
|
|
8216
|
+
[key: string]: string;
|
|
8217
|
+
};
|
|
8218
|
+
statusCode: number;
|
|
8219
|
+
body: DescribeFixUsedCountResponseBody;
|
|
8220
|
+
static names(): {
|
|
8221
|
+
[key: string]: string;
|
|
8222
|
+
};
|
|
8223
|
+
static types(): {
|
|
8224
|
+
[key: string]: any;
|
|
8225
|
+
};
|
|
8226
|
+
constructor(map?: {
|
|
8227
|
+
[key: string]: any;
|
|
8228
|
+
});
|
|
8229
|
+
}
|
|
8199
8230
|
export declare class DescribeFrontVulPatchListRequest extends $tea.Model {
|
|
8200
8231
|
info?: string;
|
|
8201
8232
|
lang?: string;
|
|
@@ -23269,6 +23300,7 @@ export declare class ListVirusScanMachineResponse extends $tea.Model {
|
|
|
23269
23300
|
}
|
|
23270
23301
|
export declare class ListVirusScanMachineEventRequest extends $tea.Model {
|
|
23271
23302
|
currentPage?: number;
|
|
23303
|
+
lang?: string;
|
|
23272
23304
|
operateTaskId?: string;
|
|
23273
23305
|
pageSize?: number;
|
|
23274
23306
|
uuid?: string;
|
|
@@ -25637,6 +25669,7 @@ export declare class ModifyTagWithUuidRequest extends $tea.Model {
|
|
|
25637
25669
|
machineTypes?: string;
|
|
25638
25670
|
tagId?: string;
|
|
25639
25671
|
tagList?: string;
|
|
25672
|
+
target?: string;
|
|
25640
25673
|
uuidList?: string;
|
|
25641
25674
|
static names(): {
|
|
25642
25675
|
[key: string]: string;
|
|
@@ -32039,6 +32072,7 @@ export declare class DescribeCheckWarningsResponseBodyCheckWarnings extends $tea
|
|
|
32039
32072
|
execErrorMessage?: string;
|
|
32040
32073
|
fixStatus?: number;
|
|
32041
32074
|
item?: string;
|
|
32075
|
+
lastHandleTime?: number;
|
|
32042
32076
|
level?: string;
|
|
32043
32077
|
reason?: string;
|
|
32044
32078
|
status?: number;
|
|
@@ -32975,6 +33009,8 @@ export declare class DescribeGroupedContainerInstancesResponseBodyGroupedContain
|
|
|
32975
33009
|
riskInstanceCount?: number;
|
|
32976
33010
|
riskLevel?: string;
|
|
32977
33011
|
riskStatus?: string;
|
|
33012
|
+
syncOpen?: number;
|
|
33013
|
+
syncStatus?: number;
|
|
32978
33014
|
vulCount?: number;
|
|
32979
33015
|
static names(): {
|
|
32980
33016
|
[key: string]: string;
|
|
@@ -43614,6 +43650,8 @@ export default class Client extends OpenApi {
|
|
|
43614
43650
|
describeExposedStatisticsDetail(request: DescribeExposedStatisticsDetailRequest): Promise<DescribeExposedStatisticsDetailResponse>;
|
|
43615
43651
|
describeFieldStatisticsWithOptions(request: DescribeFieldStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFieldStatisticsResponse>;
|
|
43616
43652
|
describeFieldStatistics(request: DescribeFieldStatisticsRequest): Promise<DescribeFieldStatisticsResponse>;
|
|
43653
|
+
describeFixUsedCountWithOptions(runtime: $Util.RuntimeOptions): Promise<DescribeFixUsedCountResponse>;
|
|
43654
|
+
describeFixUsedCount(): Promise<DescribeFixUsedCountResponse>;
|
|
43617
43655
|
describeFrontVulPatchListWithOptions(request: DescribeFrontVulPatchListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFrontVulPatchListResponse>;
|
|
43618
43656
|
describeFrontVulPatchList(request: DescribeFrontVulPatchListRequest): Promise<DescribeFrontVulPatchListResponse>;
|
|
43619
43657
|
describeGroupStructWithOptions(request: DescribeGroupStructRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupStructResponse>;
|
package/dist/client.js
CHANGED
|
@@ -11279,6 +11279,48 @@ class DescribeFieldStatisticsResponse extends $tea.Model {
|
|
|
11279
11279
|
}
|
|
11280
11280
|
}
|
|
11281
11281
|
exports.DescribeFieldStatisticsResponse = DescribeFieldStatisticsResponse;
|
|
11282
|
+
class DescribeFixUsedCountResponseBody extends $tea.Model {
|
|
11283
|
+
constructor(map) {
|
|
11284
|
+
super(map);
|
|
11285
|
+
}
|
|
11286
|
+
static names() {
|
|
11287
|
+
return {
|
|
11288
|
+
requestId: 'RequestId',
|
|
11289
|
+
usedCount: 'UsedCount',
|
|
11290
|
+
usedCountCn: 'UsedCountCn',
|
|
11291
|
+
usedCountSg: 'UsedCountSg',
|
|
11292
|
+
};
|
|
11293
|
+
}
|
|
11294
|
+
static types() {
|
|
11295
|
+
return {
|
|
11296
|
+
requestId: 'string',
|
|
11297
|
+
usedCount: 'number',
|
|
11298
|
+
usedCountCn: 'number',
|
|
11299
|
+
usedCountSg: 'number',
|
|
11300
|
+
};
|
|
11301
|
+
}
|
|
11302
|
+
}
|
|
11303
|
+
exports.DescribeFixUsedCountResponseBody = DescribeFixUsedCountResponseBody;
|
|
11304
|
+
class DescribeFixUsedCountResponse extends $tea.Model {
|
|
11305
|
+
constructor(map) {
|
|
11306
|
+
super(map);
|
|
11307
|
+
}
|
|
11308
|
+
static names() {
|
|
11309
|
+
return {
|
|
11310
|
+
headers: 'headers',
|
|
11311
|
+
statusCode: 'statusCode',
|
|
11312
|
+
body: 'body',
|
|
11313
|
+
};
|
|
11314
|
+
}
|
|
11315
|
+
static types() {
|
|
11316
|
+
return {
|
|
11317
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
11318
|
+
statusCode: 'number',
|
|
11319
|
+
body: DescribeFixUsedCountResponseBody,
|
|
11320
|
+
};
|
|
11321
|
+
}
|
|
11322
|
+
}
|
|
11323
|
+
exports.DescribeFixUsedCountResponse = DescribeFixUsedCountResponse;
|
|
11282
11324
|
class DescribeFrontVulPatchListRequest extends $tea.Model {
|
|
11283
11325
|
constructor(map) {
|
|
11284
11326
|
super(map);
|
|
@@ -32268,6 +32310,7 @@ class ListVirusScanMachineEventRequest extends $tea.Model {
|
|
|
32268
32310
|
static names() {
|
|
32269
32311
|
return {
|
|
32270
32312
|
currentPage: 'CurrentPage',
|
|
32313
|
+
lang: 'Lang',
|
|
32271
32314
|
operateTaskId: 'OperateTaskId',
|
|
32272
32315
|
pageSize: 'PageSize',
|
|
32273
32316
|
uuid: 'Uuid',
|
|
@@ -32276,6 +32319,7 @@ class ListVirusScanMachineEventRequest extends $tea.Model {
|
|
|
32276
32319
|
static types() {
|
|
32277
32320
|
return {
|
|
32278
32321
|
currentPage: 'number',
|
|
32322
|
+
lang: 'string',
|
|
32279
32323
|
operateTaskId: 'string',
|
|
32280
32324
|
pageSize: 'number',
|
|
32281
32325
|
uuid: 'string',
|
|
@@ -35510,6 +35554,7 @@ class ModifyTagWithUuidRequest extends $tea.Model {
|
|
|
35510
35554
|
machineTypes: 'MachineTypes',
|
|
35511
35555
|
tagId: 'TagId',
|
|
35512
35556
|
tagList: 'TagList',
|
|
35557
|
+
target: 'Target',
|
|
35513
35558
|
uuidList: 'UuidList',
|
|
35514
35559
|
};
|
|
35515
35560
|
}
|
|
@@ -35518,6 +35563,7 @@ class ModifyTagWithUuidRequest extends $tea.Model {
|
|
|
35518
35563
|
machineTypes: 'string',
|
|
35519
35564
|
tagId: 'string',
|
|
35520
35565
|
tagList: 'string',
|
|
35566
|
+
target: 'string',
|
|
35521
35567
|
uuidList: 'string',
|
|
35522
35568
|
};
|
|
35523
35569
|
}
|
|
@@ -44526,6 +44572,7 @@ class DescribeCheckWarningsResponseBodyCheckWarnings extends $tea.Model {
|
|
|
44526
44572
|
execErrorMessage: 'ExecErrorMessage',
|
|
44527
44573
|
fixStatus: 'FixStatus',
|
|
44528
44574
|
item: 'Item',
|
|
44575
|
+
lastHandleTime: 'LastHandleTime',
|
|
44529
44576
|
level: 'Level',
|
|
44530
44577
|
reason: 'Reason',
|
|
44531
44578
|
status: 'Status',
|
|
@@ -44542,6 +44589,7 @@ class DescribeCheckWarningsResponseBodyCheckWarnings extends $tea.Model {
|
|
|
44542
44589
|
execErrorMessage: 'string',
|
|
44543
44590
|
fixStatus: 'number',
|
|
44544
44591
|
item: 'string',
|
|
44592
|
+
lastHandleTime: 'number',
|
|
44545
44593
|
level: 'string',
|
|
44546
44594
|
reason: 'string',
|
|
44547
44595
|
status: 'number',
|
|
@@ -45969,6 +46017,8 @@ class DescribeGroupedContainerInstancesResponseBodyGroupedContainerInstanceList
|
|
|
45969
46017
|
riskInstanceCount: 'RiskInstanceCount',
|
|
45970
46018
|
riskLevel: 'RiskLevel',
|
|
45971
46019
|
riskStatus: 'RiskStatus',
|
|
46020
|
+
syncOpen: 'SyncOpen',
|
|
46021
|
+
syncStatus: 'SyncStatus',
|
|
45972
46022
|
vulCount: 'VulCount',
|
|
45973
46023
|
};
|
|
45974
46024
|
}
|
|
@@ -45998,6 +46048,8 @@ class DescribeGroupedContainerInstancesResponseBodyGroupedContainerInstanceList
|
|
|
45998
46048
|
riskInstanceCount: 'number',
|
|
45999
46049
|
riskLevel: 'string',
|
|
46000
46050
|
riskStatus: 'string',
|
|
46051
|
+
syncOpen: 'number',
|
|
46052
|
+
syncStatus: 'number',
|
|
46001
46053
|
vulCount: 'number',
|
|
46002
46054
|
};
|
|
46003
46055
|
}
|
|
@@ -67995,6 +68047,25 @@ class Client extends openapi_client_1.default {
|
|
|
67995
68047
|
let runtime = new $Util.RuntimeOptions({});
|
|
67996
68048
|
return await this.describeFieldStatisticsWithOptions(request, runtime);
|
|
67997
68049
|
}
|
|
68050
|
+
async describeFixUsedCountWithOptions(runtime) {
|
|
68051
|
+
let req = new $OpenApi.OpenApiRequest({});
|
|
68052
|
+
let params = new $OpenApi.Params({
|
|
68053
|
+
action: "DescribeFixUsedCount",
|
|
68054
|
+
version: "2018-12-03",
|
|
68055
|
+
protocol: "HTTPS",
|
|
68056
|
+
pathname: "/",
|
|
68057
|
+
method: "POST",
|
|
68058
|
+
authType: "AK",
|
|
68059
|
+
style: "RPC",
|
|
68060
|
+
reqBodyType: "formData",
|
|
68061
|
+
bodyType: "json",
|
|
68062
|
+
});
|
|
68063
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeFixUsedCountResponse({}));
|
|
68064
|
+
}
|
|
68065
|
+
async describeFixUsedCount() {
|
|
68066
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
68067
|
+
return await this.describeFixUsedCountWithOptions(runtime);
|
|
68068
|
+
}
|
|
67998
68069
|
async describeFrontVulPatchListWithOptions(request, runtime) {
|
|
67999
68070
|
tea_util_1.default.validateModel(request);
|
|
68000
68071
|
let query = {};
|
|
@@ -79883,6 +79954,9 @@ class Client extends openapi_client_1.default {
|
|
|
79883
79954
|
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
79884
79955
|
query["CurrentPage"] = request.currentPage;
|
|
79885
79956
|
}
|
|
79957
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
79958
|
+
query["Lang"] = request.lang;
|
|
79959
|
+
}
|
|
79886
79960
|
if (!tea_util_1.default.isUnset(request.operateTaskId)) {
|
|
79887
79961
|
query["OperateTaskId"] = request.operateTaskId;
|
|
79888
79962
|
}
|
|
@@ -81872,6 +81946,9 @@ class Client extends openapi_client_1.default {
|
|
|
81872
81946
|
if (!tea_util_1.default.isUnset(request.tagList)) {
|
|
81873
81947
|
query["TagList"] = request.tagList;
|
|
81874
81948
|
}
|
|
81949
|
+
if (!tea_util_1.default.isUnset(request.target)) {
|
|
81950
|
+
query["Target"] = request.target;
|
|
81951
|
+
}
|
|
81875
81952
|
if (!tea_util_1.default.isUnset(request.uuidList)) {
|
|
81876
81953
|
query["UuidList"] = request.uuidList;
|
|
81877
81954
|
}
|