aws-sdk-inspector2 1.56.0 → 1.58.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9489c8a97731f2239420f13ca79978064198b5b0fdd851f6e8c1167a11ea20f4
4
- data.tar.gz: 2bcf1e92a93023118e8773056932db10063e4a62adbb8643bb1aabbc8ec373d3
3
+ metadata.gz: 3981cbfb6e8c8d49f7fb96a397d99d88399377b74659f70dc0921289a468752a
4
+ data.tar.gz: 18dc5ad18219bcedf170649f9d19ae5557affbb787e21cceee196e9b4c76f661
5
5
  SHA512:
6
- metadata.gz: ce57742c2bc2b38c4c317842b53c00bddfeb99285d247c677dad6bdd6b7351e444aff8ef68fdf722d585bfd2156633f85957c8131108b1ae65a1894112c43b29
7
- data.tar.gz: 7f4b61f0a67e2491f8ee7620420a587902e0e83799c5418729b87c33fbd5b84b55e4d86287fb38600c615e62d88e6b55d0a4a101452556efa67978c9a46c64b5
6
+ metadata.gz: 8913e699d5126ad33cae0ddc18a8038f0e2dbf1f4cfb525b2f23c74788acc3786515090bad34f4008fa6f9bd2b786f0e50241e7959a52d771a5e3bc0ce3c3325
7
+ data.tar.gz: ca8b4e225405ed904911e875d69ab970bbbf1263af7afe6d552d90cfa673ad9c501f6a68f353ba052ca2ab87a0279a1d381d5194639021490426a4d81c36959d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2025-08-08)
5
+ ------------------
6
+
7
+ * Feature - Add CVSSV4 to Vulnerability Search API and update enable/disable account id list length to 5
8
+
9
+ 1.57.0 (2025-08-04)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.56.0 (2025-07-31)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.56.0
1
+ 1.58.0
@@ -95,8 +95,8 @@ module Aws::Inspector2
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials used for authentication. This can be an instance of any one of the
99
- # following classes:
98
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
99
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
102
102
  # credentials.
@@ -124,8 +124,7 @@ module Aws::Inspector2
124
124
  # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
125
125
  # from the Cognito Identity service.
126
126
  #
127
- # When `:credentials` are not configured directly, the following
128
- # locations will be searched for credentials:
127
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
129
128
  #
130
129
  # * `Aws.config[:credentials]`
131
130
  #
@@ -139,12 +138,10 @@ module Aws::Inspector2
139
138
  #
140
139
  # * `~/.aws/config`
141
140
  #
142
- # * EC2/ECS IMDS instance profile - When used by default, the timeouts
143
- # are very aggressive. Construct and pass an instance of
144
- # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
145
- # enable retries and extended timeouts. Instance profile credential
146
- # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
147
- # to `true`.
141
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
142
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
143
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
144
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
148
145
  #
149
146
  # @option options [required, String] :region
150
147
  # The AWS region to connect to. The configured `:region` is
@@ -377,8 +374,8 @@ module Aws::Inspector2
377
374
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
378
375
  #
379
376
  # @option options [Aws::TokenProvider] :token_provider
380
- # Your Bearer token used for authentication. This can be an instance of any one of the
381
- # following classes:
377
+ # Your Bearer token used for authentication. This can be any class that includes and implements
378
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
382
379
  #
383
380
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
384
381
  # tokens.
@@ -5695,6 +5692,8 @@ module Aws::Inspector2
5695
5692
  # resp.vulnerabilities[0].atig_data.ttps #=> Array
5696
5693
  # resp.vulnerabilities[0].atig_data.ttps[0] #=> String
5697
5694
  # resp.vulnerabilities[0].vendor_severity #=> String
5695
+ # resp.vulnerabilities[0].cvss4.base_score #=> Float
5696
+ # resp.vulnerabilities[0].cvss4.scoring_vector #=> String
5698
5697
  # resp.vulnerabilities[0].cvss3.base_score #=> Float
5699
5698
  # resp.vulnerabilities[0].cvss3.scoring_vector #=> String
5700
5699
  # resp.vulnerabilities[0].related_vulnerabilities #=> Array
@@ -6804,7 +6803,7 @@ module Aws::Inspector2
6804
6803
  tracer: tracer
6805
6804
  )
6806
6805
  context[:gem_name] = 'aws-sdk-inspector2'
6807
- context[:gem_version] = '1.56.0'
6806
+ context[:gem_version] = '1.58.0'
6808
6807
  Seahorse::Client::Request.new(handlers, context)
6809
6808
  end
