aws-sdk-ecr 1.83.0 → 1.84.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-ecr/client.rb +4 -1
- data/lib/aws-sdk-ecr/client_api.rb +6 -0
- data/lib/aws-sdk-ecr/types.rb +27 -8
- data/lib/aws-sdk-ecr.rb +1 -1
- data/sig/types.rbs +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffbf440b08b6aa3f55e75b979051656fac4e64b324e1a117d85cb46c17364cad
|
4
|
+
data.tar.gz: d26247b1fa9770e01d7bb7979691db1cd14286352e01e4aeb593107446dac2c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2be35ed0a11c6ba26fc19e1ccafb76f27cc0d34a837a97770f98db2948cf8a1318797b5639b6561ef7ddae46e03b6443caf9fcfa8f3ff7d494cb790c803d62a
|
7
|
+
data.tar.gz: a4f2fb8c66cdfdd5566cd0b1981e15906943f48bad1af1b41b95213acb6b9456e362483750d12774564faf79e18e3d0bdaba313b9af12dc36247750634a2bd96
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.84.0 (2024-09-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - The `DescribeImageScanning` API now includes `fixAvailable`, `exploitAvailable`, and `fixedInVersion` fields to provide more detailed information about the availability of fixes, exploits, and fixed versions for identified image vulnerabilities.
|
8
|
+
|
4
9
|
1.83.0 (2024-09-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.84.0
|
data/lib/aws-sdk-ecr/client.rb
CHANGED
@@ -1623,6 +1623,7 @@ module Aws::ECR
|
|
1623
1623
|
# resp.image_scan_findings.enhanced_findings[0].package_vulnerability_details.vulnerable_packages[0].release #=> String
|
1624
1624
|
# resp.image_scan_findings.enhanced_findings[0].package_vulnerability_details.vulnerable_packages[0].source_layer_hash #=> String
|
1625
1625
|
# resp.image_scan_findings.enhanced_findings[0].package_vulnerability_details.vulnerable_packages[0].version #=> String
|
1626
|
+
# resp.image_scan_findings.enhanced_findings[0].package_vulnerability_details.vulnerable_packages[0].fixed_in_version #=> String
|
1626
1627
|
# resp.image_scan_findings.enhanced_findings[0].remediation.recommendation.url #=> String
|
1627
1628
|
# resp.image_scan_findings.enhanced_findings[0].remediation.recommendation.text #=> String
|
1628
1629
|
# resp.image_scan_findings.enhanced_findings[0].resources #=> Array
|
@@ -1652,6 +1653,8 @@ module Aws::ECR
|
|
1652
1653
|
# resp.image_scan_findings.enhanced_findings[0].title #=> String
|
1653
1654
|
# resp.image_scan_findings.enhanced_findings[0].type #=> String
|
1654
1655
|
# resp.image_scan_findings.enhanced_findings[0].updated_at #=> Time
|
1656
|
+
# resp.image_scan_findings.enhanced_findings[0].fix_available #=> String
|
1657
|
+
# resp.image_scan_findings.enhanced_findings[0].exploit_available #=> String
|
1655
1658
|
# resp.next_token #=> String
|
1656
1659
|
#
|
1657
1660
|
#
|
@@ -3666,7 +3669,7 @@ module Aws::ECR
|
|
3666
3669
|
tracer: tracer
|
3667
3670
|
)
|
3668
3671
|
context[:gem_name] = 'aws-sdk-ecr'
|
3669
|
-
context[:gem_version] = '1.
|
3672
|
+
context[:gem_version] = '1.84.0'
|
3670
3673
|
Seahorse::Client::Request.new(handlers, context)
|
3671
3674
|
end
|
3672
3675
|
|
@@ -91,12 +91,15 @@ module Aws::ECR
|
|
91
91
|
EvaluationTimestamp = Shapes::TimestampShape.new(name: 'EvaluationTimestamp')
|
92
92
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
93
93
|
ExpirationTimestamp = Shapes::TimestampShape.new(name: 'ExpirationTimestamp')
|
94
|
+
ExploitAvailable = Shapes::StringShape.new(name: 'ExploitAvailable')
|
94
95
|
FilePath = Shapes::StringShape.new(name: 'FilePath')
|
95
96
|
FindingArn = Shapes::StringShape.new(name: 'FindingArn')
|
96
97
|
FindingDescription = Shapes::StringShape.new(name: 'FindingDescription')
|
97
98
|
FindingName = Shapes::StringShape.new(name: 'FindingName')
|
98
99
|
FindingSeverity = Shapes::StringShape.new(name: 'FindingSeverity')
|
99
100
|
FindingSeverityCounts = Shapes::MapShape.new(name: 'FindingSeverityCounts')
|
101
|
+
FixAvailable = Shapes::StringShape.new(name: 'FixAvailable')
|
102
|
+
FixedInVersion = Shapes::StringShape.new(name: 'FixedInVersion')
|
100
103
|
ForceFlag = Shapes::BooleanShape.new(name: 'ForceFlag')
|
101
104
|
GetAccountSettingRequest = Shapes::StructureShape.new(name: 'GetAccountSettingRequest')
|
102
105
|
GetAccountSettingResponse = Shapes::StructureShape.new(name: 'GetAccountSettingResponse')
|
@@ -637,6 +640,8 @@ module Aws::ECR
|
|
637
640
|
EnhancedImageScanFinding.add_member(:title, Shapes::ShapeRef.new(shape: Title, location_name: "title"))
|
638
641
|
EnhancedImageScanFinding.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
|
639
642
|
EnhancedImageScanFinding.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, location_name: "updatedAt"))
|
643
|
+
EnhancedImageScanFinding.add_member(:fix_available, Shapes::ShapeRef.new(shape: FixAvailable, location_name: "fixAvailable"))
|
644
|
+
EnhancedImageScanFinding.add_member(:exploit_available, Shapes::ShapeRef.new(shape: ExploitAvailable, location_name: "exploitAvailable"))
|
640
645
|
EnhancedImageScanFinding.struct_class = Types::EnhancedImageScanFinding
|
641
646
|
|
642
647
|
EnhancedImageScanFindingList.member = Shapes::ShapeRef.new(shape: EnhancedImageScanFinding)
|
@@ -1303,6 +1308,7 @@ module Aws::ECR
|
|
1303
1308
|
VulnerablePackage.add_member(:release, Shapes::ShapeRef.new(shape: Release, location_name: "release"))
|
1304
1309
|
VulnerablePackage.add_member(:source_layer_hash, Shapes::ShapeRef.new(shape: SourceLayerHash, location_name: "sourceLayerHash"))
|
1305
1310
|
VulnerablePackage.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
1311
|
+
VulnerablePackage.add_member(:fixed_in_version, Shapes::ShapeRef.new(shape: FixedInVersion, location_name: "fixedInVersion"))
|
1306
1312
|
VulnerablePackage.struct_class = Types::VulnerablePackage
|
1307
1313
|
|
1308
1314
|
VulnerablePackagesList.member = Shapes::ShapeRef.new(shape: VulnerablePackage)
|
data/lib/aws-sdk-ecr/types.rb
CHANGED
@@ -1432,20 +1432,20 @@ module Aws::ECR
|
|
1432
1432
|
# If you use the `KMS_DSSE` encryption type, the contents of the
|
1433
1433
|
# repository will be encrypted with two layers of encryption using
|
1434
1434
|
# server-side encryption with the KMS Management Service key stored in
|
1435
|
-
# KMS. Similar to the KMS encryption type, you can either use the
|
1435
|
+
# KMS. Similar to the `KMS` encryption type, you can either use the
|
1436
1436
|
# default Amazon Web Services managed KMS key for Amazon ECR, or
|
1437
1437
|
# specify your own KMS key, which you've already created.
|
1438
1438
|
#
|
1439
1439
|
# If you use the `AES256` encryption type, Amazon ECR uses server-side
|
1440
1440
|
# encryption with Amazon S3-managed encryption keys which encrypts the
|
1441
|
-
# images in the repository using an AES256 encryption algorithm.
|
1442
|
-
#
|
1443
|
-
#
|
1444
|
-
#
|
1441
|
+
# images in the repository using an AES256 encryption algorithm.
|
1442
|
+
#
|
1443
|
+
# For more information, see [Amazon ECR encryption at rest][1] in the
|
1444
|
+
# *Amazon Elastic Container Registry User Guide*.
|
1445
1445
|
#
|
1446
1446
|
#
|
1447
1447
|
#
|
1448
|
-
# [1]: https://docs.aws.amazon.com/
|
1448
|
+
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html
|
1449
1449
|
# @return [String]
|
1450
1450
|
#
|
1451
1451
|
# @!attribute [rw] kms_key
|
@@ -1576,6 +1576,18 @@ module Aws::ECR
|
|
1576
1576
|
# The date and time the finding was last updated at.
|
1577
1577
|
# @return [Time]
|
1578
1578
|
#
|
1579
|
+
# @!attribute [rw] fix_available
|
1580
|
+
# Details on whether a fix is available through a version update. This
|
1581
|
+
# value can be `YES`, `NO`, or `PARTIAL`. A `PARTIAL` fix means that
|
1582
|
+
# some, but not all, of the packages identified in the finding have
|
1583
|
+
# fixes available through updated versions.
|
1584
|
+
# @return [String]
|
1585
|
+
#
|
1586
|
+
# @!attribute [rw] exploit_available
|
1587
|
+
# If a finding discovered in your environment has an exploit
|
1588
|
+
# available.
|
1589
|
+
# @return [String]
|
1590
|
+
#
|
1579
1591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/EnhancedImageScanFinding AWS API Documentation
|
1580
1592
|
#
|
1581
1593
|
class EnhancedImageScanFinding < Struct.new(
|
@@ -1593,7 +1605,9 @@ module Aws::ECR
|
|
1593
1605
|
:status,
|
1594
1606
|
:title,
|
1595
1607
|
:type,
|
1596
|
-
:updated_at
|
1608
|
+
:updated_at,
|
1609
|
+
:fix_available,
|
1610
|
+
:exploit_available)
|
1597
1611
|
SENSITIVE = []
|
1598
1612
|
include Aws::Structure
|
1599
1613
|
end
|
@@ -4605,6 +4619,10 @@ module Aws::ECR
|
|
4605
4619
|
# The version of the vulnerable package.
|
4606
4620
|
# @return [String]
|
4607
4621
|
#
|
4622
|
+
# @!attribute [rw] fixed_in_version
|
4623
|
+
# The version of the package that contains the vulnerability fix.
|
4624
|
+
# @return [String]
|
4625
|
+
#
|
4608
4626
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/VulnerablePackage AWS API Documentation
|
4609
4627
|
#
|
4610
4628
|
class VulnerablePackage < Struct.new(
|
@@ -4615,7 +4633,8 @@ module Aws::ECR
|
|
4615
4633
|
:package_manager,
|
4616
4634
|
:release,
|
4617
4635
|
:source_layer_hash,
|
4618
|
-
:version
|
4636
|
+
:version,
|
4637
|
+
:fixed_in_version)
|
4619
4638
|
SENSITIVE = []
|
4620
4639
|
include Aws::Structure
|
4621
4640
|
end
|
data/lib/aws-sdk-ecr.rb
CHANGED
data/sig/types.rbs
CHANGED
@@ -388,6 +388,8 @@ module Aws::ECR
|
|
388
388
|
attr_accessor title: ::String
|
389
389
|
attr_accessor type: ::String
|
390
390
|
attr_accessor updated_at: ::Time
|
391
|
+
attr_accessor fix_available: ::String
|
392
|
+
attr_accessor exploit_available: ::String
|
391
393
|
SENSITIVE: []
|
392
394
|
end
|
393
395
|
|
@@ -1238,6 +1240,7 @@ module Aws::ECR
|
|
1238
1240
|
attr_accessor release: ::String
|
1239
1241
|
attr_accessor source_layer_hash: ::String
|
1240
1242
|
attr_accessor version: ::String
|
1243
|
+
attr_accessor fixed_in_version: ::String
|
1241
1244
|
SENSITIVE: []
|
1242
1245
|
end
|
1243
1246
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ecr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.84.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|