aws-sdk-inspector2 1.57.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +3 -1
- data/lib/aws-sdk-inspector2/client_api.rb +12 -8
- data/lib/aws-sdk-inspector2/types.rb +29 -1
- data/lib/aws-sdk-inspector2.rb +1 -1
- data/sig/types.rbs +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3981cbfb6e8c8d49f7fb96a397d99d88399377b74659f70dc0921289a468752a
|
4
|
+
data.tar.gz: 18dc5ad18219bcedf170649f9d19ae5557affbb787e21cceee196e9b4c76f661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8913e699d5126ad33cae0ddc18a8038f0e2dbf1f4cfb525b2f23c74788acc3786515090bad34f4008fa6f9bd2b786f0e50241e7959a52d771a5e3bc0ce3c3325
|
7
|
+
data.tar.gz: ca8b4e225405ed904911e875d69ab970bbbf1263af7afe6d552d90cfa673ad9c501f6a68f353ba052ca2ab87a0279a1d381d5194639021490426a4d81c36959d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.58.0
|
@@ -5692,6 +5692,8 @@ module Aws::Inspector2
|
|
5692
5692
|
# resp.vulnerabilities[0].atig_data.ttps #=> Array
|
5693
5693
|
# resp.vulnerabilities[0].atig_data.ttps[0] #=> String
|
5694
5694
|
# resp.vulnerabilities[0].vendor_severity #=> String
|
5695
|
+
# resp.vulnerabilities[0].cvss4.base_score #=> Float
|
5696
|
+
# resp.vulnerabilities[0].cvss4.scoring_vector #=> String
|
5695
5697
|
# resp.vulnerabilities[0].cvss3.base_score #=> Float
|
5696
5698
|
# resp.vulnerabilities[0].cvss3.scoring_vector #=> String
|
5697
5699
|
# resp.vulnerabilities[0].related_vulnerabilities #=> Array
|
@@ -6801,7 +6803,7 @@ module Aws::Inspector2
|
|
6801
6803
|
tracer: tracer
|
6802
6804
|
)
|
6803
6805
|
context[:gem_name] = 'aws-sdk-inspector2'
|
6804
|
-
context[:gem_version] = '1.
|
6806
|
+
context[:gem_version] = '1.58.0'
|
6805
6807
|
Seahorse::Client::Request.new(handlers, context)
|
6806
6808
|
end
|
6807
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
|
-
|
253
|
-
|
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:
|
1485
|
-
Cvss2.add_member(:scoring_vector, Shapes::ShapeRef.new(shape:
|
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:
|
1489
|
-
Cvss3.add_member(:scoring_vector, Shapes::ShapeRef.new(shape:
|
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
|
-
# `
|
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,
|
data/lib/aws-sdk-inspector2.rb
CHANGED
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
|