6810
6809
 
@@ -246,16 +246,15 @@ module Aws::Inspector2
246
246
  CreateSbomExportResponse = Shapes::StructureShape.new(name: 'CreateSbomExportResponse')
247
247
  Currency = Shapes::StringShape.new(name: 'Currency')
248
248
  Cvss2 = Shapes::StructureShape.new(name: 'Cvss2')
249
- Cvss2BaseScore = Shapes::FloatShape.new(name: 'Cvss2BaseScore')
250
- Cvss2ScoringVector = Shapes::StringShape.new(name: 'Cvss2ScoringVector')
251
249
  Cvss3 = Shapes::StructureShape.new(name: 'Cvss3')
252
- Cvss3BaseScore = Shapes::FloatShape.new(name: 'Cvss3BaseScore')
253
- Cvss3ScoringVector = Shapes::StringShape.new(name: 'Cvss3ScoringVector')
250
+ Cvss4 = Shapes::StructureShape.new(name: 'Cvss4')
251
+ CvssBaseScore = Shapes::FloatShape.new(name: 'CvssBaseScore')
254
252
  CvssScore = Shapes::StructureShape.new(name: 'CvssScore')
255
253
  CvssScoreAdjustment = Shapes::StructureShape.new(name: 'CvssScoreAdjustment')
256
254
  CvssScoreAdjustmentList = Shapes::ListShape.new(name: 'CvssScoreAdjustmentList')
257
255
  CvssScoreDetails = Shapes::StructureShape.new(name: 'CvssScoreDetails')
258
256
  CvssScoreList = Shapes::ListShape.new(name: 'CvssScoreList')
257
+ CvssScoringVector = Shapes::StringShape.new(name: 'CvssScoringVector')
259
258
  Cwe = Shapes::StringShape.new(name: 'Cwe')
260
259
  CweList = Shapes::ListShape.new(name: 'CweList')
261
260
  Cwes = Shapes::ListShape.new(name: 'Cwes')
@@ -1481,14 +1480,18 @@ module Aws::Inspector2
1481
1480
  CreateSbomExportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "reportId"))
1482
1481
  CreateSbomExportResponse.struct_class = Types::CreateSbomExportResponse
1483
1482
 
1484
- Cvss2.add_member(:base_score, Shapes::ShapeRef.new(shape: Cvss2BaseScore, location_name: "baseScore"))
1485
- Cvss2.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: Cvss2ScoringVector, location_name: "scoringVector"))
1483
+ Cvss2.add_member(:base_score, Shapes::ShapeRef.new(shape: CvssBaseScore, location_name: "baseScore"))
1484
+ Cvss2.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: CvssScoringVector, location_name: "scoringVector"))
1486
1485
  Cvss2.struct_class = Types::Cvss2
1487
1486
 
1488
- Cvss3.add_member(:base_score, Shapes::ShapeRef.new(shape: Cvss3BaseScore, location_name: "baseScore"))
1489
- Cvss3.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: Cvss3ScoringVector, location_name: "scoringVector"))
1487
+ Cvss3.add_member(:base_score, Shapes::ShapeRef.new(shape: CvssBaseScore, location_name: "baseScore"))
1488
+ Cvss3.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: CvssScoringVector, location_name: "scoringVector"))
1490
1489
  Cvss3.struct_class = Types::Cvss3
1491
1490
 
1491
+ Cvss4.add_member(:base_score, Shapes::ShapeRef.new(shape: CvssBaseScore, location_name: "baseScore"))
1492
+ Cvss4.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: CvssScoringVector, location_name: "scoringVector"))
1493
+ Cvss4.struct_class = Types::Cvss4
1494
+
1492
1495
  CvssScore.add_member(:base_score, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "baseScore"))
1493
1496
  CvssScore.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "scoringVector"))
1494
1497
  CvssScore.add_member(:version, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "version"))
@@ -2809,6 +2812,7 @@ module Aws::Inspector2
2809
2812
  Vulnerability.add_member(:description, Shapes::ShapeRef.new(shape: VulnerabilityDescription, location_name: "description"))
2810
2813
  Vulnerability.add_member(:atig_data, Shapes::ShapeRef.new(shape: AtigData, location_name: "atigData"))
2811
2814
  Vulnerability.add_member(:vendor_severity, Shapes::ShapeRef.new(shape: VendorSeverity, location_name: "vendorSeverity"))
2815
+ Vulnerability.add_member(:cvss4, Shapes::ShapeRef.new(shape: Cvss4, location_name: "cvss4"))
2812
2816
  Vulnerability.add_member(:cvss3, Shapes::ShapeRef.new(shape: Cvss3, location_name: "cvss3"))
