@alicloud/sas20181203 2.21.0 → 2.21.1

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
@@ -16564,6 +16564,7 @@ export declare class GetCheckSaleResponse extends $tea.Model {
16564
16564
  export declare class GetCheckSummaryRequest extends $tea.Model {
16565
16565
  lang?: string;
16566
16566
  resourceDirectoryAccountId?: string;
16567
+ vendors?: string[];
16567
16568
  static names(): {
16568
16569
  [key: string]: string;
16569
16570
  };
@@ -16575,6 +16576,7 @@ export declare class GetCheckSummaryRequest extends $tea.Model {
16575
16576
  });
16576
16577
  }
16577
16578
  export declare class GetCheckSummaryResponseBody extends $tea.Model {
16579
+ overallStatistic?: GetCheckSummaryResponseBodyOverallStatistic;
16578
16580
  requestId?: string;
16579
16581
  summarys?: GetCheckSummaryResponseBodySummarys[];
16580
16582
  static names(): {
@@ -16819,6 +16821,18 @@ export declare class GetCloudAssetDetailResponse extends $tea.Model {
16819
16821
  [key: string]: any;
16820
16822
  });
16821
16823
  }
16824
+ export declare class GetCloudAssetSummaryRequest extends $tea.Model {
16825
+ vendors?: number[];
16826
+ static names(): {
16827
+ [key: string]: string;
16828
+ };
16829
+ static types(): {
16830
+ [key: string]: any;
16831
+ };
16832
+ constructor(map?: {
16833
+ [key: string]: any;
16834
+ });
16835
+ }
16822
16836
  export declare class GetCloudAssetSummaryResponseBody extends $tea.Model {
16823
16837
  groupedFields?: GetCloudAssetSummaryResponseBodyGroupedFields;
16824
16838
  requestId?: string;
@@ -26441,6 +26455,7 @@ export declare class OperateBucketScanTaskResponse extends $tea.Model {
26441
26455
  }
26442
26456
  export declare class OperateCommonOverallConfigRequest extends $tea.Model {
26443
26457
  config?: string;
26458
+ noTargetAsOn?: boolean;
26444
26459
  sourceIp?: string;
26445
26460
  type?: string;
26446
26461
  static names(): {
@@ -37162,6 +37177,52 @@ export declare class GetCheckSaleResponseBodyCheckSale extends $tea.Model {
37162
37177
  [key: string]: any;
37163
37178
  });
37164
37179
  }
37180
+ export declare class GetCheckSummaryResponseBodyOverallStatistic extends $tea.Model {
37181
+ notCheckCount?: number;
37182
+ notCheckHighCount?: number;
37183
+ notCheckLowCount?: number;
37184
+ notCheckMediumCount?: number;
37185
+ notPassCount?: number;
37186
+ notPassHighCount?: number;
37187
+ notPassLowCount?: number;
37188
+ notPassMediumCount?: number;
37189
+ passCount?: number;
37190
+ passHighCount?: number;
37191
+ passLowCount?: number;
37192
+ passMediumCount?: number;
37193
+ static names(): {
37194
+ [key: string]: string;
37195
+ };
37196
+ static types(): {
37197
+ [key: string]: any;
37198
+ };
37199
+ constructor(map?: {
37200
+ [key: string]: any;
37201
+ });
37202
+ }
37203
+ export declare class GetCheckSummaryResponseBodySummarysStandardsStandardStatistic extends $tea.Model {
37204
+ notCheckCount?: number;
37205
+ notCheckHighCount?: number;
37206
+ notCheckLowCount?: number;
37207
+ notCheckMediumCount?: number;
37208
+ notPassCount?: number;
37209
+ notPassHighCount?: number;
37210
+ notPassLowCount?: number;
37211
+ notPassMediumCount?: number;
37212
+ passCount?: number;
37213
+ passHighCount?: number;
37214
+ passLowCount?: number;
37215
+ passMediumCount?: number;
37216
+ static names(): {
37217
+ [key: string]: string;
37218
+ };
37219
+ static types(): {
37220
+ [key: string]: any;
37221
+ };
37222
+ constructor(map?: {
37223
+ [key: string]: any;
37224
+ });
37225
+ }
37165
37226
  export declare class GetCheckSummaryResponseBodySummarysStandards extends $tea.Model {
37166
37227
  failCount?: number;
37167
37228
  id?: number;
@@ -37170,6 +37231,30 @@ export declare class GetCheckSummaryResponseBodySummarysStandards extends $tea.M
37170
37231
  riskLevelLowCount?: number;
37171
37232
  riskLevelMediumCount?: number;
37172
37233
  showName?: string;
37234
+ standardStatistic?: GetCheckSummaryResponseBodySummarysStandardsStandardStatistic;
37235
+ static names(): {
37236
+ [key: string]: string;
37237
+ };
37238
+ static types(): {
37239
+ [key: string]: any;
37240
+ };
37241
+ constructor(map?: {
37242
+ [key: string]: any;
37243
+ });
37244
+ }
37245
+ export declare class GetCheckSummaryResponseBodySummarysTypeStatistic extends $tea.Model {
37246
+ notCheckCount?: number;
37247
+ notCheckHighCount?: number;
37248
+ notCheckLowCount?: number;
37249
+ notCheckMediumCount?: number;
37250
+ notPassCount?: number;
37251
+ notPassHighCount?: number;
37252
+ notPassLowCount?: number;
37253
+ notPassMediumCount?: number;
37254
+ passCount?: number;
37255
+ passHighCount?: number;
37256
+ passLowCount?: number;
37257
+ passMediumCount?: number;
37173
37258
  static names(): {
37174
37259
  [key: string]: string;
37175
37260
  };
@@ -37185,6 +37270,7 @@ export declare class GetCheckSummaryResponseBodySummarys extends $tea.Model {
37185
37270
  passCount?: number;
37186
37271
  standards?: GetCheckSummaryResponseBodySummarysStandards[];
37187
37272
  type?: string;
37273
+ typeStatistic?: GetCheckSummaryResponseBodySummarysTypeStatistic;
37188
37274
  static names(): {
37189
37275
  [key: string]: string;
37190
37276
  };
@@ -43821,8 +43907,8 @@ export default class Client extends OpenApi {
43821
43907
  getCloudAssetCriteria(request: GetCloudAssetCriteriaRequest): Promise<GetCloudAssetCriteriaResponse>;
43822
43908
  getCloudAssetDetailWithOptions(request: GetCloudAssetDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetCloudAssetDetailResponse>;
43823
43909
  getCloudAssetDetail(request: GetCloudAssetDetailRequest): Promise<GetCloudAssetDetailResponse>;
43824
- getCloudAssetSummaryWithOptions(runtime: $Util.RuntimeOptions): Promise<GetCloudAssetSummaryResponse>;
43825
- getCloudAssetSummary(): Promise<GetCloudAssetSummaryResponse>;
43910
+ getCloudAssetSummaryWithOptions(request: GetCloudAssetSummaryRequest, runtime: $Util.RuntimeOptions): Promise<GetCloudAssetSummaryResponse>;
43911
+ getCloudAssetSummary(request: GetCloudAssetSummaryRequest): Promise<GetCloudAssetSummaryResponse>;
43826
43912
  getClusterCheckItemWarningStatisticsWithOptions(request: GetClusterCheckItemWarningStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<GetClusterCheckItemWarningStatisticsResponse>;
43827
43913
  getClusterCheckItemWarningStatistics(request: GetClusterCheckItemWarningStatisticsRequest): Promise<GetClusterCheckItemWarningStatisticsResponse>;
43828
43914
  getClusterRuleSummaryWithOptions(request: GetClusterRuleSummaryRequest, runtime: $Util.RuntimeOptions): Promise<GetClusterRuleSummaryResponse>;
package/dist/client.js CHANGED
@@ -23025,12 +23025,14 @@ class GetCheckSummaryRequest extends $tea.Model {
23025
23025
  return {
23026
23026
  lang: 'Lang',
23027
23027
  resourceDirectoryAccountId: 'ResourceDirectoryAccountId',
23028
+ vendors: 'Vendors',
23028
23029
  };
23029
23030
  }
23030
23031
  static types() {
23031
23032
  return {
23032
23033
  lang: 'string',
23033
23034
  resourceDirectoryAccountId: 'string',
23035
+ vendors: { 'type': 'array', 'itemType': 'string' },
23034
23036
  };
23035
23037
  }
23036
23038
  }
@@ -23041,12 +23043,14 @@ class GetCheckSummaryResponseBody extends $tea.Model {
23041
23043
  }
23042
23044
  static names() {
23043
23045
  return {
23046
+ overallStatistic: 'OverallStatistic',
23044
23047
  requestId: 'RequestId',
23045
23048
  summarys: 'Summarys',
23046
23049
  };
23047
23050
  }
23048
23051
  static types() {
23049
23052
  return {
23053
+ overallStatistic: GetCheckSummaryResponseBodyOverallStatistic,
23050
23054
  requestId: 'string',
23051
23055
  summarys: { 'type': 'array', 'itemType': GetCheckSummaryResponseBodySummarys },
23052
23056
  };
@@ -23365,6 +23369,22 @@ class GetCloudAssetDetailResponse extends $tea.Model {
23365
23369
  }
23366
23370
  }
23367
23371
  exports.GetCloudAssetDetailResponse = GetCloudAssetDetailResponse;
23372
+ class GetCloudAssetSummaryRequest extends $tea.Model {
23373
+ constructor(map) {
23374
+ super(map);
23375
+ }
23376
+ static names() {
23377
+ return {
23378
+ vendors: 'Vendors',
23379
+ };
23380
+ }
23381
+ static types() {
23382
+ return {
23383
+ vendors: { 'type': 'array', 'itemType': 'number' },
23384
+ };
23385
+ }
23386
+ }
23387
+ exports.GetCloudAssetSummaryRequest = GetCloudAssetSummaryRequest;
23368
23388
  class GetCloudAssetSummaryResponseBody extends $tea.Model {
23369
23389
  constructor(map) {
23370
23390
  super(map);
@@ -36608,6 +36628,7 @@ class OperateCommonOverallConfigRequest extends $tea.Model {
36608
36628
  static names() {
36609
36629
  return {
36610
36630
  config: 'Config',
36631
+ noTargetAsOn: 'NoTargetAsOn',
36611
36632
  sourceIp: 'SourceIp',
36612
36633
  type: 'Type',
36613
36634
  };
@@ -36615,6 +36636,7 @@ class OperateCommonOverallConfigRequest extends $tea.Model {
36615
36636
  static types() {
36616
36637
  return {
36617
36638
  config: 'string',
36639
+ noTargetAsOn: 'boolean',
36618
36640
  sourceIp: 'string',
36619
36641
  type: 'string',
36620
36642
  };
@@ -52515,6 +52537,82 @@ class GetCheckSaleResponseBodyCheckSale extends $tea.Model {
52515
52537
  }
52516
52538
  }
52517
52539
  exports.GetCheckSaleResponseBodyCheckSale = GetCheckSaleResponseBodyCheckSale;
52540
+ class GetCheckSummaryResponseBodyOverallStatistic extends $tea.Model {
52541
+ constructor(map) {
52542
+ super(map);
52543
+ }
52544
+ static names() {
52545
+ return {
52546
+ notCheckCount: 'NotCheckCount',
52547
+ notCheckHighCount: 'NotCheckHighCount',
52548
+ notCheckLowCount: 'NotCheckLowCount',
52549
+ notCheckMediumCount: 'NotCheckMediumCount',
52550
+ notPassCount: 'NotPassCount',
52551
+ notPassHighCount: 'NotPassHighCount',
52552
+ notPassLowCount: 'NotPassLowCount',
52553
+ notPassMediumCount: 'NotPassMediumCount',
52554
+ passCount: 'PassCount',
52555
+ passHighCount: 'PassHighCount',
52556
+ passLowCount: 'PassLowCount',
52557
+ passMediumCount: 'PassMediumCount',
52558
+ };
52559
+ }
52560
+ static types() {
52561
+ return {
52562
+ notCheckCount: 'number',
52563
+ notCheckHighCount: 'number',
52564
+ notCheckLowCount: 'number',
52565
+ notCheckMediumCount: 'number',
52566
+ notPassCount: 'number',
52567
+ notPassHighCount: 'number',
52568
+ notPassLowCount: 'number',
52569
+ notPassMediumCount: 'number',
52570
+ passCount: 'number',
52571
+ passHighCount: 'number',
52572
+ passLowCount: 'number',
52573
+ passMediumCount: 'number',
52574
+ };
52575
+ }
52576
+ }
52577
+ exports.GetCheckSummaryResponseBodyOverallStatistic = GetCheckSummaryResponseBodyOverallStatistic;
52578
+ class GetCheckSummaryResponseBodySummarysStandardsStandardStatistic extends $tea.Model {
52579
+ constructor(map) {
52580
+ super(map);
52581
+ }
52582
+ static names() {
52583
+ return {
52584
+ notCheckCount: 'NotCheckCount',
52585
+ notCheckHighCount: 'NotCheckHighCount',
52586
+ notCheckLowCount: 'NotCheckLowCount',
52587
+ notCheckMediumCount: 'NotCheckMediumCount',
52588
+ notPassCount: 'NotPassCount',
52589
+ notPassHighCount: 'NotPassHighCount',
52590
+ notPassLowCount: 'NotPassLowCount',
52591
+ notPassMediumCount: 'NotPassMediumCount',
52592
+ passCount: 'PassCount',
52593
+ passHighCount: 'PassHighCount',
52594
+ passLowCount: 'PassLowCount',
52595
+ passMediumCount: 'PassMediumCount',
52596
+ };
52597
+ }
52598
+ static types() {
52599
+ return {
52600
+ notCheckCount: 'number',
52601
+ notCheckHighCount: 'number',
52602
+ notCheckLowCount: 'number',
52603
+ notCheckMediumCount: 'number',
52604
+ notPassCount: 'number',
52605
+ notPassHighCount: 'number',
52606
+ notPassLowCount: 'number',
52607
+ notPassMediumCount: 'number',
52608
+ passCount: 'number',
52609
+ passHighCount: 'number',
52610
+ passLowCount: 'number',
52611
+ passMediumCount: 'number',
52612
+ };
52613
+ }
52614
+ }
52615
+ exports.GetCheckSummaryResponseBodySummarysStandardsStandardStatistic = GetCheckSummaryResponseBodySummarysStandardsStandardStatistic;
52518
52616
  class GetCheckSummaryResponseBodySummarysStandards extends $tea.Model {
52519
52617
  constructor(map) {
52520
52618
  super(map);
@@ -52528,6 +52626,7 @@ class GetCheckSummaryResponseBodySummarysStandards extends $tea.Model {
52528
52626
  riskLevelLowCount: 'RiskLevelLowCount',
52529
52627
  riskLevelMediumCount: 'RiskLevelMediumCount',
52530
52628
  showName: 'ShowName',
52629
+ standardStatistic: 'StandardStatistic',
52531
52630
  };
52532
52631
  }
52533
52632
  static types() {
@@ -52539,10 +52638,49 @@ class GetCheckSummaryResponseBodySummarysStandards extends $tea.Model {
52539
52638
  riskLevelLowCount: 'number',
52540
52639
  riskLevelMediumCount: 'number',
52541
52640
  showName: 'string',
52641
+ standardStatistic: GetCheckSummaryResponseBodySummarysStandardsStandardStatistic,
52542
52642
  };
52543
52643
  }
52544
52644
  }
52545
52645
  exports.GetCheckSummaryResponseBodySummarysStandards = GetCheckSummaryResponseBodySummarysStandards;
52646
+ class GetCheckSummaryResponseBodySummarysTypeStatistic extends $tea.Model {
52647
+ constructor(map) {
52648
+ super(map);
52649
+ }
52650
+ static names() {
52651
+ return {
52652
+ notCheckCount: 'NotCheckCount',
52653
+ notCheckHighCount: 'NotCheckHighCount',
52654
+ notCheckLowCount: 'NotCheckLowCount',
52655
+ notCheckMediumCount: 'NotCheckMediumCount',
52656
+ notPassCount: 'NotPassCount',
52657
+ notPassHighCount: 'NotPassHighCount',
52658
+ notPassLowCount: 'NotPassLowCount',
52659
+ notPassMediumCount: 'NotPassMediumCount',
52660
+ passCount: 'PassCount',
52661
+ passHighCount: 'PassHighCount',
52662
+ passLowCount: 'PassLowCount',
52663
+ passMediumCount: 'PassMediumCount',
52664
+ };
52665
+ }
52666
+ static types() {
52667
+ return {
52668
+ notCheckCount: 'number',
52669
+ notCheckHighCount: 'number',
52670
+ notCheckLowCount: 'number',
52671
+ notCheckMediumCount: 'number',
52672
+ notPassCount: 'number',
52673
+ notPassHighCount: 'number',
52674
+ notPassLowCount: 'number',
52675
+ notPassMediumCount: 'number',
52676
+ passCount: 'number',
52677
+ passHighCount: 'number',
52678
+ passLowCount: 'number',
52679
+ passMediumCount: 'number',
52680
+ };
52681
+ }
52682
+ }
52683
+ exports.GetCheckSummaryResponseBodySummarysTypeStatistic = GetCheckSummaryResponseBodySummarysTypeStatistic;
52546
52684
  class GetCheckSummaryResponseBodySummarys extends $tea.Model {
52547
52685
  constructor(map) {
52548
52686
  super(map);
@@ -52553,6 +52691,7 @@ class GetCheckSummaryResponseBodySummarys extends $tea.Model {
52553
52691
  passCount: 'PassCount',
52554
52692
  standards: 'Standards',
52555
52693
  type: 'Type',
52694
+ typeStatistic: 'TypeStatistic',
52556
52695
  };
52557
52696
  }
52558
52697
  static types() {
@@ -52561,6 +52700,7 @@ class GetCheckSummaryResponseBodySummarys extends $tea.Model {
52561
52700
  passCount: 'number',
52562
52701
  standards: { 'type': 'array', 'itemType': GetCheckSummaryResponseBodySummarysStandards },
52563
52702
  type: 'string',
52703
+ typeStatistic: GetCheckSummaryResponseBodySummarysTypeStatistic,
52564
52704
  };
52565
52705
  }
52566
52706
  }
@@ -74326,6 +74466,9 @@ class Client extends openapi_client_1.default {
74326
74466
  if (!tea_util_1.default.isUnset(request.resourceDirectoryAccountId)) {
74327
74467
  query["ResourceDirectoryAccountId"] = request.resourceDirectoryAccountId;
74328
74468
  }
74469
+ if (!tea_util_1.default.isUnset(request.vendors)) {
74470
+ query["Vendors"] = request.vendors;
74471
+ }
74329
74472
  let req = new $OpenApi.OpenApiRequest({
74330
74473
  query: openapi_util_1.default.query(query),
74331
74474
  });
@@ -74515,8 +74658,15 @@ class Client extends openapi_client_1.default {
74515
74658
  let runtime = new $Util.RuntimeOptions({});
74516
74659
  return await this.getCloudAssetDetailWithOptions(request, runtime);
74517
74660
  }
74518
- async getCloudAssetSummaryWithOptions(runtime) {
74519
- let req = new $OpenApi.OpenApiRequest({});
74661
+ async getCloudAssetSummaryWithOptions(request, runtime) {
74662
+ tea_util_1.default.validateModel(request);
74663
+ let query = {};
74664
+ if (!tea_util_1.default.isUnset(request.vendors)) {
74665
+ query["Vendors"] = request.vendors;
74666
+ }
74667
+ let req = new $OpenApi.OpenApiRequest({
74668
+ query: openapi_util_1.default.query(query),
74669
+ });
74520
74670
  let params = new $OpenApi.Params({
74521
74671
  action: "GetCloudAssetSummary",
74522
74672
  version: "2018-12-03",
@@ -74530,9 +74680,9 @@ class Client extends openapi_client_1.default {
74530
74680
  });
74531
74681
  return $tea.cast(await this.callApi(params, req, runtime), new GetCloudAssetSummaryResponse({}));
74532
74682
  }
74533
- async getCloudAssetSummary() {
74683
+ async getCloudAssetSummary(request) {
74534
74684
  let runtime = new $Util.RuntimeOptions({});
74535
- return await this.getCloudAssetSummaryWithOptions(runtime);
74685
+ return await this.getCloudAssetSummaryWithOptions(request, runtime);
74536
74686
  }
74537
74687
  async getClusterCheckItemWarningStatisticsWithOptions(request, runtime) {
74538
74688
  tea_util_1.default.validateModel(request);
@@ -81973,6 +82123,9 @@ class Client extends openapi_client_1.default {
81973
82123
  if (!tea_util_1.default.isUnset(request.config)) {
81974
82124
  query["Config"] = request.config;
81975
82125
  }
82126
+ if (!tea_util_1.default.isUnset(request.noTargetAsOn)) {
82127
+ query["NoTargetAsOn"] = request.noTargetAsOn;
82128
+ }
81976
82129
  if (!tea_util_1.default.isUnset(request.sourceIp)) {
81977
82130
  query["SourceIp"] = request.sourceIp;
81978
82131
  }