@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/src/client.ts CHANGED
@@ -351,6 +351,7 @@ export class AddClientUserDefineRuleResponse extends $tea.Model {
351
351
  export class AddImageVulWhiteListRequest extends $tea.Model {
352
352
  lang?: string;
353
353
  reason?: string;
354
+ source?: string;
354
355
  target?: string;
355
356
  type?: string;
356
357
  whitelist?: string;
@@ -358,6 +359,7 @@ export class AddImageVulWhiteListRequest extends $tea.Model {
358
359
  return {
359
360
  lang: 'Lang',
360
361
  reason: 'Reason',
362
+ source: 'Source',
361
363
  target: 'Target',
362
364
  type: 'Type',
363
365
  whitelist: 'Whitelist',
@@ -368,6 +370,7 @@ export class AddImageVulWhiteListRequest extends $tea.Model {
368
370
  return {
369
371
  lang: 'string',
370
372
  reason: 'string',
373
+ source: 'string',
371
374
  target: 'string',
372
375
  type: 'string',
373
376
  whitelist: 'string',
@@ -8192,6 +8195,7 @@ export class DescribeCheckWarningsRequest extends $tea.Model {
8192
8195
  pageSize?: number;
8193
8196
  riskId?: number;
8194
8197
  riskStatus?: number;
8198
+ source?: string;
8195
8199
  sourceIp?: string;
8196
8200
  uuid?: string;
8197
8201
  static names(): { [key: string]: string } {
@@ -8204,6 +8208,7 @@ export class DescribeCheckWarningsRequest extends $tea.Model {
8204
8208
  pageSize: 'PageSize',
8205
8209
  riskId: 'RiskId',
8206
8210
  riskStatus: 'RiskStatus',
8211
+ source: 'Source',
8207
8212
  sourceIp: 'SourceIp',
8208
8213
  uuid: 'Uuid',
8209
8214
  };
@@ -8219,6 +8224,7 @@ export class DescribeCheckWarningsRequest extends $tea.Model {
8219
8224
  pageSize: 'number',
8220
8225
  riskId: 'number',
8221
8226
  riskStatus: 'number',
8227
+ source: 'string',
8222
8228
  sourceIp: 'string',
8223
8229
  uuid: 'string',
8224
8230
  };
@@ -12416,10 +12422,12 @@ export class DescribeImageBaselineItemListResponse extends $tea.Model {
12416
12422
 
12417
12423
  export class DescribeImageBaselineStrategyRequest extends $tea.Model {
12418
12424
  lang?: string;
12425
+ source?: string;
12419
12426
  strategyId?: number;
12420
12427
  static names(): { [key: string]: string } {
12421
12428
  return {
12422
12429
  lang: 'Lang',
12430
+ source: 'Source',
12423
12431
  strategyId: 'StrategyId',
12424
12432
  };
12425
12433
  }
@@ -12427,6 +12435,7 @@ export class DescribeImageBaselineStrategyRequest extends $tea.Model {
12427
12435
  static types(): { [key: string]: any } {
12428
12436
  return {
12429
12437
  lang: 'string',
12438
+ source: 'string',
12430
12439
  strategyId: 'number',
12431
12440
  };
12432
12441
  }
@@ -14069,12 +14078,14 @@ export class DescribeImageVulWhiteListRequest extends $tea.Model {
14069
14078
  currentPage?: number;
14070
14079
  lang?: string;
14071
14080
  pageSize?: number;
14081
+ source?: string;
14072
14082
  static names(): { [key: string]: string } {
14073
14083
  return {
14074
14084
  aliasName: 'AliasName',
14075
14085
  currentPage: 'CurrentPage',
14076
14086
  lang: 'Lang',
14077
14087
  pageSize: 'PageSize',
14088
+ source: 'Source',
14078
14089
  };
14079
14090
  }
14080
14091
 
@@ -14084,6 +14095,7 @@ export class DescribeImageVulWhiteListRequest extends $tea.Model {
14084
14095
  currentPage: 'number',
14085
14096
  lang: 'string',
14086
14097
  pageSize: 'number',
14098
+ source: 'string',
14087
14099
  };
14088
14100
  }
14089
14101
 
@@ -17675,10 +17687,12 @@ export class DescribeRiskListCheckResultResponse extends $tea.Model {
17675
17687
 
17676
17688
  export class DescribeRiskTypeRequest extends $tea.Model {
17677
17689
  lang?: string;
17690
+ source?: string;
17678
17691
  sourceIp?: string;
17679
17692
  static names(): { [key: string]: string } {
17680
17693
  return {
17681
17694
  lang: 'Lang',
17695
+ source: 'Source',
17682
17696
  sourceIp: 'SourceIp',
17683
17697
  };
17684
17698
  }
@@ -17686,6 +17700,7 @@ export class DescribeRiskTypeRequest extends $tea.Model {
17686
17700
  static types(): { [key: string]: any } {
17687
17701
  return {
17688
17702
  lang: 'string',
17703
+ source: 'string',
17689
17704
  sourceIp: 'string',
17690
17705
  };
17691
17706
  }
@@ -24558,6 +24573,7 @@ export class GetAgentlessTaskCountResponseBody extends $tea.Model {
24558
24573
  riskMachine?: number;
24559
24574
  scaVulCount?: number;
24560
24575
  scanMachine?: number;
24576
+ sysVulCount?: string;
24561
24577
  vulnerability?: number;
24562
24578
  static names(): { [key: string]: string } {
24563
24579
  return {
@@ -24569,6 +24585,7 @@ export class GetAgentlessTaskCountResponseBody extends $tea.Model {
24569
24585
  riskMachine: 'RiskMachine',
24570
24586
  scaVulCount: 'ScaVulCount',
24571
24587
  scanMachine: 'ScanMachine',
24588
+ sysVulCount: 'SysVulCount',
24572
24589
  vulnerability: 'Vulnerability',
24573
24590
  };
24574
24591
  }
@@ -24583,6 +24600,7 @@ export class GetAgentlessTaskCountResponseBody extends $tea.Model {
24583
24600
  riskMachine: 'number',
24584
24601
  scaVulCount: 'number',
24585
24602
  scanMachine: 'number',
24603
+ sysVulCount: 'string',
24586
24604
  vulnerability: 'number',
24587
24605
  };
24588
24606
  }
@@ -25476,6 +25494,75 @@ export class GetCheckSummaryResponse extends $tea.Model {
25476
25494
  }
25477
25495
  }
25478
25496
 
25497
+ export class GetClientInstallationStatisticRequest extends $tea.Model {
25498
+ timeEnd?: number;
25499
+ timeStart?: number;
25500
+ static names(): { [key: string]: string } {
25501
+ return {
25502
+ timeEnd: 'TimeEnd',
25503
+ timeStart: 'TimeStart',
25504
+ };
25505
+ }
25506
+
25507
+ static types(): { [key: string]: any } {
25508
+ return {
25509
+ timeEnd: 'number',
25510
+ timeStart: 'number',
25511
+ };
25512
+ }
25513
+
25514
+ constructor(map?: { [key: string]: any }) {
25515
+ super(map);
25516
+ }
25517
+ }
25518
+
25519
+ export class GetClientInstallationStatisticResponseBody extends $tea.Model {
25520
+ clientInstallRatio?: GetClientInstallationStatisticResponseBodyClientInstallRatio;
25521
+ requestId?: string;
25522
+ static names(): { [key: string]: string } {
25523
+ return {
25524
+ clientInstallRatio: 'ClientInstallRatio',
25525
+ requestId: 'RequestId',
25526
+ };
25527
+ }
25528
+
25529
+ static types(): { [key: string]: any } {
25530
+ return {
25531
+ clientInstallRatio: GetClientInstallationStatisticResponseBodyClientInstallRatio,
25532
+ requestId: 'string',
25533
+ };
25534
+ }
25535
+
25536
+ constructor(map?: { [key: string]: any }) {
25537
+ super(map);
25538
+ }
25539
+ }
25540
+
25541
+ export class GetClientInstallationStatisticResponse extends $tea.Model {
25542
+ headers: { [key: string]: string };
25543
+ statusCode: number;
25544
+ body: GetClientInstallationStatisticResponseBody;
25545
+ static names(): { [key: string]: string } {
25546
+ return {
25547
+ headers: 'headers',
25548
+ statusCode: 'statusCode',
25549
+ body: 'body',
25550
+ };
25551
+ }
25552
+
25553
+ static types(): { [key: string]: any } {
25554
+ return {
25555
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
25556
+ statusCode: 'number',
25557
+ body: GetClientInstallationStatisticResponseBody,
25558
+ };
25559
+ }
25560
+
25561
+ constructor(map?: { [key: string]: any }) {
25562
+ super(map);
25563
+ }
25564
+ }
25565
+
25479
25566
  export class GetClientRatioStatisticRequest extends $tea.Model {
25480
25567
  resourceDirectoryAccountId?: number;
25481
25568
  statisticTypes?: string[];
@@ -27469,6 +27556,7 @@ export class IgnoreCheckItemsRequest extends $tea.Model {
27469
27556
  checkAndRiskTypeList?: IgnoreCheckItemsRequestCheckAndRiskTypeList[];
27470
27557
  lang?: string;
27471
27558
  reason?: string;
27559
+ source?: string;
27472
27560
  type?: number;
27473
27561
  uuidList?: string[];
27474
27562
  static names(): { [key: string]: string } {
@@ -27476,6 +27564,7 @@ export class IgnoreCheckItemsRequest extends $tea.Model {
27476
27564
  checkAndRiskTypeList: 'CheckAndRiskTypeList',
27477
27565
  lang: 'Lang',
27478
27566
  reason: 'Reason',
27567
+ source: 'Source',
27479
27568
  type: 'Type',
27480
27569
  uuidList: 'UuidList',
27481
27570
  };
@@ -27486,6 +27575,7 @@ export class IgnoreCheckItemsRequest extends $tea.Model {
27486
27575
  checkAndRiskTypeList: { 'type': 'array', 'itemType': IgnoreCheckItemsRequestCheckAndRiskTypeList },
27487
27576
  lang: 'string',
27488
27577
  reason: 'string',
27578
+ source: 'string',
27489
27579
  type: 'number',
27490
27580
  uuidList: { 'type': 'array', 'itemType': 'string' },
27491
27581
  };
@@ -27545,6 +27635,7 @@ export class IgnoreHcCheckWarningsRequest extends $tea.Model {
27545
27635
  checkWarningIds?: string;
27546
27636
  reason?: string;
27547
27637
  riskId?: string;
27638
+ source?: string;
27548
27639
  sourceIp?: string;
27549
27640
  type?: number;
27550
27641
  static names(): { [key: string]: string } {
@@ -27553,6 +27644,7 @@ export class IgnoreHcCheckWarningsRequest extends $tea.Model {
27553
27644
  checkWarningIds: 'CheckWarningIds',
27554
27645
  reason: 'Reason',
27555
27646
  riskId: 'RiskId',
27647
+ source: 'Source',
27556
27648
  sourceIp: 'SourceIp',
27557
27649
  type: 'Type',
27558
27650
  };
@@ -27564,6 +27656,7 @@ export class IgnoreHcCheckWarningsRequest extends $tea.Model {
27564
27656
  checkWarningIds: 'string',
27565
27657
  reason: 'string',
27566
27658
  riskId: 'string',
27659
+ source: 'string',
27567
27660
  sourceIp: 'string',
27568
27661
  type: 'number',
27569
27662
  };
@@ -28804,6 +28897,81 @@ export class ListCheckInstanceResultResponse extends $tea.Model {
28804
28897
  }
28805
28898
  }
28806
28899
 
28900
+ export class ListCheckItemRequest extends $tea.Model {
28901
+ currentPage?: number;
28902
+ lang?: string;
28903
+ pageSize?: number;
28904
+ static names(): { [key: string]: string } {
28905
+ return {
28906
+ currentPage: 'CurrentPage',
28907
+ lang: 'Lang',
28908
+ pageSize: 'PageSize',
28909
+ };
28910
+ }
28911
+
28912
+ static types(): { [key: string]: any } {
28913
+ return {
28914
+ currentPage: 'number',
28915
+ lang: 'string',
28916
+ pageSize: 'number',
28917
+ };
28918
+ }
28919
+
28920
+ constructor(map?: { [key: string]: any }) {
28921
+ super(map);
28922
+ }
28923
+ }
28924
+
28925
+ export class ListCheckItemResponseBody extends $tea.Model {
28926
+ checkItems?: ListCheckItemResponseBodyCheckItems[];
28927
+ pageInfo?: ListCheckItemResponseBodyPageInfo;
28928
+ requestId?: string;
28929
+ static names(): { [key: string]: string } {
28930
+ return {
28931
+ checkItems: 'CheckItems',
28932
+ pageInfo: 'PageInfo',
28933
+ requestId: 'RequestId',
28934
+ };
28935
+ }
28936
+
28937
+ static types(): { [key: string]: any } {
28938
+ return {
28939
+ checkItems: { 'type': 'array', 'itemType': ListCheckItemResponseBodyCheckItems },
28940
+ pageInfo: ListCheckItemResponseBodyPageInfo,
28941
+ requestId: 'string',
28942
+ };
28943
+ }
28944
+
28945
+ constructor(map?: { [key: string]: any }) {
28946
+ super(map);
28947
+ }
28948
+ }
28949
+
28950
+ export class ListCheckItemResponse extends $tea.Model {
28951
+ headers: { [key: string]: string };
28952
+ statusCode: number;
28953
+ body: ListCheckItemResponseBody;
28954
+ static names(): { [key: string]: string } {
28955
+ return {
28956
+ headers: 'headers',
28957
+ statusCode: 'statusCode',
28958
+ body: 'body',
28959
+ };
28960
+ }
28961
+
28962
+ static types(): { [key: string]: any } {
28963
+ return {
28964
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
28965
+ statusCode: 'number',
28966
+ body: ListCheckItemResponseBody,
28967
+ };
28968
+ }
28969
+
28970
+ constructor(map?: { [key: string]: any }) {
28971
+ super(map);
28972
+ }
28973
+ }
28974
+
28807
28975
  export class ListCheckItemWarningMachineRequest extends $tea.Model {
28808
28976
  checkId?: number;
28809
28977
  containerFieldName?: string;
@@ -28814,6 +28982,7 @@ export class ListCheckItemWarningMachineRequest extends $tea.Model {
28814
28982
  pageSize?: number;
28815
28983
  remark?: string;
28816
28984
  riskType?: string;
28985
+ source?: string;
28817
28986
  status?: number;
28818
28987
  static names(): { [key: string]: string } {
28819
28988
  return {
@@ -28826,6 +28995,7 @@ export class ListCheckItemWarningMachineRequest extends $tea.Model {
28826
28995
  pageSize: 'PageSize',
28827
28996
  remark: 'Remark',
28828
28997
  riskType: 'RiskType',
28998
+ source: 'Source',
28829
28999
  status: 'Status',
28830
29000
  };
28831
29001
  }
@@ -28841,6 +29011,7 @@ export class ListCheckItemWarningMachineRequest extends $tea.Model {
28841
29011
  pageSize: 'number',
28842
29012
  remark: 'string',
28843
29013
  riskType: 'string',
29014
+ source: 'string',
28844
29015
  status: 'number',
28845
29016
  };
28846
29017
  }
@@ -28912,6 +29083,7 @@ export class ListCheckItemWarningSummaryRequest extends $tea.Model {
28912
29083
  lang?: string;
28913
29084
  pageSize?: number;
28914
29085
  riskType?: string;
29086
+ source?: string;
28915
29087
  static names(): { [key: string]: string } {
28916
29088
  return {
28917
29089
  checkItemFuzzy: 'CheckItemFuzzy',
@@ -28925,6 +29097,7 @@ export class ListCheckItemWarningSummaryRequest extends $tea.Model {
28925
29097
  lang: 'Lang',
28926
29098
  pageSize: 'PageSize',
28927
29099
  riskType: 'RiskType',
29100
+ source: 'Source',
28928
29101
  };
28929
29102
  }
28930
29103
 
@@ -28941,6 +29114,7 @@ export class ListCheckItemWarningSummaryRequest extends $tea.Model {
28941
29114
  lang: 'string',
28942
29115
  pageSize: 'number',
28943
29116
  riskType: 'string',
29117
+ source: 'string',
28944
29118
  };
28945
29119
  }
28946
29120
 
@@ -37178,6 +37352,90 @@ export class PublicSyncAndCreateImageScanTaskResponse extends $tea.Model {
37178
37352
  }
37179
37353
  }
37180
37354
 
37355
+ export class QueryAttackCountRequest extends $tea.Model {
37356
+ from?: string;
37357
+ lang?: string;
37358
+ sourceIp?: string;
37359
+ static names(): { [key: string]: string } {
37360
+ return {
37361
+ from: 'From',
37362
+ lang: 'Lang',
37363
+ sourceIp: 'SourceIp',
37364
+ };
37365
+ }
37366
+
37367
+ static types(): { [key: string]: any } {
37368
+ return {
37369
+ from: 'string',
37370
+ lang: 'string',
37371
+ sourceIp: 'string',
37372
+ };
37373
+ }
37374
+
37375
+ constructor(map?: { [key: string]: any }) {
37376
+ super(map);
37377
+ }
37378
+ }
37379
+
37380
+ export class QueryAttackCountResponseBody extends $tea.Model {
37381
+ code?: string;
37382
+ count?: number;
37383
+ data?: QueryAttackCountResponseBodyData[];
37384
+ message?: string;
37385
+ requestId?: string;
37386
+ success?: boolean;
37387
+ static names(): { [key: string]: string } {
37388
+ return {
37389
+ code: 'Code',
37390
+ count: 'Count',
37391
+ data: 'Data',
37392
+ message: 'Message',
37393
+ requestId: 'RequestId',
37394
+ success: 'Success',
37395
+ };
37396
+ }
37397
+
37398
+ static types(): { [key: string]: any } {
37399
+ return {
37400
+ code: 'string',
37401
+ count: 'number',
37402
+ data: { 'type': 'array', 'itemType': QueryAttackCountResponseBodyData },
37403
+ message: 'string',
37404
+ requestId: 'string',
37405
+ success: 'boolean',
37406
+ };
37407
+ }
37408
+
37409
+ constructor(map?: { [key: string]: any }) {
37410
+ super(map);
37411
+ }
37412
+ }
37413
+
37414
+ export class QueryAttackCountResponse extends $tea.Model {
37415
+ headers: { [key: string]: string };
37416
+ statusCode: number;
37417
+ body: QueryAttackCountResponseBody;
37418
+ static names(): { [key: string]: string } {
37419
+ return {
37420
+ headers: 'headers',
37421
+ statusCode: 'statusCode',
37422
+ body: 'body',
37423
+ };
37424
+ }
37425
+
37426
+ static types(): { [key: string]: any } {
37427
+ return {
37428
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
37429
+ statusCode: 'number',
37430
+ body: QueryAttackCountResponseBody,
37431
+ };
37432
+ }
37433
+
37434
+ constructor(map?: { [key: string]: any }) {
37435
+ super(map);
37436
+ }
37437
+ }
37438
+
37181
37439
  export class QueryDiscoverDatabaseRequest extends $tea.Model {
37182
37440
  createMark?: string;
37183
37441
  static names(): { [key: string]: string } {
@@ -38048,12 +38306,14 @@ export class SasInstallCodeResponse extends $tea.Model {
38048
38306
  export class SaveImageBaselineStrategyRequest extends $tea.Model {
38049
38307
  baselineItemList?: string;
38050
38308
  lang?: string;
38309
+ source?: string;
38051
38310
  strategyId?: number;
38052
38311
  strategyName?: string;
38053
38312
  static names(): { [key: string]: string } {
38054
38313
  return {
38055
38314
  baselineItemList: 'BaselineItemList',
38056
38315
  lang: 'Lang',
38316
+ source: 'Source',
38057
38317
  strategyId: 'StrategyId',
38058
38318
  strategyName: 'StrategyName',
38059
38319
  };
@@ -38063,6 +38323,7 @@ export class SaveImageBaselineStrategyRequest extends $tea.Model {
38063
38323
  return {
38064
38324
  baselineItemList: 'string',
38065
38325
  lang: 'string',
38326
+ source: 'string',
38066
38327
  strategyId: 'number',
38067
38328
  strategyName: 'string',
38068
38329
  };
@@ -44674,6 +44935,7 @@ export class DescribeImageBaselineStrategyResponseBodyStrategyBaselineItemList e
44674
44935
  }
44675
44936
 
44676
44937
  export class DescribeImageBaselineStrategyResponseBodyStrategy extends $tea.Model {
44938
+ baselineItem?: string;
44677
44939
  baselineItemList?: DescribeImageBaselineStrategyResponseBodyStrategyBaselineItemList[];
44678
44940
  selectedItemCount?: number;
44679
44941
  strategyId?: number;
@@ -44682,6 +44944,7 @@ export class DescribeImageBaselineStrategyResponseBodyStrategy extends $tea.Mode
44682
44944
  type?: string;
44683
44945
  static names(): { [key: string]: string } {
44684
44946
  return {
44947
+ baselineItem: 'BaselineItem',
44685
44948
  baselineItemList: 'BaselineItemList',
44686
44949
  selectedItemCount: 'SelectedItemCount',
44687
44950
  strategyId: 'StrategyId',
@@ -44693,6 +44956,7 @@ export class DescribeImageBaselineStrategyResponseBodyStrategy extends $tea.Mode
44693
44956
 
44694
44957
  static types(): { [key: string]: any } {
44695
44958
  return {
44959
+ baselineItem: 'string',
44696
44960
  baselineItemList: { 'type': 'array', 'itemType': DescribeImageBaselineStrategyResponseBodyStrategyBaselineItemList },
44697
44961
  selectedItemCount: 'number',
44698
44962
  strategyId: 'number',
@@ -49658,6 +49922,7 @@ export class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
49658
49922
  k8sNodeId?: string;
49659
49923
  k8sNodeName?: string;
49660
49924
  k8sPodName?: string;
49925
+ largeModel?: boolean;
49661
49926
  lastTime?: string;
49662
49927
  lastTimeStamp?: number;
49663
49928
  level?: string;
@@ -49712,6 +49977,7 @@ export class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
49712
49977
  k8sNodeId: 'K8sNodeId',
49713
49978
  k8sNodeName: 'K8sNodeName',
49714
49979
  k8sPodName: 'K8sPodName',
49980
+ largeModel: 'LargeModel',
49715
49981
  lastTime: 'LastTime',
49716
49982
  lastTimeStamp: 'LastTimeStamp',
49717
49983
  level: 'Level',
@@ -49769,6 +50035,7 @@ export class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
49769
50035
  k8sNodeId: 'string',
49770
50036
  k8sNodeName: 'string',
49771
50037
  k8sPodName: 'string',
50038
+ largeModel: 'boolean',
49772
50039
  lastTime: 'string',
49773
50040
  lastTimeStamp: 'number',
49774
50041
  level: 'string',
@@ -52683,6 +52950,131 @@ export class GetCheckSummaryResponseBodySummarys extends $tea.Model {
52683
52950
  }
52684
52951
  }
52685
52952
 
52953
+ export class GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems extends $tea.Model {
52954
+ assetTotalCount?: number;
52955
+ calculateTime?: number;
52956
+ installRatio?: number;
52957
+ installedAssetCount?: number;
52958
+ static names(): { [key: string]: string } {
52959
+ return {
52960
+ assetTotalCount: 'AssetTotalCount',
52961
+ calculateTime: 'CalculateTime',
52962
+ installRatio: 'InstallRatio',
52963
+ installedAssetCount: 'InstalledAssetCount',
52964
+ };
52965
+ }
52966
+
52967
+ static types(): { [key: string]: any } {
52968
+ return {
52969
+ assetTotalCount: 'number',
52970
+ calculateTime: 'number',
52971
+ installRatio: 'number',
52972
+ installedAssetCount: 'number',
52973
+ };
52974
+ }
52975
+
52976
+ constructor(map?: { [key: string]: any }) {
52977
+ super(map);
52978
+ }
52979
+ }
52980
+
52981
+ export class GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems extends $tea.Model {
52982
+ items?: GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems[];
52983
+ vendor?: number;
52984
+ static names(): { [key: string]: string } {
52985
+ return {
52986
+ items: 'Items',
52987
+ vendor: 'Vendor',
52988
+ };
52989
+ }
52990
+
52991
+ static types(): { [key: string]: any } {
52992
+ return {
52993
+ items: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems },
52994
+ vendor: 'number',
52995
+ };
52996
+ }
52997
+
52998
+ constructor(map?: { [key: string]: any }) {
52999
+ super(map);
53000
+ }
53001
+ }
53002
+
53003
+ export class GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems extends $tea.Model {
53004
+ assetTotalCount?: number;
53005
+ calculateTime?: number;
53006
+ installRatio?: number;
53007
+ installedAssetCount?: number;
53008
+ static names(): { [key: string]: string } {
53009
+ return {
53010
+ assetTotalCount: 'AssetTotalCount',
53011
+ calculateTime: 'CalculateTime',
53012
+ installRatio: 'InstallRatio',
53013
+ installedAssetCount: 'InstalledAssetCount',
53014
+ };
53015
+ }
53016
+
53017
+ static types(): { [key: string]: any } {
53018
+ return {
53019
+ assetTotalCount: 'number',
53020
+ calculateTime: 'number',
53021
+ installRatio: 'number',
53022
+ installedAssetCount: 'number',
53023
+ };
53024
+ }
53025
+
53026
+ constructor(map?: { [key: string]: any }) {
53027
+ super(map);
53028
+ }
53029
+ }
53030
+
53031
+ export class GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems extends $tea.Model {
53032
+ items?: GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems[];
53033
+ vendor?: number;
53034
+ static names(): { [key: string]: string } {
53035
+ return {
53036
+ items: 'Items',
53037
+ vendor: 'Vendor',
53038
+ };
53039
+ }
53040
+
53041
+ static types(): { [key: string]: any } {
53042
+ return {
53043
+ items: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems },
53044
+ vendor: 'number',
53045
+ };
53046
+ }
53047
+
53048
+ constructor(map?: { [key: string]: any }) {
53049
+ super(map);
53050
+ }
53051
+ }
53052
+
53053
+ export class GetClientInstallationStatisticResponseBodyClientInstallRatio extends $tea.Model {
53054
+ currentItems?: GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems[];
53055
+ dates?: number[];
53056
+ historyItems?: GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems[];
53057
+ static names(): { [key: string]: string } {
53058
+ return {
53059
+ currentItems: 'CurrentItems',
53060
+ dates: 'Dates',
53061
+ historyItems: 'HistoryItems',
53062
+ };
53063
+ }
53064
+
53065
+ static types(): { [key: string]: any } {
53066
+ return {
53067
+ currentItems: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems },
53068
+ dates: { 'type': 'array', 'itemType': 'number' },
53069
+ historyItems: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems },
53070
+ };
53071
+ }
53072
+
53073
+ constructor(map?: { [key: string]: any }) {
53074
+ super(map);
53075
+ }
53076
+ }
53077
+
52686
53078
  export class GetClientRatioStatisticResponseBodyClientInstallRatioCurrentItemsItems extends $tea.Model {
52687
53079
  assetTotalCount?: number;
52688
53080
  calculateTime?: number;
@@ -54665,6 +55057,130 @@ export class ListCheckInstanceResultResponseBodyPageInfo extends $tea.Model {
54665
55057
  }
54666
55058
  }
54667
55059
 
55060
+ export class ListCheckItemResponseBodyCheckItemsCustomConfigs extends $tea.Model {
55061
+ defaultValue?: string;
55062
+ name?: string;
55063
+ showName?: string;
55064
+ typeDefine?: string;
55065
+ value?: string;
55066
+ static names(): { [key: string]: string } {
55067
+ return {
55068
+ defaultValue: 'DefaultValue',
55069
+ name: 'Name',
55070
+ showName: 'ShowName',
55071
+ typeDefine: 'TypeDefine',
55072
+ value: 'Value',
55073
+ };
55074
+ }
55075
+
55076
+ static types(): { [key: string]: any } {
55077
+ return {
55078
+ defaultValue: 'string',
55079
+ name: 'string',
55080
+ showName: 'string',
55081
+ typeDefine: 'string',
55082
+ value: 'string',
55083
+ };
55084
+ }
55085
+
55086
+ constructor(map?: { [key: string]: any }) {
55087
+ super(map);
55088
+ }
55089
+ }
55090
+
55091
+ export class ListCheckItemResponseBodyCheckItemsDescription extends $tea.Model {
55092
+ type?: string;
55093
+ value?: string;
55094
+ static names(): { [key: string]: string } {
55095
+ return {
55096
+ type: 'Type',
55097
+ value: 'Value',
55098
+ };
55099
+ }
55100
+
55101
+ static types(): { [key: string]: any } {
55102
+ return {
55103
+ type: 'string',
55104
+ value: 'string',
55105
+ };
55106
+ }
55107
+
55108
+ constructor(map?: { [key: string]: any }) {
55109
+ super(map);
55110
+ }
55111
+ }
55112
+
55113
+ export class ListCheckItemResponseBodyCheckItems extends $tea.Model {
55114
+ checkId?: number;
55115
+ checkShowName?: string;
55116
+ customConfigs?: ListCheckItemResponseBodyCheckItemsCustomConfigs[];
55117
+ description?: ListCheckItemResponseBodyCheckItemsDescription;
55118
+ instanceSubType?: string;
55119
+ instanceType?: string;
55120
+ riskLevel?: string;
55121
+ sectionIds?: number[];
55122
+ vendor?: string;
55123
+ static names(): { [key: string]: string } {
55124
+ return {
55125
+ checkId: 'CheckId',
55126
+ checkShowName: 'CheckShowName',
55127
+ customConfigs: 'CustomConfigs',
55128
+ description: 'Description',
55129
+ instanceSubType: 'InstanceSubType',
55130
+ instanceType: 'InstanceType',
55131
+ riskLevel: 'RiskLevel',
55132
+ sectionIds: 'SectionIds',
55133
+ vendor: 'Vendor',
55134
+ };
55135
+ }
55136
+
55137
+ static types(): { [key: string]: any } {
55138
+ return {
55139
+ checkId: 'number',
55140
+ checkShowName: 'string',
55141
+ customConfigs: { 'type': 'array', 'itemType': ListCheckItemResponseBodyCheckItemsCustomConfigs },
55142
+ description: ListCheckItemResponseBodyCheckItemsDescription,
55143
+ instanceSubType: 'string',
55144
+ instanceType: 'string',
55145
+ riskLevel: 'string',
55146
+ sectionIds: { 'type': 'array', 'itemType': 'number' },
55147
+ vendor: 'string',
55148
+ };
55149
+ }
55150
+
55151
+ constructor(map?: { [key: string]: any }) {
55152
+ super(map);
55153
+ }
55154
+ }
55155
+
55156
+ export class ListCheckItemResponseBodyPageInfo extends $tea.Model {
55157
+ count?: number;
55158
+ currentPage?: number;
55159
+ pageSize?: number;
55160
+ totalCount?: number;
55161
+ static names(): { [key: string]: string } {
55162
+ return {
55163
+ count: 'Count',
55164
+ currentPage: 'CurrentPage',
55165
+ pageSize: 'PageSize',
55166
+ totalCount: 'TotalCount',
55167
+ };
55168
+ }
55169
+
55170
+ static types(): { [key: string]: any } {
55171
+ return {
55172
+ count: 'number',
55173
+ currentPage: 'number',
55174
+ pageSize: 'number',
55175
+ totalCount: 'number',
55176
+ };
55177
+ }
55178
+
55179
+ constructor(map?: { [key: string]: any }) {
55180
+ super(map);
55181
+ }
55182
+ }
55183
+
54668
55184
  export class ListCheckItemWarningMachineResponseBodyListFixList extends $tea.Model {
54669
55185
  riskId?: number;
54670
55186
  riskName?: string;
@@ -54719,10 +55235,14 @@ export class ListCheckItemWarningMachineResponseBodyList extends $tea.Model {
54719
55235
  instanceName?: string;
54720
55236
  internetIp?: string;
54721
55237
  intranetIp?: string;
55238
+ lastScanTime?: number;
54722
55239
  portOpen?: boolean;
54723
55240
  prompt?: string;
54724
55241
  regionId?: string;
54725
55242
  status?: number;
55243
+ targetId?: string;
55244
+ targetName?: string;
55245
+ targetType?: string;
54726
55246
  uuid?: string;
54727
55247
  warningRiskList?: ListCheckItemWarningMachineResponseBodyListWarningRiskList[];
54728
55248
  static names(): { [key: string]: string } {
@@ -54736,10 +55256,14 @@ export class ListCheckItemWarningMachineResponseBodyList extends $tea.Model {
54736
55256
  instanceName: 'InstanceName',
54737
55257
  internetIp: 'InternetIp',
54738
55258
  intranetIp: 'IntranetIp',
55259
+ lastScanTime: 'LastScanTime',
54739
55260
  portOpen: 'PortOpen',
54740
55261
  prompt: 'Prompt',
54741
55262
  regionId: 'RegionId',
54742
55263
  status: 'Status',
55264
+ targetId: 'TargetId',
55265
+ targetName: 'TargetName',
55266
+ targetType: 'TargetType',
54743
55267
  uuid: 'Uuid',
54744
55268
  warningRiskList: 'WarningRiskList',
54745
55269
  };
@@ -54756,10 +55280,14 @@ export class ListCheckItemWarningMachineResponseBodyList extends $tea.Model {
54756
55280
  instanceName: 'string',
54757
55281
  internetIp: 'string',
54758
55282
  intranetIp: 'string',
55283
+ lastScanTime: 'number',
54759
55284
  portOpen: 'boolean',
54760
55285
  prompt: 'string',
54761
55286
  regionId: 'string',
54762
55287
  status: 'number',
55288
+ targetId: 'string',
55289
+ targetName: 'string',
55290
+ targetType: 'string',
54763
55291
  uuid: 'string',
54764
55292
  warningRiskList: { 'type': 'array', 'itemType': ListCheckItemWarningMachineResponseBodyListWarningRiskList },
54765
55293
  };
@@ -57332,6 +57860,31 @@ export class PublicSyncAndCreateImageScanTaskResponseBodyData extends $tea.Model
57332
57860
  }
57333
57861
  }
57334
57862
 
57863
+ export class QueryAttackCountResponseBodyData extends $tea.Model {
57864
+ eventCount?: number;
57865
+ tacticId?: string;
57866
+ tacticType?: string;
57867
+ static names(): { [key: string]: string } {
57868
+ return {
57869
+ eventCount: 'EventCount',
57870
+ tacticId: 'TacticId',
57871
+ tacticType: 'TacticType',
57872
+ };
57873
+ }
57874
+
57875
+ static types(): { [key: string]: any } {
57876
+ return {
57877
+ eventCount: 'number',
57878
+ tacticId: 'string',
57879
+ tacticType: 'string',
57880
+ };
57881
+ }
57882
+
57883
+ constructor(map?: { [key: string]: any }) {
57884
+ super(map);
57885
+ }
57886
+ }
57887
+
57335
57888
  export class QueryGroupedSecurityEventMarkMissListResponseBodyList extends $tea.Model {
57336
57889
  aliUid?: number;
57337
57890
  disposalWay?: string;
@@ -57795,6 +58348,10 @@ export default class Client extends OpenApi {
57795
58348
  query["Reason"] = request.reason;
57796
58349
  }
57797
58350
 
58351
+ if (!Util.isUnset(request.source)) {
58352
+ query["Source"] = request.source;
58353
+ }
58354
+
57798
58355
  if (!Util.isUnset(request.target)) {
57799
58356
  query["Target"] = request.target;
57800
58357
  }
@@ -62050,6 +62607,10 @@ export default class Client extends OpenApi {
62050
62607
  query["RiskStatus"] = request.riskStatus;
62051
62608
  }
62052
62609
 
62610
+ if (!Util.isUnset(request.source)) {
62611
+ query["Source"] = request.source;
62612
+ }
62613
+
62053
62614
  if (!Util.isUnset(request.sourceIp)) {
62054
62615
  query["SourceIp"] = request.sourceIp;
62055
62616
  }
@@ -64251,6 +64812,10 @@ export default class Client extends OpenApi {
64251
64812
  query["Lang"] = request.lang;
64252
64813
  }
64253
64814
 
64815
+ if (!Util.isUnset(request.source)) {
64816
+ query["Source"] = request.source;
64817
+ }
64818
+
64254
64819
  if (!Util.isUnset(request.strategyId)) {
64255
64820
  query["StrategyId"] = request.strategyId;
64256
64821
  }
@@ -65226,6 +65791,10 @@ export default class Client extends OpenApi {
65226
65791
  query["PageSize"] = request.pageSize;
65227
65792
  }
65228
65793
 
65794
+ if (!Util.isUnset(request.source)) {
65795
+ query["Source"] = request.source;
65796
+ }
65797
+
65229
65798
  let req = new $OpenApi.OpenApiRequest({
65230
65799
  query: OpenApiUtil.query(query),
65231
65800
  });
@@ -66995,7 +67564,7 @@ export default class Client extends OpenApi {
66995
67564
 
66996
67565
  /**
66997
67566
  * @deprecated
66998
- * This operation is phased out. You can use the ListCheckResult operation.
67567
+ * This operation is phased out. You can use the [ListCheckResult](~~ListCheckResult~~) operation.
66999
67568
  *
67000
67569
  * @param request DescribeRiskCheckResultRequest
67001
67570
  * @param runtime runtime options for this request RuntimeOptions
@@ -67072,7 +67641,7 @@ export default class Client extends OpenApi {
67072
67641
 
67073
67642
  /**
67074
67643
  * @deprecated
67075
- * This operation is phased out. You can use the ListCheckResult operation.
67644
+ * This operation is phased out. You can use the [ListCheckResult](~~ListCheckResult~~) operation.
67076
67645
  *
67077
67646
  * @param request DescribeRiskCheckResultRequest
67078
67647
  * @return DescribeRiskCheckResultResponse
@@ -67268,6 +67837,10 @@ export default class Client extends OpenApi {
67268
67837
  query["Lang"] = request.lang;
67269
67838
  }
67270
67839
 
67840
+ if (!Util.isUnset(request.source)) {
67841
+ query["Source"] = request.source;
67842
+ }
67843
+
67271
67844
  if (!Util.isUnset(request.sourceIp)) {
67272
67845
  query["SourceIp"] = request.sourceIp;
67273
67846
  }
@@ -71266,6 +71839,54 @@ export default class Client extends OpenApi {
71266
71839
  return await this.getCheckSummaryWithOptions(request, runtime);
71267
71840
  }
71268
71841
 
71842
+ /**
71843
+ * @deprecated : GetClientInstallationStatistic is deprecated, please use Sas::2018-12-03::GetClientRatioStatistic instead.
71844
+ *
71845
+ * @param request GetClientInstallationStatisticRequest
71846
+ * @param runtime runtime options for this request RuntimeOptions
71847
+ * @return GetClientInstallationStatisticResponse
71848
+ */
71849
+ // Deprecated
71850
+ async getClientInstallationStatisticWithOptions(request: GetClientInstallationStatisticRequest, runtime: $Util.RuntimeOptions): Promise<GetClientInstallationStatisticResponse> {
71851
+ Util.validateModel(request);
71852
+ let query = { };
71853
+ if (!Util.isUnset(request.timeEnd)) {
71854
+ query["TimeEnd"] = request.timeEnd;
71855
+ }
71856
+
71857
+ if (!Util.isUnset(request.timeStart)) {
71858
+ query["TimeStart"] = request.timeStart;
71859
+ }
71860
+
71861
+ let req = new $OpenApi.OpenApiRequest({
71862
+ query: OpenApiUtil.query(query),
71863
+ });
71864
+ let params = new $OpenApi.Params({
71865
+ action: "GetClientInstallationStatistic",
71866
+ version: "2018-12-03",
71867
+ protocol: "HTTPS",
71868
+ pathname: "/",
71869
+ method: "POST",
71870
+ authType: "AK",
71871
+ style: "RPC",
71872
+ reqBodyType: "formData",
71873
+ bodyType: "json",
71874
+ });
71875
+ return $tea.cast<GetClientInstallationStatisticResponse>(await this.callApi(params, req, runtime), new GetClientInstallationStatisticResponse({}));
71876
+ }
71877
+
71878
+ /**
71879
+ * @deprecated : GetClientInstallationStatistic is deprecated, please use Sas::2018-12-03::GetClientRatioStatistic instead.
71880
+ *
71881
+ * @param request GetClientInstallationStatisticRequest
71882
+ * @return GetClientInstallationStatisticResponse
71883
+ */
71884
+ // Deprecated
71885
+ async getClientInstallationStatistic(request: GetClientInstallationStatisticRequest): Promise<GetClientInstallationStatisticResponse> {
71886
+ let runtime = new $Util.RuntimeOptions({ });
71887
+ return await this.getClientInstallationStatisticWithOptions(request, runtime);
71888
+ }
71889
+
71269
71890
  async getClientRatioStatisticWithOptions(request: GetClientRatioStatisticRequest, runtime: $Util.RuntimeOptions): Promise<GetClientRatioStatisticResponse> {
71270
71891
  Util.validateModel(request);
71271
71892
  let query = { };
@@ -72222,6 +72843,10 @@ export default class Client extends OpenApi {
72222
72843
  query["Reason"] = request.reason;
72223
72844
  }
72224
72845
 
72846
+ if (!Util.isUnset(request.source)) {
72847
+ query["Source"] = request.source;
72848
+ }
72849
+
72225
72850
  if (!Util.isUnset(request.type)) {
72226
72851
  query["Type"] = request.type;
72227
72852
  }
@@ -72271,6 +72896,10 @@ export default class Client extends OpenApi {
72271
72896
  query["RiskId"] = request.riskId;
72272
72897
  }
72273
72898
 
72899
+ if (!Util.isUnset(request.source)) {
72900
+ query["Source"] = request.source;
72901
+ }
72902
+
72274
72903
  if (!Util.isUnset(request.sourceIp)) {
72275
72904
  query["SourceIp"] = request.sourceIp;
72276
72905
  }
@@ -72942,6 +73571,43 @@ export default class Client extends OpenApi {
72942
73571
  return await this.listCheckInstanceResultWithOptions(request, runtime);
72943
73572
  }
72944
73573
 
73574
+ async listCheckItemWithOptions(request: ListCheckItemRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckItemResponse> {
73575
+ Util.validateModel(request);
73576
+ let query = { };
73577
+ if (!Util.isUnset(request.currentPage)) {
73578
+ query["CurrentPage"] = request.currentPage;
73579
+ }
73580
+
73581
+ if (!Util.isUnset(request.lang)) {
73582
+ query["Lang"] = request.lang;
73583
+ }
73584
+
73585
+ if (!Util.isUnset(request.pageSize)) {
73586
+ query["PageSize"] = request.pageSize;
73587
+ }
73588
+
73589
+ let req = new $OpenApi.OpenApiRequest({
73590
+ query: OpenApiUtil.query(query),
73591
+ });
73592
+ let params = new $OpenApi.Params({
73593
+ action: "ListCheckItem",
73594
+ version: "2018-12-03",
73595
+ protocol: "HTTPS",
73596
+ pathname: "/",
73597
+ method: "POST",
73598
+ authType: "AK",
73599
+ style: "RPC",
73600
+ reqBodyType: "formData",
73601
+ bodyType: "json",
73602
+ });
73603
+ return $tea.cast<ListCheckItemResponse>(await this.callApi(params, req, runtime), new ListCheckItemResponse({}));
73604
+ }
73605
+
73606
+ async listCheckItem(request: ListCheckItemRequest): Promise<ListCheckItemResponse> {
73607
+ let runtime = new $Util.RuntimeOptions({ });
73608
+ return await this.listCheckItemWithOptions(request, runtime);
73609
+ }
73610
+
72945
73611
  async listCheckItemWarningMachineWithOptions(request: ListCheckItemWarningMachineRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckItemWarningMachineResponse> {
72946
73612
  Util.validateModel(request);
72947
73613
  let query = { };
@@ -72981,6 +73647,10 @@ export default class Client extends OpenApi {
72981
73647
  query["RiskType"] = request.riskType;
72982
73648
  }
72983
73649
 
73650
+ if (!Util.isUnset(request.source)) {
73651
+ query["Source"] = request.source;
73652
+ }
73653
+
72984
73654
  if (!Util.isUnset(request.status)) {
72985
73655
  query["Status"] = request.status;
72986
73656
  }
@@ -73054,6 +73724,10 @@ export default class Client extends OpenApi {
73054
73724
  query["RiskType"] = request.riskType;
73055
73725
  }
73056
73726
 
73727
+ if (!Util.isUnset(request.source)) {
73728
+ query["Source"] = request.source;
73729
+ }
73730
+
73057
73731
  let req = new $OpenApi.OpenApiRequest({
73058
73732
  query: OpenApiUtil.query(query),
73059
73733
  });
@@ -77668,6 +78342,45 @@ export default class Client extends OpenApi {
77668
78342
  return await this.publicSyncAndCreateImageScanTaskWithOptions(request, runtime);
77669
78343
  }
77670
78344
 
78345
+ async queryAttackCountWithOptions(request: QueryAttackCountRequest, runtime: $Util.RuntimeOptions): Promise<QueryAttackCountResponse> {
78346
+ Util.validateModel(request);
78347
+ let query = { };
78348
+ if (!Util.isUnset(request.sourceIp)) {
78349
+ query["SourceIp"] = request.sourceIp;
78350
+ }
78351
+
78352
+ let body : {[key: string ]: any} = { };
78353
+ if (!Util.isUnset(request.from)) {
78354
+ body["From"] = request.from;
78355
+ }
78356
+
78357
+ if (!Util.isUnset(request.lang)) {
78358
+ body["Lang"] = request.lang;
78359
+ }
78360
+
78361
+ let req = new $OpenApi.OpenApiRequest({
78362
+ query: OpenApiUtil.query(query),
78363
+ body: OpenApiUtil.parseToMap(body),
78364
+ });
78365
+ let params = new $OpenApi.Params({
78366
+ action: "QueryAttackCount",
78367
+ version: "2018-12-03",
78368
+ protocol: "HTTPS",
78369
+ pathname: "/",
78370
+ method: "POST",
78371
+ authType: "AK",
78372
+ style: "RPC",
78373
+ reqBodyType: "formData",
78374
+ bodyType: "json",
78375
+ });
78376
+ return $tea.cast<QueryAttackCountResponse>(await this.callApi(params, req, runtime), new QueryAttackCountResponse({}));
78377
+ }
78378
+
78379
+ async queryAttackCount(request: QueryAttackCountRequest): Promise<QueryAttackCountResponse> {
78380
+ let runtime = new $Util.RuntimeOptions({ });
78381
+ return await this.queryAttackCountWithOptions(request, runtime);
78382
+ }
78383
+
77671
78384
  async queryDiscoverDatabaseWithOptions(request: QueryDiscoverDatabaseRequest, runtime: $Util.RuntimeOptions): Promise<QueryDiscoverDatabaseResponse> {
77672
78385
  Util.validateModel(request);
77673
78386
  let query = { };
@@ -78114,6 +78827,10 @@ export default class Client extends OpenApi {
78114
78827
  query["Lang"] = request.lang;
78115
78828
  }
78116
78829
 
78830
+ if (!Util.isUnset(request.source)) {
78831
+ query["Source"] = request.source;
78832
+ }
78833
+
78117
78834
  if (!Util.isUnset(request.strategyId)) {
78118
78835
  query["StrategyId"] = request.strategyId;
78119
78836
  }