@alicloud/sas20181203 2.2.3 → 2.4.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 CHANGED
@@ -206,6 +206,7 @@ export declare class AddClientUserDefineRuleResponse extends $tea.Model {
206
206
  export declare class AddImageVulWhiteListRequest extends $tea.Model {
207
207
  lang?: string;
208
208
  reason?: string;
209
+ source?: string;
209
210
  target?: string;
210
211
  type?: string;
211
212
  whitelist?: string;
@@ -4749,6 +4750,7 @@ export declare class DescribeCheckWarningsRequest extends $tea.Model {
4749
4750
  pageSize?: number;
4750
4751
  riskId?: number;
4751
4752
  riskStatus?: number;
4753
+ source?: string;
4752
4754
  sourceIp?: string;
4753
4755
  uuid?: string;
4754
4756
  static names(): {
@@ -7169,6 +7171,7 @@ export declare class DescribeImageBaselineItemListResponse extends $tea.Model {
7169
7171
  }
7170
7172
  export declare class DescribeImageBaselineStrategyRequest extends $tea.Model {
7171
7173
  lang?: string;
7174
+ source?: string;
7172
7175
  strategyId?: number;
7173
7176
  static names(): {
7174
7177
  [key: string]: string;
@@ -8064,6 +8067,7 @@ export declare class DescribeImageVulWhiteListRequest extends $tea.Model {
8064
8067
  currentPage?: number;
8065
8068
  lang?: string;
8066
8069
  pageSize?: number;
8070
+ source?: string;
8067
8071
  static names(): {
8068
8072
  [key: string]: string;
8069
8073
  };
@@ -10104,6 +10108,7 @@ export declare class DescribeRiskListCheckResultResponse extends $tea.Model {
10104
10108
  }
10105
10109
  export declare class DescribeRiskTypeRequest extends $tea.Model {
10106
10110
  lang?: string;
10111
+ source?: string;
10107
10112
  sourceIp?: string;
10108
10113
  static names(): {
10109
10114
  [key: string]: string;
@@ -13967,6 +13972,7 @@ export declare class GetAgentlessTaskCountResponseBody extends $tea.Model {
13967
13972
  riskMachine?: number;
13968
13973
  scaVulCount?: number;
13969
13974
  scanMachine?: number;
13975
+ sysVulCount?: string;
13970
13976
  vulnerability?: number;
13971
13977
  static names(): {
13972
13978
  [key: string]: string;
@@ -14497,6 +14503,48 @@ export declare class GetCheckSummaryResponse extends $tea.Model {
14497
14503
  [key: string]: any;
14498
14504
  });
14499
14505
  }
14506
+ export declare class GetClientInstallationStatisticRequest extends $tea.Model {
14507
+ timeEnd?: number;
14508
+ timeStart?: number;
14509
+ static names(): {
14510
+ [key: string]: string;
14511
+ };
14512
+ static types(): {
14513
+ [key: string]: any;
14514
+ };
14515
+ constructor(map?: {
14516
+ [key: string]: any;
14517
+ });
14518
+ }
14519
+ export declare class GetClientInstallationStatisticResponseBody extends $tea.Model {
14520
+ clientInstallRatio?: GetClientInstallationStatisticResponseBodyClientInstallRatio;
14521
+ requestId?: string;
14522
+ static names(): {
14523
+ [key: string]: string;
14524
+ };
14525
+ static types(): {
14526
+ [key: string]: any;
14527
+ };
14528
+ constructor(map?: {
14529
+ [key: string]: any;
14530
+ });
14531
+ }
14532
+ export declare class GetClientInstallationStatisticResponse extends $tea.Model {
14533
+ headers: {
14534
+ [key: string]: string;
14535
+ };
14536
+ statusCode: number;
14537
+ body: GetClientInstallationStatisticResponseBody;
14538
+ static names(): {
14539
+ [key: string]: string;
14540
+ };
14541
+ static types(): {
14542
+ [key: string]: any;
14543
+ };
14544
+ constructor(map?: {
14545
+ [key: string]: any;
14546
+ });
14547
+ }
14500
14548
  export declare class GetClientRatioStatisticRequest extends $tea.Model {
14501
14549
  resourceDirectoryAccountId?: number;
14502
14550
  statisticTypes?: string[];
@@ -15679,6 +15727,7 @@ export declare class IgnoreCheckItemsRequest extends $tea.Model {
15679
15727
  checkAndRiskTypeList?: IgnoreCheckItemsRequestCheckAndRiskTypeList[];
15680
15728
  lang?: string;
15681
15729
  reason?: string;
15730
+ source?: string;
15682
15731
  type?: number;
15683
15732
  uuidList?: string[];
15684
15733
  static names(): {
@@ -15724,6 +15773,7 @@ export declare class IgnoreHcCheckWarningsRequest extends $tea.Model {
15724
15773
  checkWarningIds?: string;
15725
15774
  reason?: string;
15726
15775
  riskId?: string;
15776
+ source?: string;
15727
15777
  sourceIp?: string;
15728
15778
  type?: number;
15729
15779
  static names(): {
@@ -16454,6 +16504,50 @@ export declare class ListCheckInstanceResultResponse extends $tea.Model {
16454
16504
  [key: string]: any;
16455
16505
  });
16456
16506
  }
16507
+ export declare class ListCheckItemRequest extends $tea.Model {
16508
+ currentPage?: number;
16509
+ lang?: string;
16510
+ pageSize?: number;
16511
+ static names(): {
16512
+ [key: string]: string;
16513
+ };
16514
+ static types(): {
16515
+ [key: string]: any;
16516
+ };
16517
+ constructor(map?: {
16518
+ [key: string]: any;
16519
+ });
16520
+ }
16521
+ export declare class ListCheckItemResponseBody extends $tea.Model {
16522
+ checkItems?: ListCheckItemResponseBodyCheckItems[];
16523
+ pageInfo?: ListCheckItemResponseBodyPageInfo;
16524
+ requestId?: string;
16525
+ static names(): {
16526
+ [key: string]: string;
16527
+ };
16528
+ static types(): {
16529
+ [key: string]: any;
16530
+ };
16531
+ constructor(map?: {
16532
+ [key: string]: any;
16533
+ });
16534
+ }
16535
+ export declare class ListCheckItemResponse extends $tea.Model {
16536
+ headers: {
16537
+ [key: string]: string;
16538
+ };
16539
+ statusCode: number;
16540
+ body: ListCheckItemResponseBody;
16541
+ static names(): {
16542
+ [key: string]: string;
16543
+ };
16544
+ static types(): {
16545
+ [key: string]: any;
16546
+ };
16547
+ constructor(map?: {
16548
+ [key: string]: any;
16549
+ });
16550
+ }
16457
16551
  export declare class ListCheckItemWarningMachineRequest extends $tea.Model {
16458
16552
  checkId?: number;
16459
16553
  containerFieldName?: string;
@@ -16464,6 +16558,7 @@ export declare class ListCheckItemWarningMachineRequest extends $tea.Model {
16464
16558
  pageSize?: number;
16465
16559
  remark?: string;
16466
16560
  riskType?: string;
16561
+ source?: string;
16467
16562
  status?: number;
16468
16563
  static names(): {
16469
16564
  [key: string]: string;
@@ -16517,6 +16612,7 @@ export declare class ListCheckItemWarningSummaryRequest extends $tea.Model {
16517
16612
  lang?: string;
16518
16613
  pageSize?: number;
16519
16614
  riskType?: string;
16615
+ source?: string;
16520
16616
  static names(): {
16521
16617
  [key: string]: string;
16522
16618
  };
@@ -21294,6 +21390,53 @@ export declare class PublicSyncAndCreateImageScanTaskResponse extends $tea.Model
21294
21390
  [key: string]: any;
21295
21391
  });
21296
21392
  }
21393
+ export declare class QueryAttackCountRequest extends $tea.Model {
21394
+ from?: string;
21395
+ lang?: string;
21396
+ sourceIp?: string;
21397
+ static names(): {
21398
+ [key: string]: string;
21399
+ };
21400
+ static types(): {
21401
+ [key: string]: any;
21402
+ };
21403
+ constructor(map?: {
21404
+ [key: string]: any;
21405
+ });
21406
+ }
21407
+ export declare class QueryAttackCountResponseBody extends $tea.Model {
21408
+ code?: string;
21409
+ count?: number;
21410
+ data?: QueryAttackCountResponseBodyData[];
21411
+ message?: string;
21412
+ requestId?: string;
21413
+ success?: boolean;
21414
+ static names(): {
21415
+ [key: string]: string;
21416
+ };
21417
+ static types(): {
21418
+ [key: string]: any;
21419
+ };
21420
+ constructor(map?: {
21421
+ [key: string]: any;
21422
+ });
21423
+ }
21424
+ export declare class QueryAttackCountResponse extends $tea.Model {
21425
+ headers: {
21426
+ [key: string]: string;
21427
+ };
21428
+ statusCode: number;
21429
+ body: QueryAttackCountResponseBody;
21430
+ static names(): {
21431
+ [key: string]: string;
21432
+ };
21433
+ static types(): {
21434
+ [key: string]: any;
21435
+ };
21436
+ constructor(map?: {
21437
+ [key: string]: any;
21438
+ });
21439
+ }
21297
21440
  export declare class QueryDiscoverDatabaseRequest extends $tea.Model {
21298
21441
  createMark?: string;
21299
21442
  static names(): {
@@ -21814,6 +21957,7 @@ export declare class SasInstallCodeResponse extends $tea.Model {
21814
21957
  export declare class SaveImageBaselineStrategyRequest extends $tea.Model {
21815
21958
  baselineItemList?: string;
21816
21959
  lang?: string;
21960
+ source?: string;
21817
21961
  strategyId?: number;
21818
21962
  strategyName?: string;
21819
21963
  static names(): {
@@ -25248,6 +25392,7 @@ export declare class DescribeImageBaselineStrategyResponseBodyStrategyBaselineIt
25248
25392
  });
25249
25393
  }
25250
25394
  export declare class DescribeImageBaselineStrategyResponseBodyStrategy extends $tea.Model {
25395
+ baselineItem?: string;
25251
25396
  baselineItemList?: DescribeImageBaselineStrategyResponseBodyStrategyBaselineItemList[];
25252
25397
  selectedItemCount?: number;
25253
25398
  strategyId?: number;
@@ -27684,6 +27829,7 @@ export declare class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model
27684
27829
  k8sNodeId?: string;
27685
27830
  k8sNodeName?: string;
27686
27831
  k8sPodName?: string;
27832
+ largeModel?: boolean;
27687
27833
  lastTime?: string;
27688
27834
  lastTimeStamp?: number;
27689
27835
  level?: string;
@@ -29145,6 +29291,76 @@ export declare class GetCheckSummaryResponseBodySummarys extends $tea.Model {
29145
29291
  [key: string]: any;
29146
29292
  });
29147
29293
  }
29294
+ export declare class GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems extends $tea.Model {
29295
+ assetTotalCount?: number;
29296
+ calculateTime?: number;
29297
+ installRatio?: number;
29298
+ installedAssetCount?: number;
29299
+ static names(): {
29300
+ [key: string]: string;
29301
+ };
29302
+ static types(): {
29303
+ [key: string]: any;
29304
+ };
29305
+ constructor(map?: {
29306
+ [key: string]: any;
29307
+ });
29308
+ }
29309
+ export declare class GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems extends $tea.Model {
29310
+ items?: GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems[];
29311
+ vendor?: number;
29312
+ static names(): {
29313
+ [key: string]: string;
29314
+ };
29315
+ static types(): {
29316
+ [key: string]: any;
29317
+ };
29318
+ constructor(map?: {
29319
+ [key: string]: any;
29320
+ });
29321
+ }
29322
+ export declare class GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems extends $tea.Model {
29323
+ assetTotalCount?: number;
29324
+ calculateTime?: number;
29325
+ installRatio?: number;
29326
+ installedAssetCount?: number;
29327
+ static names(): {
29328
+ [key: string]: string;
29329
+ };
29330
+ static types(): {
29331
+ [key: string]: any;
29332
+ };
29333
+ constructor(map?: {
29334
+ [key: string]: any;
29335
+ });
29336
+ }
29337
+ export declare class GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems extends $tea.Model {
29338
+ items?: GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems[];
29339
+ vendor?: number;
29340
+ static names(): {
29341
+ [key: string]: string;
29342
+ };
29343
+ static types(): {
29344
+ [key: string]: any;
29345
+ };
29346
+ constructor(map?: {
29347
+ [key: string]: any;
29348
+ });
29349
+ }
29350
+ export declare class GetClientInstallationStatisticResponseBodyClientInstallRatio extends $tea.Model {
29351
+ currentItems?: GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems[];
29352
+ dates?: number[];
29353
+ historyItems?: GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems[];
29354
+ static names(): {
29355
+ [key: string]: string;
29356
+ };
29357
+ static types(): {
29358
+ [key: string]: any;
29359
+ };
29360
+ constructor(map?: {
29361
+ [key: string]: any;
29362
+ });
29363
+ }
29148
29364
  export declare class GetClientRatioStatisticResponseBodyClientInstallRatioCurrentItemsItems extends $tea.Model {
29149
29365
  assetTotalCount?: number;
29150
29366
  calculateTime?: number;
@@ -30157,6 +30373,70 @@ export declare class ListCheckInstanceResultResponseBodyPageInfo extends $tea.Mo
30157
30373
  [key: string]: any;
30158
30374
  });
30159
30375
  }
30376
+ export declare class ListCheckItemResponseBodyCheckItemsCustomConfigs extends $tea.Model {
30377
+ defaultValue?: string;
30378
+ name?: string;
30379
+ showName?: string;
30380
+ typeDefine?: string;
30381
+ value?: string;
30382
+ static names(): {
30383
+ [key: string]: string;
30384
+ };
30385
+ static types(): {
30386
+ [key: string]: any;
30387
+ };
30388
+ constructor(map?: {
30389
+ [key: string]: any;
30390
+ });
30391
+ }
30392
+ export declare class ListCheckItemResponseBodyCheckItemsDescription extends $tea.Model {
30393
+ type?: string;
30394
+ value?: string;
30395
+ static names(): {
30396
+ [key: string]: string;
30397
+ };
30398
+ static types(): {
30399
+ [key: string]: any;
30400
+ };
30401
+ constructor(map?: {
30402
+ [key: string]: any;
30403
+ });
30404
+ }
30405
+ export declare class ListCheckItemResponseBodyCheckItems extends $tea.Model {
30406
+ checkId?: number;
30407
+ checkShowName?: string;
30408
+ customConfigs?: ListCheckItemResponseBodyCheckItemsCustomConfigs[];
30409
+ description?: ListCheckItemResponseBodyCheckItemsDescription;
30410
+ instanceSubType?: string;
30411
+ instanceType?: string;
30412
+ riskLevel?: string;
30413
+ sectionIds?: number[];
30414
+ vendor?: string;
30415
+ static names(): {
30416
+ [key: string]: string;
30417
+ };
30418
+ static types(): {
30419
+ [key: string]: any;
30420
+ };
30421
+ constructor(map?: {
30422
+ [key: string]: any;
30423
+ });
30424
+ }
30425
+ export declare class ListCheckItemResponseBodyPageInfo extends $tea.Model {
30426
+ count?: number;
30427
+ currentPage?: number;
30428
+ pageSize?: number;
30429
+ totalCount?: number;
30430
+ static names(): {
30431
+ [key: string]: string;
30432
+ };
30433
+ static types(): {
30434
+ [key: string]: any;
30435
+ };
30436
+ constructor(map?: {
30437
+ [key: string]: any;
30438
+ });
30439
+ }
30160
30440
  export declare class ListCheckItemWarningMachineResponseBodyListFixList extends $tea.Model {
30161
30441
  riskId?: number;
30162
30442
  riskName?: string;
@@ -30193,10 +30473,14 @@ export declare class ListCheckItemWarningMachineResponseBodyList extends $tea.Mo
30193
30473
  instanceName?: string;
30194
30474
  internetIp?: string;
30195
30475
  intranetIp?: string;
30476
+ lastScanTime?: number;
30196
30477
  portOpen?: boolean;
30197
30478
  prompt?: string;
30198
30479
  regionId?: string;
30199
30480
  status?: number;
30481
+ targetId?: string;
30482
+ targetName?: string;
30483
+ targetType?: string;
30200
30484
  uuid?: string;
30201
30485
  warningRiskList?: ListCheckItemWarningMachineResponseBodyListWarningRiskList[];
30202
30486
  static names(): {
@@ -31488,6 +31772,20 @@ export declare class PublicSyncAndCreateImageScanTaskResponseBodyData extends $t
31488
31772
  [key: string]: any;
31489
31773
  });
31490
31774
  }
31775
+ export declare class QueryAttackCountResponseBodyData extends $tea.Model {
31776
+ eventCount?: number;
31777
+ tacticId?: string;
31778
+ tacticType?: string;
31779
+ static names(): {
31780
+ [key: string]: string;
31781
+ };
31782
+ static types(): {
31783
+ [key: string]: any;
31784
+ };
31785
+ constructor(map?: {
31786
+ [key: string]: any;
31787
+ });
31788
+ }
31491
31789
  export declare class QueryGroupedSecurityEventMarkMissListResponseBodyList extends $tea.Model {
31492
31790
  aliUid?: number;
31493
31791
  disposalWay?: string;
@@ -32254,7 +32552,7 @@ export default class Client extends OpenApi {
32254
32552
  describeRiskCheckItemResult(request: DescribeRiskCheckItemResultRequest): Promise<DescribeRiskCheckItemResultResponse>;
32255
32553
  /**
32256
32554
  * @deprecated
32257
- * This operation is phased out. You can use the ListCheckResult operation.
32555
+ * This operation is phased out. You can use the [ListCheckResult](~~ListCheckResult~~) operation.
32258
32556
  *
32259
32557
  * @param request DescribeRiskCheckResultRequest
32260
32558
  * @param runtime runtime options for this request RuntimeOptions
@@ -32263,7 +32561,7 @@ export default class Client extends OpenApi {
32263
32561
  describeRiskCheckResultWithOptions(request: DescribeRiskCheckResultRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRiskCheckResultResponse>;
32264
32562
  /**
32265
32563
  * @deprecated
32266
- * This operation is phased out. You can use the ListCheckResult operation.
32564
+ * This operation is phased out. You can use the [ListCheckResult](~~ListCheckResult~~) operation.
32267
32565
  *
32268
32566
  * @param request DescribeRiskCheckResultRequest
32269
32567
  * @return DescribeRiskCheckResultResponse
@@ -32597,6 +32895,21 @@ export default class Client extends OpenApi {
32597
32895
  getCheckRiskStatistics(request: GetCheckRiskStatisticsRequest): Promise<GetCheckRiskStatisticsResponse>;
32598
32896
  getCheckSummaryWithOptions(request: GetCheckSummaryRequest, runtime: $Util.RuntimeOptions): Promise<GetCheckSummaryResponse>;
32599
32897
  getCheckSummary(request: GetCheckSummaryRequest): Promise<GetCheckSummaryResponse>;
32898
+ /**
32899
+ * @deprecated : GetClientInstallationStatistic is deprecated, please use Sas::2018-12-03::GetClientRatioStatistic instead.
32900
+ *
32901
+ * @param request GetClientInstallationStatisticRequest
32902
+ * @param runtime runtime options for this request RuntimeOptions
32903
+ * @return GetClientInstallationStatisticResponse
32904
+ */
32905
+ getClientInstallationStatisticWithOptions(request: GetClientInstallationStatisticRequest, runtime: $Util.RuntimeOptions): Promise<GetClientInstallationStatisticResponse>;
32906
+ /**
32907
+ * @deprecated : GetClientInstallationStatistic is deprecated, please use Sas::2018-12-03::GetClientRatioStatistic instead.
32908
+ *
32909
+ * @param request GetClientInstallationStatisticRequest
32910
+ * @return GetClientInstallationStatisticResponse
32911
+ */
32912
+ getClientInstallationStatistic(request: GetClientInstallationStatisticRequest): Promise<GetClientInstallationStatisticResponse>;
32600
32913
  getClientRatioStatisticWithOptions(request: GetClientRatioStatisticRequest, runtime: $Util.RuntimeOptions): Promise<GetClientRatioStatisticResponse>;
32601
32914
  getClientRatioStatistic(request: GetClientRatioStatisticRequest): Promise<GetClientRatioStatisticResponse>;
32602
32915
  getClientUserDefineRuleWithOptions(request: GetClientUserDefineRuleRequest, runtime: $Util.RuntimeOptions): Promise<GetClientUserDefineRuleResponse>;
@@ -32715,6 +33028,8 @@ export default class Client extends OpenApi {
32715
33028
  listAvailableHoneypot(request: ListAvailableHoneypotRequest): Promise<ListAvailableHoneypotResponse>;
32716
33029
  listCheckInstanceResultWithOptions(request: ListCheckInstanceResultRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckInstanceResultResponse>;
32717
33030
  listCheckInstanceResult(request: ListCheckInstanceResultRequest): Promise<ListCheckInstanceResultResponse>;
33031
+ listCheckItemWithOptions(request: ListCheckItemRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckItemResponse>;
33032
+ listCheckItem(request: ListCheckItemRequest): Promise<ListCheckItemResponse>;
32718
33033
  listCheckItemWarningMachineWithOptions(request: ListCheckItemWarningMachineRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckItemWarningMachineResponse>;
32719
33034
  listCheckItemWarningMachine(request: ListCheckItemWarningMachineRequest): Promise<ListCheckItemWarningMachineResponse>;
32720
33035
  listCheckItemWarningSummaryWithOptions(request: ListCheckItemWarningSummaryRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckItemWarningSummaryResponse>;
@@ -33038,6 +33353,8 @@ export default class Client extends OpenApi {
33038
33353
  publicPreCheckImageScanTask(request: PublicPreCheckImageScanTaskRequest): Promise<PublicPreCheckImageScanTaskResponse>;
33039
33354
  publicSyncAndCreateImageScanTaskWithOptions(request: PublicSyncAndCreateImageScanTaskRequest, runtime: $Util.RuntimeOptions): Promise<PublicSyncAndCreateImageScanTaskResponse>;
33040
33355
  publicSyncAndCreateImageScanTask(request: PublicSyncAndCreateImageScanTaskRequest): Promise<PublicSyncAndCreateImageScanTaskResponse>;
33356
+ queryAttackCountWithOptions(request: QueryAttackCountRequest, runtime: $Util.RuntimeOptions): Promise<QueryAttackCountResponse>;
33357
+ queryAttackCount(request: QueryAttackCountRequest): Promise<QueryAttackCountResponse>;
33041
33358
  queryDiscoverDatabaseWithOptions(request: QueryDiscoverDatabaseRequest, runtime: $Util.RuntimeOptions): Promise<QueryDiscoverDatabaseResponse>;
33042
33359
  queryDiscoverDatabase(request: QueryDiscoverDatabaseRequest): Promise<QueryDiscoverDatabaseResponse>;
33043
33360
  /**