@alicloud/sas20181203 1.1.7 → 1.1.8
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 +154 -1
- package/dist/client.js +301 -5
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +381 -7
package/dist/client.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
|
6
6
|
import * as $tea from '@alicloud/tea-typescript';
|
|
7
7
|
export declare class AddVpcHoneyPotRequest extends $tea.Model {
|
|
8
8
|
vpcId?: string;
|
|
9
|
-
vpcSwitchId?: string;
|
|
10
9
|
static names(): {
|
|
11
10
|
[key: string]: string;
|
|
12
11
|
};
|
|
@@ -305,6 +304,51 @@ export declare class CreateSimilarSecurityEventsQueryTaskResponse extends $tea.M
|
|
|
305
304
|
[key: string]: any;
|
|
306
305
|
});
|
|
307
306
|
}
|
|
307
|
+
export declare class CreateVulAutoRepairConfigRequest extends $tea.Model {
|
|
308
|
+
reason?: string;
|
|
309
|
+
type?: string;
|
|
310
|
+
vulAutoRepairConfigList?: CreateVulAutoRepairConfigRequestVulAutoRepairConfigList[];
|
|
311
|
+
static names(): {
|
|
312
|
+
[key: string]: string;
|
|
313
|
+
};
|
|
314
|
+
static types(): {
|
|
315
|
+
[key: string]: any;
|
|
316
|
+
};
|
|
317
|
+
constructor(map?: {
|
|
318
|
+
[key: string]: any;
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
export declare class CreateVulAutoRepairConfigResponseBody extends $tea.Model {
|
|
322
|
+
code?: string;
|
|
323
|
+
httpStatusCode?: number;
|
|
324
|
+
message?: string;
|
|
325
|
+
requestId?: string;
|
|
326
|
+
success?: boolean;
|
|
327
|
+
static names(): {
|
|
328
|
+
[key: string]: string;
|
|
329
|
+
};
|
|
330
|
+
static types(): {
|
|
331
|
+
[key: string]: any;
|
|
332
|
+
};
|
|
333
|
+
constructor(map?: {
|
|
334
|
+
[key: string]: any;
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
export declare class CreateVulAutoRepairConfigResponse extends $tea.Model {
|
|
338
|
+
headers: {
|
|
339
|
+
[key: string]: string;
|
|
340
|
+
};
|
|
341
|
+
body: CreateVulAutoRepairConfigResponseBody;
|
|
342
|
+
static names(): {
|
|
343
|
+
[key: string]: string;
|
|
344
|
+
};
|
|
345
|
+
static types(): {
|
|
346
|
+
[key: string]: any;
|
|
347
|
+
};
|
|
348
|
+
constructor(map?: {
|
|
349
|
+
[key: string]: any;
|
|
350
|
+
});
|
|
351
|
+
}
|
|
308
352
|
export declare class DeleteBackupPolicyRequest extends $tea.Model {
|
|
309
353
|
id?: number;
|
|
310
354
|
policyVersion?: string;
|
|
@@ -7363,6 +7407,59 @@ export declare class QueryGroupIdByGroupNameResponse extends $tea.Model {
|
|
|
7363
7407
|
[key: string]: any;
|
|
7364
7408
|
});
|
|
7365
7409
|
}
|
|
7410
|
+
export declare class QueryGroupedSecurityEventMarkMissListRequest extends $tea.Model {
|
|
7411
|
+
currentPage?: number;
|
|
7412
|
+
eventName?: string;
|
|
7413
|
+
from?: string;
|
|
7414
|
+
lang?: string;
|
|
7415
|
+
maxId?: number;
|
|
7416
|
+
pageSize?: number;
|
|
7417
|
+
remark?: string;
|
|
7418
|
+
sourceIp?: string;
|
|
7419
|
+
static names(): {
|
|
7420
|
+
[key: string]: string;
|
|
7421
|
+
};
|
|
7422
|
+
static types(): {
|
|
7423
|
+
[key: string]: any;
|
|
7424
|
+
};
|
|
7425
|
+
constructor(map?: {
|
|
7426
|
+
[key: string]: any;
|
|
7427
|
+
});
|
|
7428
|
+
}
|
|
7429
|
+
export declare class QueryGroupedSecurityEventMarkMissListResponseBody extends $tea.Model {
|
|
7430
|
+
code?: string;
|
|
7431
|
+
httpStatusCode?: number;
|
|
7432
|
+
list?: QueryGroupedSecurityEventMarkMissListResponseBodyList[];
|
|
7433
|
+
message?: string;
|
|
7434
|
+
pageInfo?: QueryGroupedSecurityEventMarkMissListResponseBodyPageInfo;
|
|
7435
|
+
requestId?: string;
|
|
7436
|
+
success?: boolean;
|
|
7437
|
+
timeCost?: number;
|
|
7438
|
+
static names(): {
|
|
7439
|
+
[key: string]: string;
|
|
7440
|
+
};
|
|
7441
|
+
static types(): {
|
|
7442
|
+
[key: string]: any;
|
|
7443
|
+
};
|
|
7444
|
+
constructor(map?: {
|
|
7445
|
+
[key: string]: any;
|
|
7446
|
+
});
|
|
7447
|
+
}
|
|
7448
|
+
export declare class QueryGroupedSecurityEventMarkMissListResponse extends $tea.Model {
|
|
7449
|
+
headers: {
|
|
7450
|
+
[key: string]: string;
|
|
7451
|
+
};
|
|
7452
|
+
body: QueryGroupedSecurityEventMarkMissListResponseBody;
|
|
7453
|
+
static names(): {
|
|
7454
|
+
[key: string]: string;
|
|
7455
|
+
};
|
|
7456
|
+
static types(): {
|
|
7457
|
+
[key: string]: any;
|
|
7458
|
+
};
|
|
7459
|
+
constructor(map?: {
|
|
7460
|
+
[key: string]: any;
|
|
7461
|
+
});
|
|
7462
|
+
}
|
|
7366
7463
|
export declare class RefreshAssetsRequest extends $tea.Model {
|
|
7367
7464
|
assetType?: string;
|
|
7368
7465
|
static names(): {
|
|
@@ -7799,6 +7896,19 @@ export declare class CreateSimilarSecurityEventsQueryTaskResponseBodyCreateSimil
|
|
|
7799
7896
|
[key: string]: any;
|
|
7800
7897
|
});
|
|
7801
7898
|
}
|
|
7899
|
+
export declare class CreateVulAutoRepairConfigRequestVulAutoRepairConfigList extends $tea.Model {
|
|
7900
|
+
aliasName?: string;
|
|
7901
|
+
name?: string;
|
|
7902
|
+
static names(): {
|
|
7903
|
+
[key: string]: string;
|
|
7904
|
+
};
|
|
7905
|
+
static types(): {
|
|
7906
|
+
[key: string]: any;
|
|
7907
|
+
};
|
|
7908
|
+
constructor(map?: {
|
|
7909
|
+
[key: string]: any;
|
|
7910
|
+
});
|
|
7911
|
+
}
|
|
7802
7912
|
export declare class DescribeAccesskeyLeakListResponseBodyAccessKeyLeakList extends $tea.Model {
|
|
7803
7913
|
accesskeyId?: string;
|
|
7804
7914
|
aliUserName?: string;
|
|
@@ -9919,6 +10029,7 @@ export declare class DescribeSecurityEventOperationsResponseBodySecurityEventOpe
|
|
|
9919
10029
|
markMisType?: string;
|
|
9920
10030
|
markMisValue?: string;
|
|
9921
10031
|
supportedMisType?: string[];
|
|
10032
|
+
uuid?: string;
|
|
9922
10033
|
static names(): {
|
|
9923
10034
|
[key: string]: string;
|
|
9924
10035
|
};
|
|
@@ -10716,6 +10827,44 @@ export declare class OperateAgentClientInstallResponseBodyAegisCelintInstallResp
|
|
|
10716
10827
|
[key: string]: any;
|
|
10717
10828
|
});
|
|
10718
10829
|
}
|
|
10830
|
+
export declare class QueryGroupedSecurityEventMarkMissListResponseBodyList extends $tea.Model {
|
|
10831
|
+
aliUid?: number;
|
|
10832
|
+
eventName?: string;
|
|
10833
|
+
eventNameOriginal?: string;
|
|
10834
|
+
eventType?: string;
|
|
10835
|
+
eventTypeOriginal?: string;
|
|
10836
|
+
field?: string;
|
|
10837
|
+
fieldValue?: string;
|
|
10838
|
+
filedAliasName?: string;
|
|
10839
|
+
gmtCreate?: number;
|
|
10840
|
+
gmtModified?: number;
|
|
10841
|
+
operate?: string;
|
|
10842
|
+
uuids?: string;
|
|
10843
|
+
static names(): {
|
|
10844
|
+
[key: string]: string;
|
|
10845
|
+
};
|
|
10846
|
+
static types(): {
|
|
10847
|
+
[key: string]: any;
|
|
10848
|
+
};
|
|
10849
|
+
constructor(map?: {
|
|
10850
|
+
[key: string]: any;
|
|
10851
|
+
});
|
|
10852
|
+
}
|
|
10853
|
+
export declare class QueryGroupedSecurityEventMarkMissListResponseBodyPageInfo extends $tea.Model {
|
|
10854
|
+
count?: number;
|
|
10855
|
+
currentPage?: number;
|
|
10856
|
+
pageSize?: number;
|
|
10857
|
+
totalCount?: number;
|
|
10858
|
+
static names(): {
|
|
10859
|
+
[key: string]: string;
|
|
10860
|
+
};
|
|
10861
|
+
static types(): {
|
|
10862
|
+
[key: string]: any;
|
|
10863
|
+
};
|
|
10864
|
+
constructor(map?: {
|
|
10865
|
+
[key: string]: any;
|
|
10866
|
+
});
|
|
10867
|
+
}
|
|
10719
10868
|
export default class Client extends OpenApi {
|
|
10720
10869
|
constructor(config: $OpenApi.Config);
|
|
10721
10870
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
@@ -10735,6 +10884,8 @@ export default class Client extends OpenApi {
|
|
|
10735
10884
|
createServiceLinkedRole(): Promise<CreateServiceLinkedRoleResponse>;
|
|
10736
10885
|
createSimilarSecurityEventsQueryTaskWithOptions(request: CreateSimilarSecurityEventsQueryTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateSimilarSecurityEventsQueryTaskResponse>;
|
|
10737
10886
|
createSimilarSecurityEventsQueryTask(request: CreateSimilarSecurityEventsQueryTaskRequest): Promise<CreateSimilarSecurityEventsQueryTaskResponse>;
|
|
10887
|
+
createVulAutoRepairConfigWithOptions(request: CreateVulAutoRepairConfigRequest, runtime: $Util.RuntimeOptions): Promise<CreateVulAutoRepairConfigResponse>;
|
|
10888
|
+
createVulAutoRepairConfig(request: CreateVulAutoRepairConfigRequest): Promise<CreateVulAutoRepairConfigResponse>;
|
|
10738
10889
|
deleteBackupPolicyWithOptions(request: DeleteBackupPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DeleteBackupPolicyResponse>;
|
|
10739
10890
|
deleteBackupPolicy(request: DeleteBackupPolicyRequest): Promise<DeleteBackupPolicyResponse>;
|
|
10740
10891
|
deleteBackupPolicyMachineWithOptions(request: DeleteBackupPolicyMachineRequest, runtime: $Util.RuntimeOptions): Promise<DeleteBackupPolicyMachineResponse>;
|
|
@@ -11059,6 +11210,8 @@ export default class Client extends OpenApi {
|
|
|
11059
11210
|
pauseClient(request: PauseClientRequest): Promise<PauseClientResponse>;
|
|
11060
11211
|
queryGroupIdByGroupNameWithOptions(request: QueryGroupIdByGroupNameRequest, runtime: $Util.RuntimeOptions): Promise<QueryGroupIdByGroupNameResponse>;
|
|
11061
11212
|
queryGroupIdByGroupName(request: QueryGroupIdByGroupNameRequest): Promise<QueryGroupIdByGroupNameResponse>;
|
|
11213
|
+
queryGroupedSecurityEventMarkMissListWithOptions(request: QueryGroupedSecurityEventMarkMissListRequest, runtime: $Util.RuntimeOptions): Promise<QueryGroupedSecurityEventMarkMissListResponse>;
|
|
11214
|
+
queryGroupedSecurityEventMarkMissList(request: QueryGroupedSecurityEventMarkMissListRequest): Promise<QueryGroupedSecurityEventMarkMissListResponse>;
|
|
11062
11215
|
refreshAssetsWithOptions(request: RefreshAssetsRequest, runtime: $Util.RuntimeOptions): Promise<RefreshAssetsResponse>;
|
|
11063
11216
|
refreshAssets(request: RefreshAssetsRequest): Promise<RefreshAssetsResponse>;
|
|
11064
11217
|
refreshContainerAssetsWithOptions(request: RefreshContainerAssetsRequest, runtime: $Util.RuntimeOptions): Promise<RefreshContainerAssetsResponse>;
|
package/dist/client.js
CHANGED
|
@@ -26,13 +26,11 @@ class AddVpcHoneyPotRequest extends $tea.Model {
|
|
|
26
26
|
static names() {
|
|
27
27
|
return {
|
|
28
28
|
vpcId: 'VpcId',
|
|
29
|
-
vpcSwitchId: 'VpcSwitchId',
|
|
30
29
|
};
|
|
31
30
|
}
|
|
32
31
|
static types() {
|
|
33
32
|
return {
|
|
34
33
|
vpcId: 'string',
|
|
35
|
-
vpcSwitchId: 'string',
|
|
36
34
|
};
|
|
37
35
|
}
|
|
38
36
|
}
|
|
@@ -421,6 +419,68 @@ class CreateSimilarSecurityEventsQueryTaskResponse extends $tea.Model {
|
|
|
421
419
|
}
|
|
422
420
|
}
|
|
423
421
|
exports.CreateSimilarSecurityEventsQueryTaskResponse = CreateSimilarSecurityEventsQueryTaskResponse;
|
|
422
|
+
class CreateVulAutoRepairConfigRequest extends $tea.Model {
|
|
423
|
+
constructor(map) {
|
|
424
|
+
super(map);
|
|
425
|
+
}
|
|
426
|
+
static names() {
|
|
427
|
+
return {
|
|
428
|
+
reason: 'Reason',
|
|
429
|
+
type: 'Type',
|
|
430
|
+
vulAutoRepairConfigList: 'VulAutoRepairConfigList',
|
|
431
|
+
};
|
|
432
|
+
}
|
|
433
|
+
static types() {
|
|
434
|
+
return {
|
|
435
|
+
reason: 'string',
|
|
436
|
+
type: 'string',
|
|
437
|
+
vulAutoRepairConfigList: { 'type': 'array', 'itemType': CreateVulAutoRepairConfigRequestVulAutoRepairConfigList },
|
|
438
|
+
};
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
exports.CreateVulAutoRepairConfigRequest = CreateVulAutoRepairConfigRequest;
|
|
442
|
+
class CreateVulAutoRepairConfigResponseBody extends $tea.Model {
|
|
443
|
+
constructor(map) {
|
|
444
|
+
super(map);
|
|
445
|
+
}
|
|
446
|
+
static names() {
|
|
447
|
+
return {
|
|
448
|
+
code: 'Code',
|
|
449
|
+
httpStatusCode: 'HttpStatusCode',
|
|
450
|
+
message: 'Message',
|
|
451
|
+
requestId: 'RequestId',
|
|
452
|
+
success: 'Success',
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
static types() {
|
|
456
|
+
return {
|
|
457
|
+
code: 'string',
|
|
458
|
+
httpStatusCode: 'number',
|
|
459
|
+
message: 'string',
|
|
460
|
+
requestId: 'string',
|
|
461
|
+
success: 'boolean',
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
exports.CreateVulAutoRepairConfigResponseBody = CreateVulAutoRepairConfigResponseBody;
|
|
466
|
+
class CreateVulAutoRepairConfigResponse extends $tea.Model {
|
|
467
|
+
constructor(map) {
|
|
468
|
+
super(map);
|
|
469
|
+
}
|
|
470
|
+
static names() {
|
|
471
|
+
return {
|
|
472
|
+
headers: 'headers',
|
|
473
|
+
body: 'body',
|
|
474
|
+
};
|
|
475
|
+
}
|
|
476
|
+
static types() {
|
|
477
|
+
return {
|
|
478
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
479
|
+
body: CreateVulAutoRepairConfigResponseBody,
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
exports.CreateVulAutoRepairConfigResponse = CreateVulAutoRepairConfigResponse;
|
|
424
484
|
class DeleteBackupPolicyRequest extends $tea.Model {
|
|
425
485
|
constructor(map) {
|
|
426
486
|
super(map);
|
|
@@ -10125,6 +10185,84 @@ class QueryGroupIdByGroupNameResponse extends $tea.Model {
|
|
|
10125
10185
|
}
|
|
10126
10186
|
}
|
|
10127
10187
|
exports.QueryGroupIdByGroupNameResponse = QueryGroupIdByGroupNameResponse;
|
|
10188
|
+
class QueryGroupedSecurityEventMarkMissListRequest extends $tea.Model {
|
|
10189
|
+
constructor(map) {
|
|
10190
|
+
super(map);
|
|
10191
|
+
}
|
|
10192
|
+
static names() {
|
|
10193
|
+
return {
|
|
10194
|
+
currentPage: 'CurrentPage',
|
|
10195
|
+
eventName: 'EventName',
|
|
10196
|
+
from: 'From',
|
|
10197
|
+
lang: 'Lang',
|
|
10198
|
+
maxId: 'MaxId',
|
|
10199
|
+
pageSize: 'PageSize',
|
|
10200
|
+
remark: 'Remark',
|
|
10201
|
+
sourceIp: 'SourceIp',
|
|
10202
|
+
};
|
|
10203
|
+
}
|
|
10204
|
+
static types() {
|
|
10205
|
+
return {
|
|
10206
|
+
currentPage: 'number',
|
|
10207
|
+
eventName: 'string',
|
|
10208
|
+
from: 'string',
|
|
10209
|
+
lang: 'string',
|
|
10210
|
+
maxId: 'number',
|
|
10211
|
+
pageSize: 'number',
|
|
10212
|
+
remark: 'string',
|
|
10213
|
+
sourceIp: 'string',
|
|
10214
|
+
};
|
|
10215
|
+
}
|
|
10216
|
+
}
|
|
10217
|
+
exports.QueryGroupedSecurityEventMarkMissListRequest = QueryGroupedSecurityEventMarkMissListRequest;
|
|
10218
|
+
class QueryGroupedSecurityEventMarkMissListResponseBody extends $tea.Model {
|
|
10219
|
+
constructor(map) {
|
|
10220
|
+
super(map);
|
|
10221
|
+
}
|
|
10222
|
+
static names() {
|
|
10223
|
+
return {
|
|
10224
|
+
code: 'Code',
|
|
10225
|
+
httpStatusCode: 'HttpStatusCode',
|
|
10226
|
+
list: 'List',
|
|
10227
|
+
message: 'Message',
|
|
10228
|
+
pageInfo: 'PageInfo',
|
|
10229
|
+
requestId: 'RequestId',
|
|
10230
|
+
success: 'Success',
|
|
10231
|
+
timeCost: 'TimeCost',
|
|
10232
|
+
};
|
|
10233
|
+
}
|
|
10234
|
+
static types() {
|
|
10235
|
+
return {
|
|
10236
|
+
code: 'string',
|
|
10237
|
+
httpStatusCode: 'number',
|
|
10238
|
+
list: { 'type': 'array', 'itemType': QueryGroupedSecurityEventMarkMissListResponseBodyList },
|
|
10239
|
+
message: 'string',
|
|
10240
|
+
pageInfo: QueryGroupedSecurityEventMarkMissListResponseBodyPageInfo,
|
|
10241
|
+
requestId: 'string',
|
|
10242
|
+
success: 'boolean',
|
|
10243
|
+
timeCost: 'number',
|
|
10244
|
+
};
|
|
10245
|
+
}
|
|
10246
|
+
}
|
|
10247
|
+
exports.QueryGroupedSecurityEventMarkMissListResponseBody = QueryGroupedSecurityEventMarkMissListResponseBody;
|
|
10248
|
+
class QueryGroupedSecurityEventMarkMissListResponse extends $tea.Model {
|
|
10249
|
+
constructor(map) {
|
|
10250
|
+
super(map);
|
|
10251
|
+
}
|
|
10252
|
+
static names() {
|
|
10253
|
+
return {
|
|
10254
|
+
headers: 'headers',
|
|
10255
|
+
body: 'body',
|
|
10256
|
+
};
|
|
10257
|
+
}
|
|
10258
|
+
static types() {
|
|
10259
|
+
return {
|
|
10260
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10261
|
+
body: QueryGroupedSecurityEventMarkMissListResponseBody,
|
|
10262
|
+
};
|
|
10263
|
+
}
|
|
10264
|
+
}
|
|
10265
|
+
exports.QueryGroupedSecurityEventMarkMissListResponse = QueryGroupedSecurityEventMarkMissListResponse;
|
|
10128
10266
|
class RefreshAssetsRequest extends $tea.Model {
|
|
10129
10267
|
constructor(map) {
|
|
10130
10268
|
super(map);
|
|
@@ -10701,6 +10839,24 @@ class CreateSimilarSecurityEventsQueryTaskResponseBodyCreateSimilarSecurityEvent
|
|
|
10701
10839
|
}
|
|
10702
10840
|
}
|
|
10703
10841
|
exports.CreateSimilarSecurityEventsQueryTaskResponseBodyCreateSimilarSecurityEventsQueryTaskResponse = CreateSimilarSecurityEventsQueryTaskResponseBodyCreateSimilarSecurityEventsQueryTaskResponse;
|
|
10842
|
+
class CreateVulAutoRepairConfigRequestVulAutoRepairConfigList extends $tea.Model {
|
|
10843
|
+
constructor(map) {
|
|
10844
|
+
super(map);
|
|
10845
|
+
}
|
|
10846
|
+
static names() {
|
|
10847
|
+
return {
|
|
10848
|
+
aliasName: 'AliasName',
|
|
10849
|
+
name: 'Name',
|
|
10850
|
+
};
|
|
10851
|
+
}
|
|
10852
|
+
static types() {
|
|
10853
|
+
return {
|
|
10854
|
+
aliasName: 'string',
|
|
10855
|
+
name: 'string',
|
|
10856
|
+
};
|
|
10857
|
+
}
|
|
10858
|
+
}
|
|
10859
|
+
exports.CreateVulAutoRepairConfigRequestVulAutoRepairConfigList = CreateVulAutoRepairConfigRequestVulAutoRepairConfigList;
|
|
10704
10860
|
class DescribeAccesskeyLeakListResponseBodyAccessKeyLeakList extends $tea.Model {
|
|
10705
10861
|
constructor(map) {
|
|
10706
10862
|
super(map);
|
|
@@ -14040,6 +14196,7 @@ class DescribeSecurityEventOperationsResponseBodySecurityEventOperationsResponse
|
|
|
14040
14196
|
markMisType: 'MarkMisType',
|
|
14041
14197
|
markMisValue: 'MarkMisValue',
|
|
14042
14198
|
supportedMisType: 'SupportedMisType',
|
|
14199
|
+
uuid: 'Uuid',
|
|
14043
14200
|
};
|
|
14044
14201
|
}
|
|
14045
14202
|
static types() {
|
|
@@ -14049,6 +14206,7 @@ class DescribeSecurityEventOperationsResponseBodySecurityEventOperationsResponse
|
|
|
14049
14206
|
markMisType: 'string',
|
|
14050
14207
|
markMisValue: 'string',
|
|
14051
14208
|
supportedMisType: { 'type': 'array', 'itemType': 'string' },
|
|
14209
|
+
uuid: 'string',
|
|
14052
14210
|
};
|
|
14053
14211
|
}
|
|
14054
14212
|
}
|
|
@@ -15291,6 +15449,66 @@ class OperateAgentClientInstallResponseBodyAegisCelintInstallResposeList extends
|
|
|
15291
15449
|
}
|
|
15292
15450
|
}
|
|
15293
15451
|
exports.OperateAgentClientInstallResponseBodyAegisCelintInstallResposeList = OperateAgentClientInstallResponseBodyAegisCelintInstallResposeList;
|
|
15452
|
+
class QueryGroupedSecurityEventMarkMissListResponseBodyList extends $tea.Model {
|
|
15453
|
+
constructor(map) {
|
|
15454
|
+
super(map);
|
|
15455
|
+
}
|
|
15456
|
+
static names() {
|
|
15457
|
+
return {
|
|
15458
|
+
aliUid: 'AliUid',
|
|
15459
|
+
eventName: 'EventName',
|
|
15460
|
+
eventNameOriginal: 'EventNameOriginal',
|
|
15461
|
+
eventType: 'EventType',
|
|
15462
|
+
eventTypeOriginal: 'EventTypeOriginal',
|
|
15463
|
+
field: 'Field',
|
|
15464
|
+
fieldValue: 'FieldValue',
|
|
15465
|
+
filedAliasName: 'FiledAliasName',
|
|
15466
|
+
gmtCreate: 'GmtCreate',
|
|
15467
|
+
gmtModified: 'GmtModified',
|
|
15468
|
+
operate: 'Operate',
|
|
15469
|
+
uuids: 'Uuids',
|
|
15470
|
+
};
|
|
15471
|
+
}
|
|
15472
|
+
static types() {
|
|
15473
|
+
return {
|
|
15474
|
+
aliUid: 'number',
|
|
15475
|
+
eventName: 'string',
|
|
15476
|
+
eventNameOriginal: 'string',
|
|
15477
|
+
eventType: 'string',
|
|
15478
|
+
eventTypeOriginal: 'string',
|
|
15479
|
+
field: 'string',
|
|
15480
|
+
fieldValue: 'string',
|
|
15481
|
+
filedAliasName: 'string',
|
|
15482
|
+
gmtCreate: 'number',
|
|
15483
|
+
gmtModified: 'number',
|
|
15484
|
+
operate: 'string',
|
|
15485
|
+
uuids: 'string',
|
|
15486
|
+
};
|
|
15487
|
+
}
|
|
15488
|
+
}
|
|
15489
|
+
exports.QueryGroupedSecurityEventMarkMissListResponseBodyList = QueryGroupedSecurityEventMarkMissListResponseBodyList;
|
|
15490
|
+
class QueryGroupedSecurityEventMarkMissListResponseBodyPageInfo extends $tea.Model {
|
|
15491
|
+
constructor(map) {
|
|
15492
|
+
super(map);
|
|
15493
|
+
}
|
|
15494
|
+
static names() {
|
|
15495
|
+
return {
|
|
15496
|
+
count: 'Count',
|
|
15497
|
+
currentPage: 'CurrentPage',
|
|
15498
|
+
pageSize: 'PageSize',
|
|
15499
|
+
totalCount: 'TotalCount',
|
|
15500
|
+
};
|
|
15501
|
+
}
|
|
15502
|
+
static types() {
|
|
15503
|
+
return {
|
|
15504
|
+
count: 'number',
|
|
15505
|
+
currentPage: 'number',
|
|
15506
|
+
pageSize: 'number',
|
|
15507
|
+
totalCount: 'number',
|
|
15508
|
+
};
|
|
15509
|
+
}
|
|
15510
|
+
}
|
|
15511
|
+
exports.QueryGroupedSecurityEventMarkMissListResponseBodyPageInfo = QueryGroupedSecurityEventMarkMissListResponseBodyPageInfo;
|
|
15294
15512
|
class Client extends openapi_client_1.default {
|
|
15295
15513
|
constructor(config) {
|
|
15296
15514
|
super(config);
|
|
@@ -15372,9 +15590,6 @@ class Client extends openapi_client_1.default {
|
|
|
15372
15590
|
if (!tea_util_1.default.isUnset(request.vpcId)) {
|
|
15373
15591
|
query["VpcId"] = request.vpcId;
|
|
15374
15592
|
}
|
|
15375
|
-
if (!tea_util_1.default.isUnset(request.vpcSwitchId)) {
|
|
15376
|
-
query["VpcSwitchId"] = request.vpcSwitchId;
|
|
15377
|
-
}
|
|
15378
15593
|
let req = new $OpenApi.OpenApiRequest({
|
|
15379
15594
|
query: openapi_util_1.default.query(query),
|
|
15380
15595
|
});
|
|
@@ -15600,6 +15815,38 @@ class Client extends openapi_client_1.default {
|
|
|
15600
15815
|
let runtime = new $Util.RuntimeOptions({});
|
|
15601
15816
|
return await this.createSimilarSecurityEventsQueryTaskWithOptions(request, runtime);
|
|
15602
15817
|
}
|
|
15818
|
+
async createVulAutoRepairConfigWithOptions(request, runtime) {
|
|
15819
|
+
tea_util_1.default.validateModel(request);
|
|
15820
|
+
let query = {};
|
|
15821
|
+
if (!tea_util_1.default.isUnset(request.reason)) {
|
|
15822
|
+
query["Reason"] = request.reason;
|
|
15823
|
+
}
|
|
15824
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
15825
|
+
query["Type"] = request.type;
|
|
15826
|
+
}
|
|
15827
|
+
if (!tea_util_1.default.isUnset(request.vulAutoRepairConfigList)) {
|
|
15828
|
+
query["VulAutoRepairConfigList"] = request.vulAutoRepairConfigList;
|
|
15829
|
+
}
|
|
15830
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15831
|
+
query: openapi_util_1.default.query(query),
|
|
15832
|
+
});
|
|
15833
|
+
let params = new $OpenApi.Params({
|
|
15834
|
+
action: "CreateVulAutoRepairConfig",
|
|
15835
|
+
version: "2018-12-03",
|
|
15836
|
+
protocol: "HTTPS",
|
|
15837
|
+
pathname: "/",
|
|
15838
|
+
method: "POST",
|
|
15839
|
+
authType: "AK",
|
|
15840
|
+
style: "RPC",
|
|
15841
|
+
reqBodyType: "formData",
|
|
15842
|
+
bodyType: "json",
|
|
15843
|
+
});
|
|
15844
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateVulAutoRepairConfigResponse({}));
|
|
15845
|
+
}
|
|
15846
|
+
async createVulAutoRepairConfig(request) {
|
|
15847
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15848
|
+
return await this.createVulAutoRepairConfigWithOptions(request, runtime);
|
|
15849
|
+
}
|
|
15603
15850
|
async deleteBackupPolicyWithOptions(request, runtime) {
|
|
15604
15851
|
tea_util_1.default.validateModel(request);
|
|
15605
15852
|
let query = {};
|
|
@@ -21455,6 +21702,55 @@ class Client extends openapi_client_1.default {
|
|
|
21455
21702
|
let runtime = new $Util.RuntimeOptions({});
|
|
21456
21703
|
return await this.queryGroupIdByGroupNameWithOptions(request, runtime);
|
|
21457
21704
|
}
|
|
21705
|
+
async queryGroupedSecurityEventMarkMissListWithOptions(request, runtime) {
|
|
21706
|
+
tea_util_1.default.validateModel(request);
|
|
21707
|
+
let query = {};
|
|
21708
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
21709
|
+
query["SourceIp"] = request.sourceIp;
|
|
21710
|
+
}
|
|
21711
|
+
let body = {};
|
|
21712
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
21713
|
+
body["CurrentPage"] = request.currentPage;
|
|
21714
|
+
}
|
|
21715
|
+
if (!tea_util_1.default.isUnset(request.eventName)) {
|
|
21716
|
+
body["EventName"] = request.eventName;
|
|
21717
|
+
}
|
|
21718
|
+
if (!tea_util_1.default.isUnset(request.from)) {
|
|
21719
|
+
body["From"] = request.from;
|
|
21720
|
+
}
|
|
21721
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
21722
|
+
body["Lang"] = request.lang;
|
|
21723
|
+
}
|
|
21724
|
+
if (!tea_util_1.default.isUnset(request.maxId)) {
|
|
21725
|
+
body["MaxId"] = request.maxId;
|
|
21726
|
+
}
|
|
21727
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
21728
|
+
body["PageSize"] = request.pageSize;
|
|
21729
|
+
}
|
|
21730
|
+
if (!tea_util_1.default.isUnset(request.remark)) {
|
|
21731
|
+
body["Remark"] = request.remark;
|
|
21732
|
+
}
|
|
21733
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21734
|
+
query: openapi_util_1.default.query(query),
|
|
21735
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
21736
|
+
});
|
|
21737
|
+
let params = new $OpenApi.Params({
|
|
21738
|
+
action: "QueryGroupedSecurityEventMarkMissList",
|
|
21739
|
+
version: "2018-12-03",
|
|
21740
|
+
protocol: "HTTPS",
|
|
21741
|
+
pathname: "/",
|
|
21742
|
+
method: "POST",
|
|
21743
|
+
authType: "AK",
|
|
21744
|
+
style: "RPC",
|
|
21745
|
+
reqBodyType: "formData",
|
|
21746
|
+
bodyType: "json",
|
|
21747
|
+
});
|
|
21748
|
+
return $tea.cast(await this.callApi(params, req, runtime), new QueryGroupedSecurityEventMarkMissListResponse({}));
|
|
21749
|
+
}
|
|
21750
|
+
async queryGroupedSecurityEventMarkMissList(request) {
|
|
21751
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
21752
|
+
return await this.queryGroupedSecurityEventMarkMissListWithOptions(request, runtime);
|
|
21753
|
+
}
|
|
21458
21754
|
async refreshAssetsWithOptions(request, runtime) {
|
|
21459
21755
|
tea_util_1.default.validateModel(request);
|
|
21460
21756
|
let query = {};
|