@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.js CHANGED
@@ -297,6 +297,7 @@ class AddImageVulWhiteListRequest extends $tea.Model {
297
297
  return {
298
298
  lang: 'Lang',
299
299
  reason: 'Reason',
300
+ source: 'Source',
300
301
  target: 'Target',
301
302
  type: 'Type',
302
303
  whitelist: 'Whitelist',
@@ -306,6 +307,7 @@ class AddImageVulWhiteListRequest extends $tea.Model {
306
307
  return {
307
308
  lang: 'string',
308
309
  reason: 'string',
310
+ source: 'string',
309
311
  target: 'string',
310
312
  type: 'string',
311
313
  whitelist: 'string',
@@ -6533,6 +6535,7 @@ class DescribeCheckWarningsRequest extends $tea.Model {
6533
6535
  pageSize: 'PageSize',
6534
6536
  riskId: 'RiskId',
6535
6537
  riskStatus: 'RiskStatus',
6538
+ source: 'Source',
6536
6539
  sourceIp: 'SourceIp',
6537
6540
  uuid: 'Uuid',
6538
6541
  };
@@ -6547,6 +6550,7 @@ class DescribeCheckWarningsRequest extends $tea.Model {
6547
6550
  pageSize: 'number',
6548
6551
  riskId: 'number',
6549
6552
  riskStatus: 'number',
6553
+ source: 'string',
6550
6554
  sourceIp: 'string',
6551
6555
  uuid: 'string',
6552
6556
  };
@@ -9880,12 +9884,14 @@ class DescribeImageBaselineStrategyRequest extends $tea.Model {
9880
9884
  static names() {
9881
9885
  return {
9882
9886
  lang: 'Lang',
9887
+ source: 'Source',
9883
9888
  strategyId: 'StrategyId',
9884
9889
  };
9885
9890
  }
9886
9891
  static types() {
9887
9892
  return {
9888
9893
  lang: 'string',
9894
+ source: 'string',
9889
9895
  strategyId: 'number',
9890
9896
  };
9891
9897
  }
@@ -11163,6 +11169,7 @@ class DescribeImageVulWhiteListRequest extends $tea.Model {
11163
11169
  currentPage: 'CurrentPage',
11164
11170
  lang: 'Lang',
11165
11171
  pageSize: 'PageSize',
11172
+ source: 'Source',
11166
11173
  };
11167
11174
  }
11168
11175
  static types() {
@@ -11171,6 +11178,7 @@ class DescribeImageVulWhiteListRequest extends $tea.Model {
11171
11178
  currentPage: 'number',
11172
11179
  lang: 'string',
11173
11180
  pageSize: 'number',
11181
+ source: 'string',
11174
11182
  };
11175
11183
  }
11176
11184
  }
@@ -14006,12 +14014,14 @@ class DescribeRiskTypeRequest extends $tea.Model {
14006
14014
  static names() {
14007
14015
  return {
14008
14016
  lang: 'Lang',
14017
+ source: 'Source',
14009
14018
  sourceIp: 'SourceIp',
14010
14019
  };
14011
14020
  }
14012
14021
  static types() {
14013
14022
  return {
14014
14023
  lang: 'string',
14024
+ source: 'string',
14015
14025
  sourceIp: 'string',
14016
14026
  };
14017
14027
  }
@@ -19417,6 +19427,7 @@ class GetAgentlessTaskCountResponseBody extends $tea.Model {
19417
19427
  riskMachine: 'RiskMachine',
19418
19428
  scaVulCount: 'ScaVulCount',
19419
19429
  scanMachine: 'ScanMachine',
19430
+ sysVulCount: 'SysVulCount',
19420
19431
  vulnerability: 'Vulnerability',
19421
19432
  };
19422
19433
  }
@@ -19430,6 +19441,7 @@ class GetAgentlessTaskCountResponseBody extends $tea.Model {
19430
19441
  riskMachine: 'number',
19431
19442
  scaVulCount: 'number',
19432
19443
  scanMachine: 'number',
19444
+ sysVulCount: 'string',
19433
19445
  vulnerability: 'number',
19434
19446
  };
19435
19447
  }
@@ -20141,6 +20153,62 @@ class GetCheckSummaryResponse extends $tea.Model {
20141
20153
  }
20142
20154
  }
20143
20155
  exports.GetCheckSummaryResponse = GetCheckSummaryResponse;
20156
+ class GetClientInstallationStatisticRequest extends $tea.Model {
20157
+ constructor(map) {
20158
+ super(map);
20159
+ }
20160
+ static names() {
20161
+ return {
20162
+ timeEnd: 'TimeEnd',
20163
+ timeStart: 'TimeStart',
20164
+ };
20165
+ }
20166
+ static types() {
20167
+ return {
20168
+ timeEnd: 'number',
20169
+ timeStart: 'number',
20170
+ };
20171
+ }
20172
+ }
20173
+ exports.GetClientInstallationStatisticRequest = GetClientInstallationStatisticRequest;
20174
+ class GetClientInstallationStatisticResponseBody extends $tea.Model {
20175
+ constructor(map) {
20176
+ super(map);
20177
+ }
20178
+ static names() {
20179
+ return {
20180
+ clientInstallRatio: 'ClientInstallRatio',
20181
+ requestId: 'RequestId',
20182
+ };
20183
+ }
20184
+ static types() {
20185
+ return {
20186
+ clientInstallRatio: GetClientInstallationStatisticResponseBodyClientInstallRatio,
20187
+ requestId: 'string',
20188
+ };
20189
+ }
20190
+ }
20191
+ exports.GetClientInstallationStatisticResponseBody = GetClientInstallationStatisticResponseBody;
20192
+ class GetClientInstallationStatisticResponse extends $tea.Model {
20193
+ constructor(map) {
20194
+ super(map);
20195
+ }
20196
+ static names() {
20197
+ return {
20198
+ headers: 'headers',
20199
+ statusCode: 'statusCode',
20200
+ body: 'body',
20201
+ };
20202
+ }
20203
+ static types() {
20204
+ return {
20205
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
20206
+ statusCode: 'number',
20207
+ body: GetClientInstallationStatisticResponseBody,
20208
+ };
20209
+ }
20210
+ }
20211
+ exports.GetClientInstallationStatisticResponse = GetClientInstallationStatisticResponse;
20144
20212
  class GetClientRatioStatisticRequest extends $tea.Model {
20145
20213
  constructor(map) {
20146
20214
  super(map);
@@ -21746,6 +21814,7 @@ class IgnoreCheckItemsRequest extends $tea.Model {
21746
21814
  checkAndRiskTypeList: 'CheckAndRiskTypeList',
21747
21815
  lang: 'Lang',
21748
21816
  reason: 'Reason',
21817
+ source: 'Source',
21749
21818
  type: 'Type',
21750
21819
  uuidList: 'UuidList',
21751
21820
  };
@@ -21755,6 +21824,7 @@ class IgnoreCheckItemsRequest extends $tea.Model {
21755
21824
  checkAndRiskTypeList: { 'type': 'array', 'itemType': IgnoreCheckItemsRequestCheckAndRiskTypeList },
21756
21825
  lang: 'string',
21757
21826
  reason: 'string',
21827
+ source: 'string',
21758
21828
  type: 'number',
21759
21829
  uuidList: { 'type': 'array', 'itemType': 'string' },
21760
21830
  };
@@ -21807,6 +21877,7 @@ class IgnoreHcCheckWarningsRequest extends $tea.Model {
21807
21877
  checkWarningIds: 'CheckWarningIds',
21808
21878
  reason: 'Reason',
21809
21879
  riskId: 'RiskId',
21880
+ source: 'Source',
21810
21881
  sourceIp: 'SourceIp',
21811
21882
  type: 'Type',
21812
21883
  };
@@ -21817,6 +21888,7 @@ class IgnoreHcCheckWarningsRequest extends $tea.Model {
21817
21888
  checkWarningIds: 'string',
21818
21889
  reason: 'string',
21819
21890
  riskId: 'string',
21891
+ source: 'string',
21820
21892
  sourceIp: 'string',
21821
21893
  type: 'number',
21822
21894
  };
@@ -22803,6 +22875,66 @@ class ListCheckInstanceResultResponse extends $tea.Model {
22803
22875
  }
22804
22876
  }
22805
22877
  exports.ListCheckInstanceResultResponse = ListCheckInstanceResultResponse;
22878
+ class ListCheckItemRequest extends $tea.Model {
22879
+ constructor(map) {
22880
+ super(map);
22881
+ }
22882
+ static names() {
22883
+ return {
22884
+ currentPage: 'CurrentPage',
22885
+ lang: 'Lang',
22886
+ pageSize: 'PageSize',
22887
+ };
22888
+ }
22889
+ static types() {
22890
+ return {
22891
+ currentPage: 'number',
22892
+ lang: 'string',
22893
+ pageSize: 'number',
22894
+ };
22895
+ }
22896
+ }
22897
+ exports.ListCheckItemRequest = ListCheckItemRequest;
22898
+ class ListCheckItemResponseBody extends $tea.Model {
22899
+ constructor(map) {
22900
+ super(map);
22901
+ }
22902
+ static names() {
22903
+ return {
22904
+ checkItems: 'CheckItems',
22905
+ pageInfo: 'PageInfo',
22906
+ requestId: 'RequestId',
22907
+ };
22908
+ }
22909
+ static types() {
22910
+ return {
22911
+ checkItems: { 'type': 'array', 'itemType': ListCheckItemResponseBodyCheckItems },
22912
+ pageInfo: ListCheckItemResponseBodyPageInfo,
22913
+ requestId: 'string',
22914
+ };
22915
+ }
22916
+ }
22917
+ exports.ListCheckItemResponseBody = ListCheckItemResponseBody;
22918
+ class ListCheckItemResponse extends $tea.Model {
22919
+ constructor(map) {
22920
+ super(map);
22921
+ }
22922
+ static names() {
22923
+ return {
22924
+ headers: 'headers',
22925
+ statusCode: 'statusCode',
22926
+ body: 'body',
22927
+ };
22928
+ }
22929
+ static types() {
22930
+ return {
22931
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
22932
+ statusCode: 'number',
22933
+ body: ListCheckItemResponseBody,
22934
+ };
22935
+ }
22936
+ }
22937
+ exports.ListCheckItemResponse = ListCheckItemResponse;
22806
22938
  class ListCheckItemWarningMachineRequest extends $tea.Model {
22807
22939
  constructor(map) {
22808
22940
  super(map);
@@ -22818,6 +22950,7 @@ class ListCheckItemWarningMachineRequest extends $tea.Model {
22818
22950
  pageSize: 'PageSize',
22819
22951
  remark: 'Remark',
22820
22952
  riskType: 'RiskType',
22953
+ source: 'Source',
22821
22954
  status: 'Status',
22822
22955
  };
22823
22956
  }
@@ -22832,6 +22965,7 @@ class ListCheckItemWarningMachineRequest extends $tea.Model {
22832
22965
  pageSize: 'number',
22833
22966
  remark: 'string',
22834
22967
  riskType: 'string',
22968
+ source: 'string',
22835
22969
  status: 'number',
22836
22970
  };
22837
22971
  }
@@ -22894,6 +23028,7 @@ class ListCheckItemWarningSummaryRequest extends $tea.Model {
22894
23028
  lang: 'Lang',
22895
23029
  pageSize: 'PageSize',
22896
23030
  riskType: 'RiskType',
23031
+ source: 'Source',
22897
23032
  };
22898
23033
  }
22899
23034
  static types() {
@@ -22909,6 +23044,7 @@ class ListCheckItemWarningSummaryRequest extends $tea.Model {
22909
23044
  lang: 'string',
22910
23045
  pageSize: 'number',
22911
23046
  riskType: 'string',
23047
+ source: 'string',
22912
23048
  };
22913
23049
  }
22914
23050
  }
