@alicloud/sas20181203 2.2.2 → 2.3.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 +239 -0
- package/dist/client.js +392 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +484 -0
package/dist/client.d.ts
CHANGED
|
@@ -14497,6 +14497,48 @@ export declare class GetCheckSummaryResponse extends $tea.Model {
|
|
|
14497
14497
|
[key: string]: any;
|
|
14498
14498
|
});
|
|
14499
14499
|
}
|
|
14500
|
+
export declare class GetClientInstallationStatisticRequest extends $tea.Model {
|
|
14501
|
+
timeEnd?: number;
|
|
14502
|
+
timeStart?: number;
|
|
14503
|
+
static names(): {
|
|
14504
|
+
[key: string]: string;
|
|
14505
|
+
};
|
|
14506
|
+
static types(): {
|
|
14507
|
+
[key: string]: any;
|
|
14508
|
+
};
|
|
14509
|
+
constructor(map?: {
|
|
14510
|
+
[key: string]: any;
|
|
14511
|
+
});
|
|
14512
|
+
}
|
|
14513
|
+
export declare class GetClientInstallationStatisticResponseBody extends $tea.Model {
|
|
14514
|
+
clientInstallRatio?: GetClientInstallationStatisticResponseBodyClientInstallRatio;
|
|
14515
|
+
requestId?: string;
|
|
14516
|
+
static names(): {
|
|
14517
|
+
[key: string]: string;
|
|
14518
|
+
};
|
|
14519
|
+
static types(): {
|
|
14520
|
+
[key: string]: any;
|
|
14521
|
+
};
|
|
14522
|
+
constructor(map?: {
|
|
14523
|
+
[key: string]: any;
|
|
14524
|
+
});
|
|
14525
|
+
}
|
|
14526
|
+
export declare class GetClientInstallationStatisticResponse extends $tea.Model {
|
|
14527
|
+
headers: {
|
|
14528
|
+
[key: string]: string;
|
|
14529
|
+
};
|
|
14530
|
+
statusCode: number;
|
|
14531
|
+
body: GetClientInstallationStatisticResponseBody;
|
|
14532
|
+
static names(): {
|
|
14533
|
+
[key: string]: string;
|
|
14534
|
+
};
|
|
14535
|
+
static types(): {
|
|
14536
|
+
[key: string]: any;
|
|
14537
|
+
};
|
|
14538
|
+
constructor(map?: {
|
|
14539
|
+
[key: string]: any;
|
|
14540
|
+
});
|
|
14541
|
+
}
|
|
14500
14542
|
export declare class GetClientRatioStatisticRequest extends $tea.Model {
|
|
14501
14543
|
resourceDirectoryAccountId?: number;
|
|
14502
14544
|
statisticTypes?: string[];
|
|
@@ -16454,6 +16496,50 @@ export declare class ListCheckInstanceResultResponse extends $tea.Model {
|
|
|
16454
16496
|
[key: string]: any;
|
|
16455
16497
|
});
|
|
16456
16498
|
}
|
|
16499
|
+
export declare class ListCheckItemRequest extends $tea.Model {
|
|
16500
|
+
currentPage?: number;
|
|
16501
|
+
lang?: string;
|
|
16502
|
+
pageSize?: number;
|
|
16503
|
+
static names(): {
|
|
16504
|
+
[key: string]: string;
|
|
16505
|
+
};
|
|
16506
|
+
static types(): {
|
|
16507
|
+
[key: string]: any;
|
|
16508
|
+
};
|
|
16509
|
+
constructor(map?: {
|
|
16510
|
+
[key: string]: any;
|
|
16511
|
+
});
|
|
16512
|
+
}
|
|
16513
|
+
export declare class ListCheckItemResponseBody extends $tea.Model {
|
|
16514
|
+
checkItems?: ListCheckItemResponseBodyCheckItems[];
|
|
16515
|
+
pageInfo?: ListCheckItemResponseBodyPageInfo;
|
|
16516
|
+
requestId?: string;
|
|
16517
|
+
static names(): {
|
|
16518
|
+
[key: string]: string;
|
|
16519
|
+
};
|
|
16520
|
+
static types(): {
|
|
16521
|
+
[key: string]: any;
|
|
16522
|
+
};
|
|
16523
|
+
constructor(map?: {
|
|
16524
|
+
[key: string]: any;
|
|
16525
|
+
});
|
|
16526
|
+
}
|
|
16527
|
+
export declare class ListCheckItemResponse extends $tea.Model {
|
|
16528
|
+
headers: {
|
|
16529
|
+
[key: string]: string;
|
|
16530
|
+
};
|
|
16531
|
+
statusCode: number;
|
|
16532
|
+
body: ListCheckItemResponseBody;
|
|
16533
|
+
static names(): {
|
|
16534
|
+
[key: string]: string;
|
|
16535
|
+
};
|
|
16536
|
+
static types(): {
|
|
16537
|
+
[key: string]: any;
|
|
16538
|
+
};
|
|
16539
|
+
constructor(map?: {
|
|
16540
|
+
[key: string]: any;
|
|
16541
|
+
});
|
|
16542
|
+
}
|
|
16457
16543
|
export declare class ListCheckItemWarningMachineRequest extends $tea.Model {
|
|
16458
16544
|
checkId?: number;
|
|
16459
16545
|
containerFieldName?: string;
|
|
@@ -27684,6 +27770,7 @@ export declare class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model
|
|
|
27684
27770
|
k8sNodeId?: string;
|
|
27685
27771
|
k8sNodeName?: string;
|
|
27686
27772
|
k8sPodName?: string;
|
|
27773
|
+
largeModel?: boolean;
|
|
27687
27774
|
lastTime?: string;
|
|
27688
27775
|
lastTimeStamp?: number;
|
|
27689
27776
|
level?: string;
|
|
@@ -28218,6 +28305,7 @@ export declare class DescribeVulDetailsResponseBodyCves extends $tea.Model {
|
|
|
28218
28305
|
instanceName?: string;
|
|
28219
28306
|
internetIp?: string;
|
|
28220
28307
|
intranetIp?: string;
|
|
28308
|
+
otherId?: string;
|
|
28221
28309
|
poc?: string;
|
|
28222
28310
|
pocCreateTime?: number;
|
|
28223
28311
|
pocDisclosureTime?: number;
|
|
@@ -29144,6 +29232,76 @@ export declare class GetCheckSummaryResponseBodySummarys extends $tea.Model {
|
|
|
29144
29232
|
[key: string]: any;
|
|
29145
29233
|
});
|
|
29146
29234
|
}
|
|
29235
|
+
export declare class GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems extends $tea.Model {
|
|
29236
|
+
assetTotalCount?: number;
|
|
29237
|
+
calculateTime?: number;
|
|
29238
|
+
installRatio?: number;
|
|
29239
|
+
installedAssetCount?: number;
|
|
29240
|
+
static names(): {
|
|
29241
|
+
[key: string]: string;
|
|
29242
|
+
};
|
|
29243
|
+
static types(): {
|
|
29244
|
+
[key: string]: any;
|
|
29245
|
+
};
|
|
29246
|
+
constructor(map?: {
|
|
29247
|
+
[key: string]: any;
|
|
29248
|
+
});
|
|
29249
|
+
}
|
|
29250
|
+
export declare class GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems extends $tea.Model {
|
|
29251
|
+
items?: GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems[];
|
|
29252
|
+
vendor?: number;
|
|
29253
|
+
static names(): {
|
|
29254
|
+
[key: string]: string;
|
|
29255
|
+
};
|
|
29256
|
+
static types(): {
|
|
29257
|
+
[key: string]: any;
|
|
29258
|
+
};
|
|
29259
|
+
constructor(map?: {
|
|
29260
|
+
[key: string]: any;
|
|
29261
|
+
});
|
|
29262
|
+
}
|
|
29263
|
+
export declare class GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems extends $tea.Model {
|
|
29264
|
+
assetTotalCount?: number;
|
|
29265
|
+
calculateTime?: number;
|
|
29266
|
+
installRatio?: number;
|
|
29267
|
+
installedAssetCount?: number;
|
|
29268
|
+
static names(): {
|
|
29269
|
+
[key: string]: string;
|
|
29270
|
+
};
|
|
29271
|
+
static types(): {
|
|
29272
|
+
[key: string]: any;
|
|
29273
|
+
};
|
|
29274
|
+
constructor(map?: {
|
|
29275
|
+
[key: string]: any;
|
|
29276
|
+
});
|
|
29277
|
+
}
|
|
29278
|
+
export declare class GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems extends $tea.Model {
|
|
29279
|
+
items?: GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems[];
|
|
29280
|
+
vendor?: number;
|
|
29281
|
+
static names(): {
|
|
29282
|
+
[key: string]: string;
|
|
29283
|
+
};
|
|
29284
|
+
static types(): {
|
|
29285
|
+
[key: string]: any;
|
|
29286
|
+
};
|
|
29287
|
+
constructor(map?: {
|
|
29288
|
+
[key: string]: any;
|
|
29289
|
+
});
|
|
29290
|
+
}
|
|
29291
|
+
export declare class GetClientInstallationStatisticResponseBodyClientInstallRatio extends $tea.Model {
|
|
29292
|
+
currentItems?: GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems[];
|
|
29293
|
+
dates?: number[];
|
|
29294
|
+
historyItems?: GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems[];
|
|
29295
|
+
static names(): {
|
|
29296
|
+
[key: string]: string;
|
|
29297
|
+
};
|
|
29298
|
+
static types(): {
|
|
29299
|
+
[key: string]: any;
|
|
29300
|
+
};
|
|
29301
|
+
constructor(map?: {
|
|
29302
|
+
[key: string]: any;
|
|
29303
|
+
});
|
|
29304
|
+
}
|
|
29147
29305
|
export declare class GetClientRatioStatisticResponseBodyClientInstallRatioCurrentItemsItems extends $tea.Model {
|
|
29148
29306
|
assetTotalCount?: number;
|
|
29149
29307
|
calculateTime?: number;
|
|
@@ -30156,6 +30314,70 @@ export declare class ListCheckInstanceResultResponseBodyPageInfo extends $tea.Mo
|
|
|
30156
30314
|
[key: string]: any;
|
|
30157
30315
|
});
|
|
30158
30316
|
}
|
|
30317
|
+
export declare class ListCheckItemResponseBodyCheckItemsCustomConfigs extends $tea.Model {
|
|
30318
|
+
defaultValue?: string;
|
|
30319
|
+
name?: string;
|
|
30320
|
+
showName?: string;
|
|
30321
|
+
typeDefine?: string;
|
|
30322
|
+
value?: string;
|
|
30323
|
+
static names(): {
|
|
30324
|
+
[key: string]: string;
|
|
30325
|
+
};
|
|
30326
|
+
static types(): {
|
|
30327
|
+
[key: string]: any;
|
|
30328
|
+
};
|
|
30329
|
+
constructor(map?: {
|
|
30330
|
+
[key: string]: any;
|
|
30331
|
+
});
|
|
30332
|
+
}
|
|
30333
|
+
export declare class ListCheckItemResponseBodyCheckItemsDescription extends $tea.Model {
|
|
30334
|
+
type?: string;
|
|
30335
|
+
value?: string;
|
|
30336
|
+
static names(): {
|
|
30337
|
+
[key: string]: string;
|
|
30338
|
+
};
|
|
30339
|
+
static types(): {
|
|
30340
|
+
[key: string]: any;
|
|
30341
|
+
};
|
|
30342
|
+
constructor(map?: {
|
|
30343
|
+
[key: string]: any;
|
|
30344
|
+
});
|
|
30345
|
+
}
|
|
30346
|
+
export declare class ListCheckItemResponseBodyCheckItems extends $tea.Model {
|
|
30347
|
+
checkId?: number;
|
|
30348
|
+
checkShowName?: string;
|
|
30349
|
+
customConfigs?: ListCheckItemResponseBodyCheckItemsCustomConfigs[];
|
|
30350
|
+
description?: ListCheckItemResponseBodyCheckItemsDescription;
|
|
30351
|
+
instanceSubType?: string;
|
|
30352
|
+
instanceType?: string;
|
|
30353
|
+
riskLevel?: string;
|
|
30354
|
+
sectionIds?: number[];
|
|
30355
|
+
vendor?: string;
|
|
30356
|
+
static names(): {
|
|
30357
|
+
[key: string]: string;
|
|
30358
|
+
};
|
|
30359
|
+
static types(): {
|
|
30360
|
+
[key: string]: any;
|
|
30361
|
+
};
|
|
30362
|
+
constructor(map?: {
|
|
30363
|
+
[key: string]: any;
|
|
30364
|
+
});
|
|
30365
|
+
}
|
|
30366
|
+
export declare class ListCheckItemResponseBodyPageInfo extends $tea.Model {
|
|
30367
|
+
count?: number;
|
|
30368
|
+
currentPage?: number;
|
|
30369
|
+
pageSize?: number;
|
|
30370
|
+
totalCount?: number;
|
|
30371
|
+
static names(): {
|
|
30372
|
+
[key: string]: string;
|
|
30373
|
+
};
|
|
30374
|
+
static types(): {
|
|
30375
|
+
[key: string]: any;
|
|
30376
|
+
};
|
|
30377
|
+
constructor(map?: {
|
|
30378
|
+
[key: string]: any;
|
|
30379
|
+
});
|
|
30380
|
+
}
|
|
30159
30381
|
export declare class ListCheckItemWarningMachineResponseBodyListFixList extends $tea.Model {
|
|
30160
30382
|
riskId?: number;
|
|
30161
30383
|
riskName?: string;
|
|
@@ -32596,6 +32818,21 @@ export default class Client extends OpenApi {
|
|
|
32596
32818
|
getCheckRiskStatistics(request: GetCheckRiskStatisticsRequest): Promise<GetCheckRiskStatisticsResponse>;
|
|
32597
32819
|
getCheckSummaryWithOptions(request: GetCheckSummaryRequest, runtime: $Util.RuntimeOptions): Promise<GetCheckSummaryResponse>;
|
|
32598
32820
|
getCheckSummary(request: GetCheckSummaryRequest): Promise<GetCheckSummaryResponse>;
|
|
32821
|
+
/**
|
|
32822
|
+
* @deprecated : GetClientInstallationStatistic is deprecated, please use Sas::2018-12-03::GetClientRatioStatistic instead.
|
|
32823
|
+
*
|
|
32824
|
+
* @param request GetClientInstallationStatisticRequest
|
|
32825
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32826
|
+
* @return GetClientInstallationStatisticResponse
|
|
32827
|
+
*/
|
|
32828
|
+
getClientInstallationStatisticWithOptions(request: GetClientInstallationStatisticRequest, runtime: $Util.RuntimeOptions): Promise<GetClientInstallationStatisticResponse>;
|
|
32829
|
+
/**
|
|
32830
|
+
* @deprecated : GetClientInstallationStatistic is deprecated, please use Sas::2018-12-03::GetClientRatioStatistic instead.
|
|
32831
|
+
*
|
|
32832
|
+
* @param request GetClientInstallationStatisticRequest
|
|
32833
|
+
* @return GetClientInstallationStatisticResponse
|
|
32834
|
+
*/
|
|
32835
|
+
getClientInstallationStatistic(request: GetClientInstallationStatisticRequest): Promise<GetClientInstallationStatisticResponse>;
|
|
32599
32836
|
getClientRatioStatisticWithOptions(request: GetClientRatioStatisticRequest, runtime: $Util.RuntimeOptions): Promise<GetClientRatioStatisticResponse>;
|
|
32600
32837
|
getClientRatioStatistic(request: GetClientRatioStatisticRequest): Promise<GetClientRatioStatisticResponse>;
|
|
32601
32838
|
getClientUserDefineRuleWithOptions(request: GetClientUserDefineRuleRequest, runtime: $Util.RuntimeOptions): Promise<GetClientUserDefineRuleResponse>;
|
|
@@ -32714,6 +32951,8 @@ export default class Client extends OpenApi {
|
|
|
32714
32951
|
listAvailableHoneypot(request: ListAvailableHoneypotRequest): Promise<ListAvailableHoneypotResponse>;
|
|
32715
32952
|
listCheckInstanceResultWithOptions(request: ListCheckInstanceResultRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckInstanceResultResponse>;
|
|
32716
32953
|
listCheckInstanceResult(request: ListCheckInstanceResultRequest): Promise<ListCheckInstanceResultResponse>;
|
|
32954
|
+
listCheckItemWithOptions(request: ListCheckItemRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckItemResponse>;
|
|
32955
|
+
listCheckItem(request: ListCheckItemRequest): Promise<ListCheckItemResponse>;
|
|
32717
32956
|
listCheckItemWarningMachineWithOptions(request: ListCheckItemWarningMachineRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckItemWarningMachineResponse>;
|
|
32718
32957
|
listCheckItemWarningMachine(request: ListCheckItemWarningMachineRequest): Promise<ListCheckItemWarningMachineResponse>;
|
|
32719
32958
|
listCheckItemWarningSummaryWithOptions(request: ListCheckItemWarningSummaryRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckItemWarningSummaryResponse>;
|