2813
2817
  Vulnerability.add_member(:related_vulnerabilities, Shapes::ShapeRef.new(shape: RelatedVulnerabilities, location_name: "relatedVulnerabilities"))
2814
2818
  Vulnerability.add_member(:cvss2, Shapes::ShapeRef.new(shape: Cvss2, location_name: "cvss2"))
@@ -3189,6 +3189,28 @@ module Aws::Inspector2
3189
3189
  include Aws::Structure
3190
3190
  end
3191
3191
 
3192
+ # The Common Vulnerability Scoring System (CVSS) version 4 details for
3193
+ # the vulnerability.
3194
+ #
3195
+ # @!attribute [rw] base_score
3196
+ # The base CVSS v4 score for the vulnerability finding, which rates
3197
+ # the severity of the vulnerability on a scale from 0 to 10.
3198
+ # @return [Float]
3199
+ #
3200
+ # @!attribute [rw] scoring_vector
3201
+ # The CVSS v4 scoring vector, which contains the metrics and
3202
+ # measurements that were used to calculate the base score.
3203
+ # @return [String]
3204
+ #
3205
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Cvss4 AWS API Documentation
3206
+ #
3207
+ class Cvss4 < Struct.new(
3208
+ :base_score,
3209
+ :scoring_vector)
3210
+ SENSITIVE = []
3211
+ include Aws::Structure
3212
+ end
3213
+
3192
3214
  # The CVSS score for a finding.
3193
3215
  #
3194
3216
  # @!attribute [rw] base_score
@@ -7731,7 +7753,7 @@ module Aws::Inspector2
7731
7753
  # resolve the issue and resume the scanning. No action required from
7732
7754
  # the user.
7733
7755
  #
7734
- # `NO INVENTORY` - Amazon Inspector couldn't find software
7756
+ # `NO_INVENTORY` - Amazon Inspector couldn't find software
7735
7757
  # application inventory to scan for vulnerabilities. This might be
7736
7758
  # caused due to required Amazon Inspector associations being deleted
7737
7759
  # or failing to run on your resource. Please verify the status of
@@ -9059,6 +9081,11 @@ module Aws::Inspector2
9059
9081
  # The severity assigned by the vendor.
9060
9082
  # @return [String]
9061
9083
  #
9084
+ # @!attribute [rw] cvss4
9085
+ # An object that contains the Common Vulnerability Scoring System
9086
+ # (CVSS) Version 4 details for the vulnerability.
9087
+ # @return [Types::Cvss4]
9088
+ #
9062
9089
  # @!attribute [rw] cvss3
9063
9090
  # An object that contains the Common Vulnerability Scoring System
9064
9091
  # (CVSS) Version 3 details for the vulnerability.
@@ -9113,6 +9140,7 @@ module Aws::Inspector2
9113
9140
  :description,
9114
9141
  :atig_data,
9115
9142
  :vendor_severity,
9143
+ :cvss4,
9116
9144
  :cvss3,
9117
9145
  :related_vulnerabilities,
9118
9146
  :cvss2,
@@ -54,7 +54,7 @@ module Aws::Inspector2
54
54
  autoload :EndpointProvider, 'aws-sdk-inspector2/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-inspector2/endpoints'
56
56
 
57
- GEM_VERSION = '1.56.0'
57
+ GEM_VERSION = '1.58.0'
58
58
 
59
59
  end
60
60
 
data/sig/types.rbs CHANGED
@@ -921,6 +921,12 @@ module Aws::Inspector2
921
921
  SENSITIVE: []
922
922
  end
923
923
 
924
+ class Cvss4
925
+ attr_accessor base_score: ::Float
926
+ attr_accessor scoring_vector: ::String
927
+ SENSITIVE: []
928
+ end
929
+
924
930
  class CvssScore
925
931
  attr_accessor base_score: ::Float
926
932
  attr_accessor scoring_vector: ::String
@@ -2533,6 +2539,7 @@ module Aws::Inspector2
2533
2539
  attr_accessor description: ::String
2534
2540
  attr_accessor atig_data: Types::AtigData
2535
2541
  attr_accessor vendor_severity: ::String
2542
+ attr_accessor cvss4: Types::Cvss4
2536
2543
  attr_accessor cvss3: Types::Cvss3
2537
2544
  attr_accessor related_vulnerabilities: ::Array[::String]
2538
2545
  attr_accessor cvss2: Types::Cvss2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-inspector2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.56.0
4
+ version: 1.58.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services