@@ -29459,6 +29595,72 @@ class PublicSyncAndCreateImageScanTaskResponse extends $tea.Model {
29459
29595
  }
29460
29596
  }
29461
29597
  exports.PublicSyncAndCreateImageScanTaskResponse = PublicSyncAndCreateImageScanTaskResponse;
29598
+ class QueryAttackCountRequest extends $tea.Model {
29599
+ constructor(map) {
29600
+ super(map);
29601
+ }
29602
+ static names() {
29603
+ return {
29604
+ from: 'From',
29605
+ lang: 'Lang',
29606
+ sourceIp: 'SourceIp',
29607
+ };
29608
+ }
29609
+ static types() {
29610
+ return {
29611
+ from: 'string',
29612
+ lang: 'string',
29613
+ sourceIp: 'string',
29614
+ };
29615
+ }
29616
+ }
29617
+ exports.QueryAttackCountRequest = QueryAttackCountRequest;
29618
+ class QueryAttackCountResponseBody extends $tea.Model {
29619
+ constructor(map) {
29620
+ super(map);
29621
+ }
29622
+ static names() {
29623
+ return {
29624
+ code: 'Code',
29625
+ count: 'Count',
29626
+ data: 'Data',
29627
+ message: 'Message',
29628
+ requestId: 'RequestId',
29629
+ success: 'Success',
29630
+ };
29631
+ }
29632
+ static types() {
29633
+ return {
29634
+ code: 'string',
29635
+ count: 'number',
29636
+ data: { 'type': 'array', 'itemType': QueryAttackCountResponseBodyData },
29637
+ message: 'string',
29638
+ requestId: 'string',
29639
+ success: 'boolean',
29640
+ };
29641
+ }
29642
+ }
29643
+ exports.QueryAttackCountResponseBody = QueryAttackCountResponseBody;
29644
+ class QueryAttackCountResponse extends $tea.Model {
29645
+ constructor(map) {
29646
+ super(map);
29647
+ }
29648
+ static names() {
29649
+ return {
29650
+ headers: 'headers',
29651
+ statusCode: 'statusCode',
29652
+ body: 'body',
29653
+ };
29654
+ }
29655
+ static types() {
29656
+ return {
29657
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
29658
+ statusCode: 'number',
29659
+ body: QueryAttackCountResponseBody,
29660
+ };
29661
+ }
29662
+ }
29663
+ exports.QueryAttackCountResponse = QueryAttackCountResponse;
29462
29664
  class QueryDiscoverDatabaseRequest extends $tea.Model {
29463
29665
  constructor(map) {
29464
29666
  super(map);
@@ -30165,6 +30367,7 @@ class SaveImageBaselineStrategyRequest extends $tea.Model {
30165
30367
  return {
30166
30368
  baselineItemList: 'BaselineItemList',
30167
30369
  lang: 'Lang',
30370
+ source: 'Source',
30168
30371
  strategyId: 'StrategyId',
30169
30372
  strategyName: 'StrategyName',
30170
30373
  };
@@ -30173,6 +30376,7 @@ class SaveImageBaselineStrategyRequest extends $tea.Model {
30173
30376
  return {
30174
30377
  baselineItemList: 'string',
30175
30378
  lang: 'string',
30379
+ source: 'string',
30176
30380
  strategyId: 'number',
30177
30381
  strategyName: 'string',
30178
30382
  };
@@ -35275,6 +35479,7 @@ class DescribeImageBaselineStrategyResponseBodyStrategy extends $tea.Model {
35275
35479
  }
35276
35480
  static names() {
35277
35481
  return {
35482
+ baselineItem: 'BaselineItem',
35278
35483
  baselineItemList: 'BaselineItemList',
35279
35484
  selectedItemCount: 'SelectedItemCount',
35280
35485
  strategyId: 'StrategyId',
@@ -35285,6 +35490,7 @@ class DescribeImageBaselineStrategyResponseBodyStrategy extends $tea.Model {
35285
35490
  }
35286
35491
  static types() {
35287
35492
  return {
35493
+ baselineItem: 'string',
35288
35494
  baselineItemList: { 'type': 'array', 'itemType': DescribeImageBaselineStrategyResponseBodyStrategyBaselineItemList },
35289
35495
  selectedItemCount: 'number',
35290
35496
  strategyId: 'number',
@@ -39049,6 +39255,7 @@ class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
39049
39255
  k8sNodeId: 'K8sNodeId',
39050
39256
  k8sNodeName: 'K8sNodeName',
39051
39257
  k8sPodName: 'K8sPodName',
39258
+ largeModel: 'LargeModel',
39052
39259
  lastTime: 'LastTime',
39053
39260
  lastTimeStamp: 'LastTimeStamp',
39054
39261
  level: 'Level',
@@ -39105,6 +39312,7 @@ class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
39105
39312
  k8sNodeId: 'string',
39106
39313
  k8sNodeName: 'string',
39107
39314
  k8sPodName: 'string',
39315
+ largeModel: 'boolean',
39108
39316
  lastTime: 'string',
39109
39317
  lastTimeStamp: 'number',
39110
39318
  level: 'string',
@@ -41329,6 +41537,106 @@ class GetCheckSummaryResponseBodySummarys extends $tea.Model {
41329
41537
  }
41330
41538
  }
41331
41539
  exports.GetCheckSummaryResponseBodySummarys = GetCheckSummaryResponseBodySummarys;
41540
+ class GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems extends $tea.Model {
41541
+ constructor(map) {
41542
+ super(map);
41543
+ }
41544
+ static names() {
41545
+ return {
41546
+ assetTotalCount: 'AssetTotalCount',
41547
+ calculateTime: 'CalculateTime',
41548
+ installRatio: 'InstallRatio',
41549
+ installedAssetCount: 'InstalledAssetCount',
41550
+ };
41551
+ }
41552
+ static types() {
41553
+ return {
41554
+ assetTotalCount: 'number',
41555
+ calculateTime: 'number',
41556
+ installRatio: 'number',
41557
+ installedAssetCount: 'number',
41558
+ };
41559
+ }
41560
+ }
41561
+ exports.GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems = GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems;
41562
+ class GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems extends $tea.Model {
41563
+ constructor(map) {
41564
+ super(map);
41565
+ }
41566
+ static names() {
41567
+ return {
41568
+ items: 'Items',
41569
+ vendor: 'Vendor',
41570
+ };
41571
+ }
41572
+ static types() {
41573
+ return {
41574
+ items: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItemsItems },
41575
+ vendor: 'number',
41576
+ };
41577
+ }
41578
+ }
41579
+ exports.GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems = GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems;
41580
+ class GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems extends $tea.Model {
41581
+ constructor(map) {
41582
+ super(map);
41583
+ }
41584
+ static names() {
41585
+ return {
41586
+ assetTotalCount: 'AssetTotalCount',
41587
+ calculateTime: 'CalculateTime',
41588
+ installRatio: 'InstallRatio',
41589
+ installedAssetCount: 'InstalledAssetCount',
41590
+ };
41591
+ }
41592
+ static types() {
41593
+ return {
41594
+ assetTotalCount: 'number',
41595
+ calculateTime: 'number',
41596
+ installRatio: 'number',
41597
+ installedAssetCount: 'number',
41598
+ };
41599
+ }
41600
+ }
41601
+ exports.GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems = GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems;
41602
+ class GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems extends $tea.Model {
41603
+ constructor(map) {
41604
+ super(map);
41605
+ }
41606
+ static names() {
41607
+ return {
41608
+ items: 'Items',
41609
+ vendor: 'Vendor',
41610
+ };
41611
+ }
41612
+ static types() {
41613
+ return {
41614
+ items: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItemsItems },
41615
+ vendor: 'number',
41616
+ };
41617
+ }
41618
+ }
41619
+ exports.GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems = GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems;
41620
+ class GetClientInstallationStatisticResponseBodyClientInstallRatio extends $tea.Model {
41621
+ constructor(map) {
41622
+ super(map);
41623
+ }
41624
+ static names() {
41625
+ return {
41626
+ currentItems: 'CurrentItems',
41627
+ dates: 'Dates',
41628
+ historyItems: 'HistoryItems',
41629
+ };
41630
+ }
41631
+ static types() {
41632
+ return {
41633
+ currentItems: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioCurrentItems },
41634
+ dates: { 'type': 'array', 'itemType': 'number' },
41635
+ historyItems: { 'type': 'array', 'itemType': GetClientInstallationStatisticResponseBodyClientInstallRatioHistoryItems },
41636
+ };
41637
+ }
41638
+ }
41639
+ exports.GetClientInstallationStatisticResponseBodyClientInstallRatio = GetClientInstallationStatisticResponseBodyClientInstallRatio;
41332
41640
  class GetClientRatioStatisticResponseBodyClientInstallRatioCurrentItemsItems extends $tea.Model {
41333
41641
  constructor(map) {
41334
41642
  super(map);
@@ -42857,6 +43165,102 @@ class ListCheckInstanceResultResponseBodyPageInfo extends $tea.Model {
42857
43165
  }
42858
43166
  }
42859
43167
  exports.ListCheckInstanceResultResponseBodyPageInfo = ListCheckInstanceResultResponseBodyPageInfo;
43168
+ class ListCheckItemResponseBodyCheckItemsCustomConfigs extends $tea.Model {
43169
+ constructor(map) {
43170
+ super(map);
43171
+ }
43172
+ static names() {
43173
+ return {
43174
+ defaultValue: 'DefaultValue',
43175
+ name: 'Name',
43176
+ showName: 'ShowName',
43177
+ typeDefine: 'TypeDefine',
43178
+ value: 'Value',
43179
+ };
43180
+ }
43181
+ static types() {
43182
+ return {
43183
+ defaultValue: 'string',
43184
+ name: 'string',
43185
+ showName: 'string',
43186
+ typeDefine: 'string',
43187
+ value: 'string',
43188
+ };
43189
+ }
43190
+ }
43191
+ exports.ListCheckItemResponseBodyCheckItemsCustomConfigs = ListCheckItemResponseBodyCheckItemsCustomConfigs;
43192
+ class ListCheckItemResponseBodyCheckItemsDescription extends $tea.Model {
43193
+ constructor(map) {
43194
+ super(map);
43195
+ }
43196
+ static names() {
43197
+ return {
43198
+ type: 'Type',
43199
+ value: 'Value',
43200
+ };
43201
+ }
43202
+ static types() {
43203
+ return {
43204
+ type: 'string',
43205
+ value: 'string',
43206
+ };
43207
+ }
43208
+ }
43209
+ exports.ListCheckItemResponseBodyCheckItemsDescription = ListCheckItemResponseBodyCheckItemsDescription;
43210
+ class ListCheckItemResponseBodyCheckItems extends $tea.Model {
43211
+ constructor(map) {
43212
+ super(map);
43213
+ }
43214
+ static names() {
43215
+ return {
43216
+ checkId: 'CheckId',
43217
+ checkShowName: 'CheckShowName',
43218
+ customConfigs: 'CustomConfigs',
43219
+ description: 'Description',
43220
+ instanceSubType: 'InstanceSubType',
43221
+ instanceType: 'InstanceType',
43222
+ riskLevel: 'RiskLevel',
43223
+ sectionIds: 'SectionIds',
43224
+ vendor: 'Vendor',
43225
+ };
43226
+ }
43227
+ static types() {
43228
+ return {
43229
+ checkId: 'number',
43230
+ checkShowName: 'string',
43231
+ customConfigs: { 'type': 'array', 'itemType': ListCheckItemResponseBodyCheckItemsCustomConfigs },
43232
+ description: ListCheckItemResponseBodyCheckItemsDescription,
43233
+ instanceSubType: 'string',
43234
+ instanceType: 'string',
43235
+ riskLevel: 'string',
43236
+ sectionIds: { 'type': 'array', 'itemType': 'number' },
43237
+ vendor: 'string',
43238
+ };
43239
+ }
43240
+ }
43241
+ exports.ListCheckItemResponseBodyCheckItems = ListCheckItemResponseBodyCheckItems;
43242
+ class ListCheckItemResponseBodyPageInfo extends $tea.Model {
43243
+ constructor(map) {
43244
+ super(map);
43245
+ }
43246
+ static names() {
43247
+ return {
43248
+ count: 'Count',
43249
+ currentPage: 'CurrentPage',
43250
+ pageSize: 'PageSize',
43251
+ totalCount: 'TotalCount',
43252
+ };
43253
+ }
43254
+ static types() {
43255
+ return {
43256
+ count: 'number',
43257
+ currentPage: 'number',
43258
+ pageSize: 'number',
43259
+ totalCount: 'number',
43260
+ };
43261
+ }
43262
+ }
43263
+ exports.ListCheckItemResponseBodyPageInfo = ListCheckItemResponseBodyPageInfo;
42860
43264
  class ListCheckItemWarningMachineResponseBodyListFixList extends $tea.Model {
42861
43265
  constructor(map) {
42862
43266
  super(map);
@@ -42908,10 +43312,14 @@ class ListCheckItemWarningMachineResponseBodyList extends $tea.Model {
42908
43312
  instanceName: 'InstanceName',
42909
43313
  internetIp: 'InternetIp',
42910
43314
  intranetIp: 'IntranetIp',
43315
+ lastScanTime: 'LastScanTime',
42911
43316
  portOpen: 'PortOpen',
42912
43317
  prompt: 'Prompt',
42913
43318
  regionId: 'RegionId',
42914
43319
  status: 'Status',
43320
+ targetId: 'TargetId',
43321
+ targetName: 'TargetName',
43322
+ targetType: 'TargetType',
42915
43323
  uuid: 'Uuid',
42916
43324
  warningRiskList: 'WarningRiskList',
42917
43325
  };
@@ -42927,10 +43335,14 @@ class ListCheckItemWarningMachineResponseBodyList extends $tea.Model {
42927
43335
  instanceName: 'string',
42928
43336
  internetIp: 'string',
42929
43337
  intranetIp: 'string',
43338
+ lastScanTime: 'number',
42930
43339
  portOpen: 'boolean',
42931
43340
  prompt: 'string',
42932
43341
  regionId: 'string',
42933
43342
  status: 'number',
43343
+ targetId: 'string',
43344
+ targetName: 'string',
43345
+ targetType: 'string',
42934
43346
  uuid: 'string',
42935
43347
  warningRiskList: { 'type': 'array', 'itemType': ListCheckItemWarningMachineResponseBodyListWarningRiskList },
42936
43348
  };
@@ -44895,6 +45307,26 @@ class PublicSyncAndCreateImageScanTaskResponseBodyData extends $tea.Model {
44895
45307
  }
44896
45308
  }
44897
45309
  exports.PublicSyncAndCreateImageScanTaskResponseBodyData = PublicSyncAndCreateImageScanTaskResponseBodyData;
45310
+ class QueryAttackCountResponseBodyData extends $tea.Model {
45311
+ constructor(map) {
45312
+ super(map);
45313
+ }
45314
+ static names() {
45315
+ return {
45316
+ eventCount: 'EventCount',
45317
+ tacticId: 'TacticId',
45318
+ tacticType: 'TacticType',
45319
+ };
45320
+ }
45321
+ static types() {
45322
+ return {
45323
+ eventCount: 'number',
45324
+ tacticId: 'string',
45325
+ tacticType: 'string',
45326
+ };
45327
+ }
45328
+ }
45329
+ exports.QueryAttackCountResponseBodyData = QueryAttackCountResponseBodyData;
44898
45330
  class QueryGroupedSecurityEventMarkMissListResponseBodyList extends $tea.Model {
44899
45331
  constructor(map) {
44900
45332
  super(map);
@@ -45279,6 +45711,9 @@ class Client extends openapi_client_1.default {
45279
45711
  if (!tea_util_1.default.isUnset(request.reason)) {
45280
45712
  query["Reason"] = request.reason;
45281
45713
  }
45714
+ if (!tea_util_1.default.isUnset(request.source)) {
45715
+ query["Source"] = request.source;
45716
+ }
45282
45717
  if (!tea_util_1.default.isUnset(request.target)) {
45283
45718
  query["Target"] = request.target;
45284
45719
  }
@@ -48929,6 +49364,9 @@ class Client extends openapi_client_1.default {
48929
49364
  if (!tea_util_1.default.isUnset(request.riskStatus)) {
48930
49365
  query["RiskStatus"] = request.riskStatus;
48931
49366
  }
49367
+ if (!tea_util_1.default.isUnset(request.source)) {
49368
+ query["Source"] = request.source;
49369
+ }
48932
49370
  if (!tea_util_1.default.isUnset(request.sourceIp)) {
48933
49371
  query["SourceIp"] = request.sourceIp;
48934
49372
  }
@@ -50815,6 +51253,9 @@ class Client extends openapi_client_1.default {
50815
51253
  if (!tea_util_1.default.isUnset(request.lang)) {
50816
51254
  query["Lang"] = request.lang;
50817
51255
  }
51256
+ if (!tea_util_1.default.isUnset(request.source)) {
51257
+ query["Source"] = request.source;
51258
+ }
50818
51259
  if (!tea_util_1.default.isUnset(request.strategyId)) {
50819
51260
  query["StrategyId"] = request.strategyId;
50820
51261
  }
@@ -51628,6 +52069,9 @@ class Client extends openapi_client_1.default {
51628
52069
  if (!tea_util_1.default.isUnset(request.pageSize)) {
51629
52070
  query["PageSize"] = request.pageSize;
51630
52071
  }
52072
+ if (!tea_util_1.default.isUnset(request.source)) {
52073
+ query["Source"] = request.source;
52074
+ }
51631
52075
  let req = new $OpenApi.OpenApiRequest({
51632
52076
  query: openapi_util_1.default.query(query),
51633
52077
  });
@@ -53139,7 +53583,7 @@ class Client extends openapi_client_1.default {
53139
53583
  }
53140
53584
  /**
53141
53585
  * @deprecated
53142
- * This operation is phased out. You can use the ListCheckResult operation.
53586
+ * This operation is phased out. You can use the [ListCheckResult](~~ListCheckResult~~) operation.
53143
53587
  *
53144
53588
  * @param request DescribeRiskCheckResultRequest
53145
53589
  * @param runtime runtime options for this request RuntimeOptions
@@ -53203,7 +53647,7 @@ class Client extends openapi_client_1.default {
53203
53647
  }
53204
53648
  /**
53205
53649
  * @deprecated
53206
- * This operation is phased out. You can use the ListCheckResult operation.
53650
+ * This operation is phased out. You can use the [ListCheckResult](~~ListCheckResult~~) operation.
53207
53651
  *
53208
53652
  * @param request DescribeRiskCheckResultRequest
53209
53653
  * @return DescribeRiskCheckResultResponse
@@ -53378,6 +53822,9 @@ class Client extends openapi_client_1.default {
53378
53822
  if (!tea_util_1.default.isUnset(request.lang)) {
53379
53823
  query["Lang"] = request.lang;
53380
53824
  }
53825
+ if (!tea_util_1.default.isUnset(request.source)) {
53826
+ query["Source"] = request.source;
53827
+ }
53381
53828
  if (!tea_util_1.default.isUnset(request.sourceIp)) {
53382
53829
  query["SourceIp"] = request.sourceIp;
53383
53830
  }
@@ -56801,6 +57248,50 @@ class Client extends openapi_client_1.default {
56801
57248
  let runtime = new $Util.RuntimeOptions({});
56802
57249
  return await this.getCheckSummaryWithOptions(request, runtime);
56803
57250
  }
57251
+ /**
57252
+ * @deprecated : GetClientInstallationStatistic is deprecated, please use Sas::2018-12-03::GetClientRatioStatistic instead.
57253
+ *
57254
+ * @param request GetClientInstallationStatisticRequest
57255
+ * @param runtime runtime options for this request RuntimeOptions
57256
+ * @return GetClientInstallationStatisticResponse
57257
+ */
57258
+ // Deprecated
57259
+ async getClientInstallationStatisticWithOptions(request, runtime) {
57260
+ tea_util_1.default.validateModel(request);
57261
+ let query = {};
57262
+ if (!tea_util_1.default.isUnset(request.timeEnd)) {
57263
+ query["TimeEnd"] = request.timeEnd;
57264
+ }
57265
+ if (!tea_util_1.default.isUnset(request.timeStart)) {
57266
+ query["TimeStart"] = request.timeStart;
57267
+ }
57268
+ let req = new $OpenApi.OpenApiRequest({
57269
+ query: openapi_util_1.default.query(query),
57270
+ });
57271
+ let params = new $OpenApi.Params({
57272
+ action: "GetClientInstallationStatistic",
57273
+ version: "2018-12-03",
57274
+ protocol: "HTTPS",
57275
+ pathname: "/",
57276
+ method: "POST",
57277
+ authType: "AK",
57278
+ style: "RPC",
57279
+ reqBodyType: "formData",
57280
+ bodyType: "json",
57281
+ });
57282
+ return $tea.cast(await this.callApi(params, req, runtime), new GetClientInstallationStatisticResponse({}));
57283
+ }
57284
+ /**
57285
+ * @deprecated : GetClientInstallationStatistic is deprecated, please use Sas::2018-12-03::GetClientRatioStatistic instead.
57286
+ *
57287
+ * @param request GetClientInstallationStatisticRequest
57288
+ * @return GetClientInstallationStatisticResponse
57289
+ */
57290
+ // Deprecated
57291
+ async getClientInstallationStatistic(request) {
57292
+ let runtime = new $Util.RuntimeOptions({});
57293
+ return await this.getClientInstallationStatisticWithOptions(request, runtime);
57294
+ }
56804
57295
  async getClientRatioStatisticWithOptions(request, runtime) {
56805
57296
  tea_util_1.default.validateModel(request);
56806
57297
  let query = {};
@@ -57638,6 +58129,9 @@ class Client extends openapi_client_1.default {
57638
58129
  if (!tea_util_1.default.isUnset(request.reason)) {
57639
58130
  query["Reason"] = request.reason;
57640
58131
  }
58132
+ if (!tea_util_1.default.isUnset(request.source)) {
58133
+ query["Source"] = request.source;
58134
+ }
57641
58135
  if (!tea_util_1.default.isUnset(request.type)) {
57642
58136
  query["Type"] = request.type;
57643
58137
  }
@@ -57679,6 +58173,9 @@ class Client extends openapi_client_1.default {
57679
58173
  if (!tea_util_1.default.isUnset(request.riskId)) {
57680
58174
  query["RiskId"] = request.riskId;
57681
58175
  }
58176
+ if (!tea_util_1.default.isUnset(request.source)) {
58177
+ query["Source"] = request.source;
58178
+ }
57682
58179
  if (!tea_util_1.default.isUnset(request.sourceIp)) {
57683
58180
  query["SourceIp"] = request.sourceIp;
57684
58181
  }
@@ -58255,6 +58752,38 @@ class Client extends openapi_client_1.default {
58255
58752
  let runtime = new $Util.RuntimeOptions({});
58256
58753
  return await this.listCheckInstanceResultWithOptions(request, runtime);
58257
58754
  }
58755
+ async listCheckItemWithOptions(request, runtime) {
58756
+ tea_util_1.default.validateModel(request);
58757
+ let query = {};
58758
+ if (!tea_util_1.default.isUnset(request.currentPage)) {
58759
+ query["CurrentPage"] = request.currentPage;
58760
+ }
58761
+ if (!tea_util_1.default.isUnset(request.lang)) {
58762
+ query["Lang"] = request.lang;
58763
+ }
58764
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
58765
+ query["PageSize"] = request.pageSize;
58766
+ }
58767
+ let req = new $OpenApi.OpenApiRequest({
58768
+ query: openapi_util_1.default.query(query),
58769
+ });
58770
+ let params = new $OpenApi.Params({
58771
+ action: "ListCheckItem",
58772
+ version: "2018-12-03",
58773
+ protocol: "HTTPS",
58774
+ pathname: "/",
58775
+ method: "POST",
58776
+ authType: "AK",
58777
+ style: "RPC",
58778
+ reqBodyType: "formData",
58779
+ bodyType: "json",
58780
+ });
58781
+ return $tea.cast(await this.callApi(params, req, runtime), new ListCheckItemResponse({}));
58782
+ }
58783
+ async listCheckItem(request) {
58784
+ let runtime = new $Util.RuntimeOptions({});
58785
+ return await this.listCheckItemWithOptions(request, runtime);
58786
+ }
58258
58787
  async listCheckItemWarningMachineWithOptions(request, runtime) {
58259
58788
  tea_util_1.default.validateModel(request);
58260
58789
  let query = {};
@@ -58285,6 +58814,9 @@ class Client extends openapi_client_1.default {
58285
58814
  if (!tea_util_1.default.isUnset(request.riskType)) {
58286
58815
  query["RiskType"] = request.riskType;
58287
58816
  }
58817
+ if (!tea_util_1.default.isUnset(request.source)) {
58818
+ query["Source"] = request.source;
58819
+ }
58288
58820
  if (!tea_util_1.default.isUnset(request.status)) {
58289
58821
  query["Status"] = request.status;
58290
58822
  }
@@ -58344,6 +58876,9 @@ class Client extends openapi_client_1.default {
58344
58876
  if (!tea_util_1.default.isUnset(request.riskType)) {
58345
58877
  query["RiskType"] = request.riskType;
58346
58878
  }
58879
+ if (!tea_util_1.default.isUnset(request.source)) {
58880
+ query["Source"] = request.source;
58881
+ }
58347
58882
  let req = new $OpenApi.OpenApiRequest({
58348
58883
  query: openapi_util_1.default.query(query),
58349
58884
  });
@@ -62283,6 +62818,40 @@ class Client extends openapi_client_1.default {
62283
62818
  let runtime = new $Util.RuntimeOptions({});
62284
62819
  return await this.publicSyncAndCreateImageScanTaskWithOptions(request, runtime);
62285
62820
  }
62821
+ async queryAttackCountWithOptions(request, runtime) {
62822
+ tea_util_1.default.validateModel(request);
62823
+ let query = {};
62824
+ if (!tea_util_1.default.isUnset(request.sourceIp)) {
62825
+ query["SourceIp"] = request.sourceIp;
62826
+ }
62827
+ let body = {};
62828
+ if (!tea_util_1.default.isUnset(request.from)) {
62829
+ body["From"] = request.from;
62830
+ }
62831
+ if (!tea_util_1.default.isUnset(request.lang)) {
62832
+ body["Lang"] = request.lang;
62833
+ }
62834
+ let req = new $OpenApi.OpenApiRequest({
62835
+ query: openapi_util_1.default.query(query),
62836
+ body: openapi_util_1.default.parseToMap(body),
62837
+ });
62838
+ let params = new $OpenApi.Params({
62839
+ action: "QueryAttackCount",
62840
+ version: "2018-12-03",
62841
+ protocol: "HTTPS",
62842
+ pathname: "/",
62843
+ method: "POST",
62844
+ authType: "AK",
62845
+ style: "RPC",
62846
+ reqBodyType: "formData",
62847
+ bodyType: "json",
62848
+ });
62849
+ return $tea.cast(await this.callApi(params, req, runtime), new QueryAttackCountResponse({}));
62850
+ }
62851
+ async queryAttackCount(request) {
62852
+ let runtime = new $Util.RuntimeOptions({});
62853
+ return await this.queryAttackCountWithOptions(request, runtime);
62854
+ }
62286
62855
  async queryDiscoverDatabaseWithOptions(request, runtime) {
62287
62856
  tea_util_1.default.validateModel(request);
62288
62857
  let query = {};
@@ -62674,6 +63243,9 @@ class Client extends openapi_client_1.default {
62674
63243
  if (!tea_util_1.default.isUnset(request.lang)) {
62675
63244
  query["Lang"] = request.lang;
62676
63245
  }
63246
+ if (!tea_util_1.default.isUnset(request.source)) {
63247
+ query["Source"] = request.source;
63248
+ }
62677
63249
  if (!tea_util_1.default.isUnset(request.strategyId)) {
62678
63250
  query["StrategyId"] = request.strategyId;
62679
63251
  }