@alicloud/sas20181203 2.9.1 → 2.11.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 +320 -0
- package/dist/client.js +548 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +670 -0
package/dist/client.d.ts
CHANGED
|
@@ -471,6 +471,48 @@ export declare class AddPrivateRegistryResponse extends $tea.Model {
|
|
|
471
471
|
[key: string]: any;
|
|
472
472
|
});
|
|
473
473
|
}
|
|
474
|
+
export declare class AddSasModuleTrialRequest extends $tea.Model {
|
|
475
|
+
lang?: string;
|
|
476
|
+
moduleCode?: string;
|
|
477
|
+
static names(): {
|
|
478
|
+
[key: string]: string;
|
|
479
|
+
};
|
|
480
|
+
static types(): {
|
|
481
|
+
[key: string]: any;
|
|
482
|
+
};
|
|
483
|
+
constructor(map?: {
|
|
484
|
+
[key: string]: any;
|
|
485
|
+
});
|
|
486
|
+
}
|
|
487
|
+
export declare class AddSasModuleTrialResponseBody extends $tea.Model {
|
|
488
|
+
data?: AddSasModuleTrialResponseBodyData;
|
|
489
|
+
requestId?: string;
|
|
490
|
+
static names(): {
|
|
491
|
+
[key: string]: string;
|
|
492
|
+
};
|
|
493
|
+
static types(): {
|
|
494
|
+
[key: string]: any;
|
|
495
|
+
};
|
|
496
|
+
constructor(map?: {
|
|
497
|
+
[key: string]: any;
|
|
498
|
+
});
|
|
499
|
+
}
|
|
500
|
+
export declare class AddSasModuleTrialResponse extends $tea.Model {
|
|
501
|
+
headers: {
|
|
502
|
+
[key: string]: string;
|
|
503
|
+
};
|
|
504
|
+
statusCode: number;
|
|
505
|
+
body: AddSasModuleTrialResponseBody;
|
|
506
|
+
static names(): {
|
|
507
|
+
[key: string]: string;
|
|
508
|
+
};
|
|
509
|
+
static types(): {
|
|
510
|
+
[key: string]: any;
|
|
511
|
+
};
|
|
512
|
+
constructor(map?: {
|
|
513
|
+
[key: string]: any;
|
|
514
|
+
});
|
|
515
|
+
}
|
|
474
516
|
export declare class AddTagWithUuidRequest extends $tea.Model {
|
|
475
517
|
tagName?: string;
|
|
476
518
|
uuidList?: string;
|
|
@@ -15931,6 +15973,7 @@ export declare class GetCloudAssetSummaryResponse extends $tea.Model {
|
|
|
15931
15973
|
}
|
|
15932
15974
|
export declare class GetClusterCheckItemWarningStatisticsRequest extends $tea.Model {
|
|
15933
15975
|
clusterId?: string;
|
|
15976
|
+
uuid?: string;
|
|
15934
15977
|
static names(): {
|
|
15935
15978
|
[key: string]: string;
|
|
15936
15979
|
};
|
|
@@ -17116,6 +17159,48 @@ export declare class GetModuleConfigResponse extends $tea.Model {
|
|
|
17116
17159
|
[key: string]: any;
|
|
17117
17160
|
});
|
|
17118
17161
|
}
|
|
17162
|
+
export declare class GetModuleTrialAuthInfoRequest extends $tea.Model {
|
|
17163
|
+
lang?: string;
|
|
17164
|
+
moduleCode?: string;
|
|
17165
|
+
static names(): {
|
|
17166
|
+
[key: string]: string;
|
|
17167
|
+
};
|
|
17168
|
+
static types(): {
|
|
17169
|
+
[key: string]: any;
|
|
17170
|
+
};
|
|
17171
|
+
constructor(map?: {
|
|
17172
|
+
[key: string]: any;
|
|
17173
|
+
});
|
|
17174
|
+
}
|
|
17175
|
+
export declare class GetModuleTrialAuthInfoResponseBody extends $tea.Model {
|
|
17176
|
+
data?: GetModuleTrialAuthInfoResponseBodyData;
|
|
17177
|
+
requestId?: string;
|
|
17178
|
+
static names(): {
|
|
17179
|
+
[key: string]: string;
|
|
17180
|
+
};
|
|
17181
|
+
static types(): {
|
|
17182
|
+
[key: string]: any;
|
|
17183
|
+
};
|
|
17184
|
+
constructor(map?: {
|
|
17185
|
+
[key: string]: any;
|
|
17186
|
+
});
|
|
17187
|
+
}
|
|
17188
|
+
export declare class GetModuleTrialAuthInfoResponse extends $tea.Model {
|
|
17189
|
+
headers: {
|
|
17190
|
+
[key: string]: string;
|
|
17191
|
+
};
|
|
17192
|
+
statusCode: number;
|
|
17193
|
+
body: GetModuleTrialAuthInfoResponseBody;
|
|
17194
|
+
static names(): {
|
|
17195
|
+
[key: string]: string;
|
|
17196
|
+
};
|
|
17197
|
+
static types(): {
|
|
17198
|
+
[key: string]: any;
|
|
17199
|
+
};
|
|
17200
|
+
constructor(map?: {
|
|
17201
|
+
[key: string]: any;
|
|
17202
|
+
});
|
|
17203
|
+
}
|
|
17119
17204
|
export declare class GetObjectScanEventRequest extends $tea.Model {
|
|
17120
17205
|
eventId?: string;
|
|
17121
17206
|
lang?: string;
|
|
@@ -19075,6 +19160,7 @@ export declare class ListCheckItemWarningSummaryRequest extends $tea.Model {
|
|
|
19075
19160
|
pageSize?: number;
|
|
19076
19161
|
riskType?: string;
|
|
19077
19162
|
source?: string;
|
|
19163
|
+
uuidList?: string[];
|
|
19078
19164
|
static names(): {
|
|
19079
19165
|
[key: string]: string;
|
|
19080
19166
|
};
|
|
@@ -20372,6 +20458,88 @@ export declare class ListInstanceCatalogResponse extends $tea.Model {
|
|
|
20372
20458
|
[key: string]: any;
|
|
20373
20459
|
});
|
|
20374
20460
|
}
|
|
20461
|
+
export declare class ListInstanceRiskLevelsRequest extends $tea.Model {
|
|
20462
|
+
instanceList?: ListInstanceRiskLevelsRequestInstanceList[];
|
|
20463
|
+
static names(): {
|
|
20464
|
+
[key: string]: string;
|
|
20465
|
+
};
|
|
20466
|
+
static types(): {
|
|
20467
|
+
[key: string]: any;
|
|
20468
|
+
};
|
|
20469
|
+
constructor(map?: {
|
|
20470
|
+
[key: string]: any;
|
|
20471
|
+
});
|
|
20472
|
+
}
|
|
20473
|
+
export declare class ListInstanceRiskLevelsResponseBody extends $tea.Model {
|
|
20474
|
+
instanceRiskLevels?: ListInstanceRiskLevelsResponseBodyInstanceRiskLevels[];
|
|
20475
|
+
requestId?: string;
|
|
20476
|
+
static names(): {
|
|
20477
|
+
[key: string]: string;
|
|
20478
|
+
};
|
|
20479
|
+
static types(): {
|
|
20480
|
+
[key: string]: any;
|
|
20481
|
+
};
|
|
20482
|
+
constructor(map?: {
|
|
20483
|
+
[key: string]: any;
|
|
20484
|
+
});
|
|
20485
|
+
}
|
|
20486
|
+
export declare class ListInstanceRiskLevelsResponse extends $tea.Model {
|
|
20487
|
+
headers: {
|
|
20488
|
+
[key: string]: string;
|
|
20489
|
+
};
|
|
20490
|
+
statusCode: number;
|
|
20491
|
+
body: ListInstanceRiskLevelsResponseBody;
|
|
20492
|
+
static names(): {
|
|
20493
|
+
[key: string]: string;
|
|
20494
|
+
};
|
|
20495
|
+
static types(): {
|
|
20496
|
+
[key: string]: any;
|
|
20497
|
+
};
|
|
20498
|
+
constructor(map?: {
|
|
20499
|
+
[key: string]: any;
|
|
20500
|
+
});
|
|
20501
|
+
}
|
|
20502
|
+
export declare class ListInstanceRiskNumRequest extends $tea.Model {
|
|
20503
|
+
instanceList?: ListInstanceRiskNumRequestInstanceList[];
|
|
20504
|
+
static names(): {
|
|
20505
|
+
[key: string]: string;
|
|
20506
|
+
};
|
|
20507
|
+
static types(): {
|
|
20508
|
+
[key: string]: any;
|
|
20509
|
+
};
|
|
20510
|
+
constructor(map?: {
|
|
20511
|
+
[key: string]: any;
|
|
20512
|
+
});
|
|
20513
|
+
}
|
|
20514
|
+
export declare class ListInstanceRiskNumResponseBody extends $tea.Model {
|
|
20515
|
+
instanceRiskNum?: ListInstanceRiskNumResponseBodyInstanceRiskNum[];
|
|
20516
|
+
requestId?: string;
|
|
20517
|
+
static names(): {
|
|
20518
|
+
[key: string]: string;
|
|
20519
|
+
};
|
|
20520
|
+
static types(): {
|
|
20521
|
+
[key: string]: any;
|
|
20522
|
+
};
|
|
20523
|
+
constructor(map?: {
|
|
20524
|
+
[key: string]: any;
|
|
20525
|
+
});
|
|
20526
|
+
}
|
|
20527
|
+
export declare class ListInstanceRiskNumResponse extends $tea.Model {
|
|
20528
|
+
headers: {
|
|
20529
|
+
[key: string]: string;
|
|
20530
|
+
};
|
|
20531
|
+
statusCode: number;
|
|
20532
|
+
body: ListInstanceRiskNumResponseBody;
|
|
20533
|
+
static names(): {
|
|
20534
|
+
[key: string]: string;
|
|
20535
|
+
};
|
|
20536
|
+
static types(): {
|
|
20537
|
+
[key: string]: any;
|
|
20538
|
+
};
|
|
20539
|
+
constructor(map?: {
|
|
20540
|
+
[key: string]: any;
|
|
20541
|
+
});
|
|
20542
|
+
}
|
|
20375
20543
|
export declare class ListInterceptionHistoryRequest extends $tea.Model {
|
|
20376
20544
|
clusterId?: string;
|
|
20377
20545
|
currentPage?: number;
|
|
@@ -27302,6 +27470,34 @@ export declare class AddPrivateRegistryResponseBodyData extends $tea.Model {
|
|
|
27302
27470
|
[key: string]: any;
|
|
27303
27471
|
});
|
|
27304
27472
|
}
|
|
27473
|
+
export declare class AddSasModuleTrialResponseBodyDataTrialRecordList extends $tea.Model {
|
|
27474
|
+
authLimit?: number;
|
|
27475
|
+
gmtEnd?: number;
|
|
27476
|
+
gmtStart?: number;
|
|
27477
|
+
moduleCode?: string;
|
|
27478
|
+
status?: number;
|
|
27479
|
+
static names(): {
|
|
27480
|
+
[key: string]: string;
|
|
27481
|
+
};
|
|
27482
|
+
static types(): {
|
|
27483
|
+
[key: string]: any;
|
|
27484
|
+
};
|
|
27485
|
+
constructor(map?: {
|
|
27486
|
+
[key: string]: any;
|
|
27487
|
+
});
|
|
27488
|
+
}
|
|
27489
|
+
export declare class AddSasModuleTrialResponseBodyData extends $tea.Model {
|
|
27490
|
+
trialRecordList?: AddSasModuleTrialResponseBodyDataTrialRecordList[];
|
|
27491
|
+
static names(): {
|
|
27492
|
+
[key: string]: string;
|
|
27493
|
+
};
|
|
27494
|
+
static types(): {
|
|
27495
|
+
[key: string]: any;
|
|
27496
|
+
};
|
|
27497
|
+
constructor(map?: {
|
|
27498
|
+
[key: string]: any;
|
|
27499
|
+
});
|
|
27500
|
+
}
|
|
27305
27501
|
export declare class AdvanceSecurityEventOperationsResponseBodySecurityEventOperationsResponseMarkField extends $tea.Model {
|
|
27306
27502
|
filedAliasName?: string;
|
|
27307
27503
|
filedName?: string;
|
|
@@ -34927,6 +35123,36 @@ export declare class GetModuleConfigResponseBodyPageInfo extends $tea.Model {
|
|
|
34927
35123
|
[key: string]: any;
|
|
34928
35124
|
});
|
|
34929
35125
|
}
|
|
35126
|
+
export declare class GetModuleTrialAuthInfoResponseBodyDataTrialRecordList extends $tea.Model {
|
|
35127
|
+
authLimit?: number;
|
|
35128
|
+
gmtEnd?: number;
|
|
35129
|
+
gmtStart?: number;
|
|
35130
|
+
moduleCode?: string;
|
|
35131
|
+
status?: number;
|
|
35132
|
+
static names(): {
|
|
35133
|
+
[key: string]: string;
|
|
35134
|
+
};
|
|
35135
|
+
static types(): {
|
|
35136
|
+
[key: string]: any;
|
|
35137
|
+
};
|
|
35138
|
+
constructor(map?: {
|
|
35139
|
+
[key: string]: any;
|
|
35140
|
+
});
|
|
35141
|
+
}
|
|
35142
|
+
export declare class GetModuleTrialAuthInfoResponseBodyData extends $tea.Model {
|
|
35143
|
+
canTry?: boolean;
|
|
35144
|
+
moduleCode?: string;
|
|
35145
|
+
trialRecordList?: GetModuleTrialAuthInfoResponseBodyDataTrialRecordList[];
|
|
35146
|
+
static names(): {
|
|
35147
|
+
[key: string]: string;
|
|
35148
|
+
};
|
|
35149
|
+
static types(): {
|
|
35150
|
+
[key: string]: any;
|
|
35151
|
+
};
|
|
35152
|
+
constructor(map?: {
|
|
35153
|
+
[key: string]: any;
|
|
35154
|
+
});
|
|
35155
|
+
}
|
|
34930
35156
|
export declare class GetObjectScanEventResponseBodyDataDetails extends $tea.Model {
|
|
34931
35157
|
infoType?: string;
|
|
34932
35158
|
name?: string;
|
|
@@ -35910,6 +36136,8 @@ export declare class ListCheckItemWarningMachineResponseBodyPageInfo extends $te
|
|
|
35910
36136
|
}
|
|
35911
36137
|
export declare class ListCheckItemWarningSummaryResponseBodyList extends $tea.Model {
|
|
35912
36138
|
advice?: string;
|
|
36139
|
+
affiliatedRiskTypes?: string[];
|
|
36140
|
+
affiliatedRisks?: string[];
|
|
35913
36141
|
alias?: string;
|
|
35914
36142
|
checkId?: number;
|
|
35915
36143
|
checkItem?: string;
|
|
@@ -36858,6 +37086,90 @@ export declare class ListInstanceCatalogResponseBodyVendors extends $tea.Model {
|
|
|
36858
37086
|
[key: string]: any;
|
|
36859
37087
|
});
|
|
36860
37088
|
}
|
|
37089
|
+
export declare class ListInstanceRiskLevelsRequestInstanceList extends $tea.Model {
|
|
37090
|
+
instanceId?: string;
|
|
37091
|
+
uuid?: string;
|
|
37092
|
+
static names(): {
|
|
37093
|
+
[key: string]: string;
|
|
37094
|
+
};
|
|
37095
|
+
static types(): {
|
|
37096
|
+
[key: string]: any;
|
|
37097
|
+
};
|
|
37098
|
+
constructor(map?: {
|
|
37099
|
+
[key: string]: any;
|
|
37100
|
+
});
|
|
37101
|
+
}
|
|
37102
|
+
export declare class ListInstanceRiskLevelsResponseBodyInstanceRiskLevels extends $tea.Model {
|
|
37103
|
+
instanceId?: string;
|
|
37104
|
+
level?: string;
|
|
37105
|
+
uuid?: string;
|
|
37106
|
+
static names(): {
|
|
37107
|
+
[key: string]: string;
|
|
37108
|
+
};
|
|
37109
|
+
static types(): {
|
|
37110
|
+
[key: string]: any;
|
|
37111
|
+
};
|
|
37112
|
+
constructor(map?: {
|
|
37113
|
+
[key: string]: any;
|
|
37114
|
+
});
|
|
37115
|
+
}
|
|
37116
|
+
export declare class ListInstanceRiskNumRequestInstanceList extends $tea.Model {
|
|
37117
|
+
instanceId?: string;
|
|
37118
|
+
uuid?: string;
|
|
37119
|
+
static names(): {
|
|
37120
|
+
[key: string]: string;
|
|
37121
|
+
};
|
|
37122
|
+
static types(): {
|
|
37123
|
+
[key: string]: any;
|
|
37124
|
+
};
|
|
37125
|
+
constructor(map?: {
|
|
37126
|
+
[key: string]: any;
|
|
37127
|
+
});
|
|
37128
|
+
}
|
|
37129
|
+
export declare class ListInstanceRiskNumResponseBodyInstanceRiskNumInstanceItem extends $tea.Model {
|
|
37130
|
+
instanceId?: string;
|
|
37131
|
+
uuid?: string;
|
|
37132
|
+
static names(): {
|
|
37133
|
+
[key: string]: string;
|
|
37134
|
+
};
|
|
37135
|
+
static types(): {
|
|
37136
|
+
[key: string]: any;
|
|
37137
|
+
};
|
|
37138
|
+
constructor(map?: {
|
|
37139
|
+
[key: string]: any;
|
|
37140
|
+
});
|
|
37141
|
+
}
|
|
37142
|
+
export declare class ListInstanceRiskNumResponseBodyInstanceRiskNumRiskNumEntity extends $tea.Model {
|
|
37143
|
+
suspiciousHighCount?: number;
|
|
37144
|
+
suspiciousLowCount?: number;
|
|
37145
|
+
suspiciousMediumCount?: number;
|
|
37146
|
+
vulHighCount?: number;
|
|
37147
|
+
vulLowCount?: number;
|
|
37148
|
+
vulMediumCount?: number;
|
|
37149
|
+
weakPassWordCount?: number;
|
|
37150
|
+
static names(): {
|
|
37151
|
+
[key: string]: string;
|
|
37152
|
+
};
|
|
37153
|
+
static types(): {
|
|
37154
|
+
[key: string]: any;
|
|
37155
|
+
};
|
|
37156
|
+
constructor(map?: {
|
|
37157
|
+
[key: string]: any;
|
|
37158
|
+
});
|
|
37159
|
+
}
|
|
37160
|
+
export declare class ListInstanceRiskNumResponseBodyInstanceRiskNum extends $tea.Model {
|
|
37161
|
+
instanceItem?: ListInstanceRiskNumResponseBodyInstanceRiskNumInstanceItem;
|
|
37162
|
+
riskNumEntity?: ListInstanceRiskNumResponseBodyInstanceRiskNumRiskNumEntity;
|
|
37163
|
+
static names(): {
|
|
37164
|
+
[key: string]: string;
|
|
37165
|
+
};
|
|
37166
|
+
static types(): {
|
|
37167
|
+
[key: string]: any;
|
|
37168
|
+
};
|
|
37169
|
+
constructor(map?: {
|
|
37170
|
+
[key: string]: any;
|
|
37171
|
+
});
|
|
37172
|
+
}
|
|
36861
37173
|
export declare class ListInterceptionHistoryResponseBodyInterceptionHistoryList extends $tea.Model {
|
|
36862
37174
|
clusterId?: string;
|
|
36863
37175
|
clusterName?: string;
|
|
@@ -37968,6 +38280,8 @@ export default class Client extends OpenApi {
|
|
|
37968
38280
|
addInstallCode(request: AddInstallCodeRequest): Promise<AddInstallCodeResponse>;
|
|
37969
38281
|
addPrivateRegistryWithOptions(request: AddPrivateRegistryRequest, runtime: $Util.RuntimeOptions): Promise<AddPrivateRegistryResponse>;
|
|
37970
38282
|
addPrivateRegistry(request: AddPrivateRegistryRequest): Promise<AddPrivateRegistryResponse>;
|
|
38283
|
+
addSasModuleTrialWithOptions(request: AddSasModuleTrialRequest, runtime: $Util.RuntimeOptions): Promise<AddSasModuleTrialResponse>;
|
|
38284
|
+
addSasModuleTrial(request: AddSasModuleTrialRequest): Promise<AddSasModuleTrialResponse>;
|
|
37971
38285
|
/**
|
|
37972
38286
|
* Security Center provides asset importance tags and custom tags. You can call the AddTagWithUuid operation to add only a custom tag to assets.
|
|
37973
38287
|
*
|
|
@@ -39108,6 +39422,8 @@ export default class Client extends OpenApi {
|
|
|
39108
39422
|
getLogMeta(request: GetLogMetaRequest): Promise<GetLogMetaResponse>;
|
|
39109
39423
|
getModuleConfigWithOptions(request: GetModuleConfigRequest, runtime: $Util.RuntimeOptions): Promise<GetModuleConfigResponse>;
|
|
39110
39424
|
getModuleConfig(request: GetModuleConfigRequest): Promise<GetModuleConfigResponse>;
|
|
39425
|
+
getModuleTrialAuthInfoWithOptions(request: GetModuleTrialAuthInfoRequest, runtime: $Util.RuntimeOptions): Promise<GetModuleTrialAuthInfoResponse>;
|
|
39426
|
+
getModuleTrialAuthInfo(request: GetModuleTrialAuthInfoRequest): Promise<GetModuleTrialAuthInfoResponse>;
|
|
39111
39427
|
getObjectScanEventWithOptions(request: GetObjectScanEventRequest, runtime: $Util.RuntimeOptions): Promise<GetObjectScanEventResponse>;
|
|
39112
39428
|
getObjectScanEvent(request: GetObjectScanEventRequest): Promise<GetObjectScanEventResponse>;
|
|
39113
39429
|
getOnceTaskResultInfoWithOptions(request: GetOnceTaskResultInfoRequest, runtime: $Util.RuntimeOptions): Promise<GetOnceTaskResultInfoResponse>;
|
|
@@ -39269,6 +39585,10 @@ export default class Client extends OpenApi {
|
|
|
39269
39585
|
listImageRisk(request: ListImageRiskRequest): Promise<ListImageRiskResponse>;
|
|
39270
39586
|
listInstanceCatalogWithOptions(request: ListInstanceCatalogRequest, runtime: $Util.RuntimeOptions): Promise<ListInstanceCatalogResponse>;
|
|
39271
39587
|
listInstanceCatalog(request: ListInstanceCatalogRequest): Promise<ListInstanceCatalogResponse>;
|
|
39588
|
+
listInstanceRiskLevelsWithOptions(request: ListInstanceRiskLevelsRequest, runtime: $Util.RuntimeOptions): Promise<ListInstanceRiskLevelsResponse>;
|
|
39589
|
+
listInstanceRiskLevels(request: ListInstanceRiskLevelsRequest): Promise<ListInstanceRiskLevelsResponse>;
|
|
39590
|
+
listInstanceRiskNumWithOptions(request: ListInstanceRiskNumRequest, runtime: $Util.RuntimeOptions): Promise<ListInstanceRiskNumResponse>;
|
|
39591
|
+
listInstanceRiskNum(request: ListInstanceRiskNumRequest): Promise<ListInstanceRiskNumResponse>;
|
|
39272
39592
|
listInterceptionHistoryWithOptions(request: ListInterceptionHistoryRequest, runtime: $Util.RuntimeOptions): Promise<ListInterceptionHistoryResponse>;
|
|
39273
39593
|
listInterceptionHistory(request: ListInterceptionHistoryRequest): Promise<ListInterceptionHistoryResponse>;
|
|
39274
39594
|
listInterceptionRulePageWithOptions(request: ListInterceptionRulePageRequest, runtime: $Util.RuntimeOptions): Promise<ListInterceptionRulePageResponse>;
|