@aws-sdk/client-inspector2 3.863.0 → 3.872.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-cjs/index.js CHANGED
@@ -4079,6 +4079,12 @@ var de_Cvss3 = /* @__PURE__ */ __name((output, context) => {
4079
4079
  scoringVector: import_smithy_client.expectString
4080
4080
  });
4081
4081
  }, "de_Cvss3");
4082
+ var de_Cvss4 = /* @__PURE__ */ __name((output, context) => {
4083
+ return (0, import_smithy_client.take)(output, {
4084
+ baseScore: import_smithy_client.limitedParseDouble,
4085
+ scoringVector: import_smithy_client.expectString
4086
+ });
4087
+ }, "de_Cvss4");
4082
4088
  var de_CvssScore = /* @__PURE__ */ __name((output, context) => {
4083
4089
  return (0, import_smithy_client.take)(output, {
4084
4090
  baseScore: import_smithy_client.limitedParseDouble,
@@ -4456,6 +4462,7 @@ var de_Vulnerability = /* @__PURE__ */ __name((output, context) => {
4456
4462
  cisaData: /* @__PURE__ */ __name((_) => de_CisaData(_, context), "cisaData"),
4457
4463
  cvss2: /* @__PURE__ */ __name((_) => de_Cvss2(_, context), "cvss2"),
4458
4464
  cvss3: /* @__PURE__ */ __name((_) => de_Cvss3(_, context), "cvss3"),
4465
+ cvss4: /* @__PURE__ */ __name((_) => de_Cvss4(_, context), "cvss4"),
4459
4466
  cwes: import_smithy_client._json,
4460
4467
  description: import_smithy_client.expectString,
4461
4468
  detectionPlatforms: import_smithy_client._json,
@@ -2759,6 +2759,12 @@ const de_Cvss3 = (output, context) => {
2759
2759
  scoringVector: __expectString,
2760
2760
  });
2761
2761
  };
2762
+ const de_Cvss4 = (output, context) => {
2763
+ return take(output, {
2764
+ baseScore: __limitedParseDouble,
2765
+ scoringVector: __expectString,
2766
+ });
2767
+ };
2762
2768
  const de_CvssScore = (output, context) => {
2763
2769
  return take(output, {
2764
2770
  baseScore: __limitedParseDouble,
@@ -3166,6 +3172,7 @@ const de_Vulnerability = (output, context) => {
3166
3172
  cisaData: (_) => de_CisaData(_, context),
3167
3173
  cvss2: (_) => de_Cvss2(_, context),
3168
3174
  cvss3: (_) => de_Cvss3(_, context),
3175
+ cvss4: (_) => de_Cvss4(_, context),
3169
3176
  cwes: _json,
3170
3177
  description: __expectString,
3171
3178
  detectionPlatforms: _json,
@@ -69,6 +69,10 @@ declare const SearchVulnerabilitiesCommand_base: {
69
69
  * // ],
70
70
  * // },
71
71
  * // vendorSeverity: "STRING_VALUE",
72
+ * // cvss4: { // Cvss4
73
+ * // baseScore: Number("double"),
74
+ * // scoringVector: "STRING_VALUE",
75
+ * // },
72
76
  * // cvss3: { // Cvss3
73
77
  * // baseScore: Number("double"),
74
78
  * // scoringVector: "STRING_VALUE",
@@ -4536,7 +4536,7 @@ export interface ScanStatus {
4536
4536
  * Amazon Inspector service will automatically resolve the issue and resume the scanning. No action
4537
4537
  * required from the user.</p>
4538
4538
  * <p>
4539
- * <code>NO INVENTORY</code> - Amazon Inspector couldn't find software application inventory to scan
4539
+ * <code>NO_INVENTORY</code> - Amazon Inspector couldn't find software application inventory to scan
4540
4540
  * for vulnerabilities. This might be caused due to required Amazon Inspector associations being deleted
4541
4541
  * or failing to run on your resource. Please verify the status of
4542
4542
  * <code>InspectorInventoryCollection-do-not-delete</code> association in the SSM console
@@ -6378,6 +6378,22 @@ export interface Cvss3 {
6378
6378
  */
6379
6379
  scoringVector?: string | undefined;
6380
6380
  }
6381
+ /**
6382
+ * <p>The Common Vulnerability Scoring System (CVSS) version 4 details for the vulnerability.</p>
6383
+ * @public
6384
+ */
6385
+ export interface Cvss4 {
6386
+ /**
6387
+ * <p>The base CVSS v4 score for the vulnerability finding, which rates the severity of the vulnerability on a scale from 0 to 10.</p>
6388
+ * @public
6389
+ */
6390
+ baseScore?: number | undefined;
6391
+ /**
6392
+ * <p>The CVSS v4 scoring vector, which contains the metrics and measurements that were used to calculate the base score.</p>
6393
+ * @public
6394
+ */
6395
+ scoringVector?: string | undefined;
6396
+ }
6381
6397
  /**
6382
6398
  * <p>The CVSS score for a finding.</p>
6383
6399
  * @public
@@ -6958,17 +6974,6 @@ export interface EnableDelegatedAdminAccountResponse {
6958
6974
  */
6959
6975
  delegatedAdminAccountId: string | undefined;
6960
6976
  }
6961
- /**
6962
- * <p>Details about the Exploit Prediction Scoring System (EPSS) score.</p>
6963
- * @public
6964
- */
6965
- export interface Epss {
6966
- /**
6967
- * <p>The Exploit Prediction Scoring System (EPSS) score.</p>
6968
- * @public
6969
- */
6970
- score?: number | undefined;
6971
- }
6972
6977
  /**
6973
6978
  * @internal
6974
6979
  */
@@ -1,4 +1,15 @@
1
- import { AggregationRequest, AggregationResponse, AggregationType, AtigData, AutoEnable, AwsEc2InstanceDetails, AwsEcrContainerImageDetails, AwsLambdaFunctionDetails, CisaData, CisCheckAggregation, CisDateFilter, CisNumberFilter, CisReportFormat, CisReportStatus, CisScan, CisScanConfiguration, CisScanConfigurationsSortBy, CisScanResultDetails, CisScanResultDetailsFilterCriteria, CisScanResultDetailsSortBy, CisScanResultsAggregatedByChecksFilterCriteria, CisScanResultsAggregatedByChecksSortBy, CisScanResultsAggregatedByTargetResourceFilterCriteria, CisScanResultsAggregatedByTargetResourceSortBy, CisScanStatusFilter, CisSecurityLevel, CisSessionMessage, CisSortOrder, CisStringFilter, CisTargetResourceAggregation, ClusterForImageFilterCriteria, ClusterInformation, CodeRepositoryDetails, CodeScanStatus, CodeSecurityIntegrationSummary, CodeSecurityResource, CodeSecurityScanConfiguration, CodeSecurityScanConfigurationAssociationSummary, CodeSecurityScanConfigurationSummary, CodeVulnerabilityDetails, ComputePlatform, ConfigurationLevel, Counts, CoverageFilterCriteria, CoveredResource, Currency, Cvss2, Cvss3, CvssScore, CvssScoreDetails, DelegatedAdmin, DelegatedAdminAccount, Destination, Ec2Configuration, Ec2ConfigurationState, Ec2DeepInspectionStatus, EcrConfiguration, EcrConfigurationState, Epss, ExploitObserved, FilterAction, FilterCriteria, GroupKey, IntegrationStatus, IntegrationType, RelationshipStatus, ResourceFilterCriteria, SbomReportFormat, ScanType, Schedule, ScopeSettings, SortOrder, StringFilter, TagFilter } from "./models_0";
1
+ import { AggregationRequest, AggregationResponse, AggregationType, AtigData, AutoEnable, AwsEc2InstanceDetails, AwsEcrContainerImageDetails, AwsLambdaFunctionDetails, CisaData, CisCheckAggregation, CisDateFilter, CisNumberFilter, CisReportFormat, CisReportStatus, CisScan, CisScanConfiguration, CisScanConfigurationsSortBy, CisScanResultDetails, CisScanResultDetailsFilterCriteria, CisScanResultDetailsSortBy, CisScanResultsAggregatedByChecksFilterCriteria, CisScanResultsAggregatedByChecksSortBy, CisScanResultsAggregatedByTargetResourceFilterCriteria, CisScanResultsAggregatedByTargetResourceSortBy, CisScanStatusFilter, CisSecurityLevel, CisSessionMessage, CisSortOrder, CisStringFilter, CisTargetResourceAggregation, ClusterForImageFilterCriteria, ClusterInformation, CodeRepositoryDetails, CodeScanStatus, CodeSecurityIntegrationSummary, CodeSecurityResource, CodeSecurityScanConfiguration, CodeSecurityScanConfigurationAssociationSummary, CodeSecurityScanConfigurationSummary, CodeVulnerabilityDetails, ComputePlatform, ConfigurationLevel, Counts, CoverageFilterCriteria, CoveredResource, Currency, Cvss2, Cvss3, Cvss4, CvssScore, CvssScoreDetails, DelegatedAdmin, DelegatedAdminAccount, Destination, Ec2Configuration, Ec2ConfigurationState, Ec2DeepInspectionStatus, EcrConfiguration, EcrConfigurationState, ExploitObserved, FilterAction, FilterCriteria, GroupKey, IntegrationStatus, IntegrationType, RelationshipStatus, ResourceFilterCriteria, SbomReportFormat, ScanType, Schedule, ScopeSettings, SortOrder, StringFilter, TagFilter } from "./models_0";
2
+ /**
3
+ * <p>Details about the Exploit Prediction Scoring System (EPSS) score.</p>
4
+ * @public
5
+ */
6
+ export interface Epss {
7
+ /**
8
+ * <p>The Exploit Prediction Scoring System (EPSS) score.</p>
9
+ * @public
10
+ */
11
+ score?: number | undefined;
12
+ }
2
13
  /**
3
14
  * <p>Details about the Exploit Prediction Scoring System (EPSS) score for a finding.</p>
4
15
  * @public
@@ -2317,6 +2328,11 @@ export interface Vulnerability {
2317
2328
  * @public
2318
2329
  */
2319
2330
  vendorSeverity?: string | undefined;
2331
+ /**
2332
+ * <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 4 details for the vulnerability.</p>
2333
+ * @public
2334
+ */
2335
+ cvss4?: Cvss4 | undefined;
2320
2336
  /**
2321
2337
  * <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details
2322
2338
  * for the vulnerability.</p>
@@ -2205,6 +2205,10 @@ export interface Cvss3 {
2205
2205
  baseScore?: number | undefined;
2206
2206
  scoringVector?: string | undefined;
2207
2207
  }
2208
+ export interface Cvss4 {
2209
+ baseScore?: number | undefined;
2210
+ scoringVector?: string | undefined;
2211
+ }
2208
2212
  export interface CvssScore {
2209
2213
  baseScore: number | undefined;
2210
2214
  scoringVector: string | undefined;
@@ -2395,9 +2399,6 @@ export interface EnableDelegatedAdminAccountRequest {
2395
2399
  export interface EnableDelegatedAdminAccountResponse {
2396
2400
  delegatedAdminAccountId: string | undefined;
2397
2401
  }
2398
- export interface Epss {
2399
- score?: number | undefined;
2400
- }
2401
2402
  export declare const CreateGitLabSelfManagedIntegrationDetailFilterSensitiveLog: (
2402
2403
  obj: CreateGitLabSelfManagedIntegrationDetail
2403
2404
  ) => any;
@@ -47,6 +47,7 @@ import {
47
47
  Currency,
48
48
  Cvss2,
49
49
  Cvss3,
50
+ Cvss4,
50
51
  CvssScore,
51
52
  CvssScoreDetails,
52
53
  DelegatedAdmin,
@@ -57,7 +58,6 @@ import {
57
58
  Ec2DeepInspectionStatus,
58
59
  EcrConfiguration,
59
60
  EcrConfigurationState,
60
- Epss,
61
61
  ExploitObserved,
62
62
  FilterAction,
63
63
  FilterCriteria,
@@ -74,6 +74,9 @@ import {
74
74
  StringFilter,
75
75
  TagFilter,
76
76
  } from "./models_0";
77
+ export interface Epss {
78
+ score?: number | undefined;
79
+ }
77
80
  export interface EpssDetails {
78
81
  score?: number | undefined;
79
82
  }
@@ -685,6 +688,7 @@ export interface Vulnerability {
685
688
  description?: string | undefined;
686
689
  atigData?: AtigData | undefined;
687
690
  vendorSeverity?: string | undefined;
691
+ cvss4?: Cvss4 | undefined;
688
692
  cvss3?: Cvss3 | undefined;
689
693
  relatedVulnerabilities?: string[] | undefined;
690
694
  cvss2?: Cvss2 | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector2",
3
3
  "description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
4
- "version": "3.863.0",
4
+ "version": "3.872.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-inspector2",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.863.0",
24
- "@aws-sdk/credential-provider-node": "3.863.0",
23
+ "@aws-sdk/core": "3.864.0",
24
+ "@aws-sdk/credential-provider-node": "3.872.0",
25
25
  "@aws-sdk/middleware-host-header": "3.862.0",
26
26
  "@aws-sdk/middleware-logger": "3.862.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.862.0",
28
- "@aws-sdk/middleware-user-agent": "3.863.0",
28
+ "@aws-sdk/middleware-user-agent": "3.864.0",
29
29
  "@aws-sdk/region-config-resolver": "3.862.0",
30
30
  "@aws-sdk/types": "3.862.0",
31
31
  "@aws-sdk/util-endpoints": "3.862.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.862.0",
33
- "@aws-sdk/util-user-agent-node": "3.863.0",
33
+ "@aws-sdk/util-user-agent-node": "3.864.0",
34
34
  "@smithy/config-resolver": "^4.1.5",
35
35
  "@smithy/core": "^3.8.0",
36
36
  "@smithy/fetch-http-handler": "^5.1.1",