aws-sdk-ecr 1.53.0 → 1.56.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +17 -6
- data/lib/aws-sdk-ecr/client_api.rb +2 -0
- data/lib/aws-sdk-ecr/types.rb +42 -14
- data/lib/aws-sdk-ecr.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9ac458fa259a808e501933d1efee7bad6c559f71ffe5e9a6cd396139bd2abf1
|
4
|
+
data.tar.gz: 47c99130518c10abe17c38935ce10740ea72b67fca93349d0260d40661854a72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be1f9f094351899da3ff1d6f77f20c08a8538d94b7bbdd82480f7f70b90b4cf7f24209fea5961bb82cc09be9b989e4d254fc0cc8828745e1c3d860331e6eaa4f
|
7
|
+
data.tar.gz: 7c0230d2a4ab14f6d243ebed8fa01040ccb1848eab75e5f6e922a764d2531819b89595e90a1fc6b57fe06488ee49ea46692c081620a9aaed3a1ccb83e0ff8195
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.56.0 (2022-03-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release includes a fix in the DescribeImageScanFindings paginated output.
|
8
|
+
|
9
|
+
1.55.0 (2022-03-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for tracking images lastRecordedPullTime.
|
13
|
+
|
14
|
+
1.54.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.53.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.56.0
|
data/lib/aws-sdk-ecr/client.rb
CHANGED
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::ECR
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -1377,6 +1379,7 @@ module Aws::ECR
|
|
1377
1379
|
# resp.image_details[0].image_scan_findings_summary.finding_severity_counts["FindingSeverity"] #=> Integer
|
1378
1380
|
# resp.image_details[0].image_manifest_media_type #=> String
|
1379
1381
|
# resp.image_details[0].artifact_media_type #=> String
|
1382
|
+
# resp.image_details[0].last_recorded_pull_time #=> Time
|
1380
1383
|
# resp.next_token #=> String
|
1381
1384
|
#
|
1382
1385
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImages AWS API Documentation
|
@@ -2191,6 +2194,10 @@ module Aws::ECR
|
|
2191
2194
|
req.send_request(options)
|
2192
2195
|
end
|
2193
2196
|
|
2197
|
+
# The `PutImageScanningConfiguration` API is being deprecated, in favor
|
2198
|
+
# of specifying the image scanning configuration at the registry level.
|
2199
|
+
# For more information, see PutRegistryScanningConfiguration.
|
2200
|
+
#
|
2194
2201
|
# Updates the image scanning configuration for the specified repository.
|
2195
2202
|
#
|
2196
2203
|
# @option params [String] :registry_id
|
@@ -2391,13 +2398,17 @@ module Aws::ECR
|
|
2391
2398
|
# @option params [String] :scan_type
|
2392
2399
|
# The scanning type to set for the registry.
|
2393
2400
|
#
|
2394
|
-
#
|
2395
|
-
#
|
2396
|
-
#
|
2397
|
-
#
|
2401
|
+
# When a registry scanning configuration is not defined, by default the
|
2402
|
+
# `BASIC` scan type is used. When basic scanning is used, you may
|
2403
|
+
# specify filters to determine which individual repositories, or all
|
2404
|
+
# repositories, are scanned when new images are pushed to those
|
2405
|
+
# repositories. Alternatively, you can do manual scans of images with
|
2406
|
+
# basic scanning.
|
2398
2407
|
#
|
2399
2408
|
# When the `ENHANCED` scan type is set, Amazon Inspector provides
|
2400
|
-
# automated
|
2409
|
+
# automated vulnerability scanning. You may choose between continuous
|
2410
|
+
# scanning or scan on push and you may specify filters to determine
|
2411
|
+
# which individual repositories, or all repositories, are scanned.
|
2401
2412
|
#
|
2402
2413
|
# @option params [Array<Types::RegistryScanningRule>] :rules
|
2403
2414
|
# The scanning rules to use for the registry. A scanning rule is used to
|
@@ -2824,7 +2835,7 @@ module Aws::ECR
|
|
2824
2835
|
params: params,
|
2825
2836
|
config: config)
|
2826
2837
|
context[:gem_name] = 'aws-sdk-ecr'
|
2827
|
-
context[:gem_version] = '1.
|
2838
|
+
context[:gem_version] = '1.56.0'
|
2828
2839
|
Seahorse::Client::Request.new(handlers, context)
|
2829
2840
|
end
|
2830
2841
|
|
@@ -209,6 +209,7 @@ module Aws::ECR
|
|
209
209
|
Reason = Shapes::StringShape.new(name: 'Reason')
|
210
210
|
Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
|
211
211
|
RecommendationText = Shapes::StringShape.new(name: 'RecommendationText')
|
212
|
+
RecordedPullTimestamp = Shapes::TimestampShape.new(name: 'RecordedPullTimestamp')
|
212
213
|
ReferenceUrlsList = Shapes::ListShape.new(name: 'ReferenceUrlsList')
|
213
214
|
ReferencedImagesNotFoundException = Shapes::StructureShape.new(name: 'ReferencedImagesNotFoundException')
|
214
215
|
Region = Shapes::StringShape.new(name: 'Region')
|
@@ -646,6 +647,7 @@ module Aws::ECR
|
|
646
647
|
ImageDetail.add_member(:image_scan_findings_summary, Shapes::ShapeRef.new(shape: ImageScanFindingsSummary, location_name: "imageScanFindingsSummary"))
|
647
648
|
ImageDetail.add_member(:image_manifest_media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "imageManifestMediaType"))
|
648
649
|
ImageDetail.add_member(:artifact_media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "artifactMediaType"))
|
650
|
+
ImageDetail.add_member(:last_recorded_pull_time, Shapes::ShapeRef.new(shape: RecordedPullTimestamp, location_name: "lastRecordedPullTime"))
|
649
651
|
ImageDetail.struct_class = Types::ImageDetail
|
650
652
|
|
651
653
|
ImageDetailList.member = Shapes::ShapeRef.new(shape: ImageDetail)
|
data/lib/aws-sdk-ecr/types.rb
CHANGED
@@ -1954,6 +1954,21 @@ module Aws::ECR
|
|
1954
1954
|
# The artifact media type of the image.
|
1955
1955
|
# @return [String]
|
1956
1956
|
#
|
1957
|
+
# @!attribute [rw] last_recorded_pull_time
|
1958
|
+
# The date and time, expressed in standard JavaScript date format,
|
1959
|
+
# when Amazon ECR recorded the last image pull.
|
1960
|
+
#
|
1961
|
+
# <note markdown="1"> Amazon ECR refreshes the last image pull timestamp at least once
|
1962
|
+
# every 24 hours. For example, if you pull an image once a day then
|
1963
|
+
# the `lastRecordedPullTime` timestamp will indicate the exact time
|
1964
|
+
# that the image was last pulled. However, if you pull an image once
|
1965
|
+
# an hour, because Amazon ECR refreshes the `lastRecordedPullTime`
|
1966
|
+
# timestamp at least once every 24 hours, the result may not be the
|
1967
|
+
# exact time that the image was last pulled.
|
1968
|
+
#
|
1969
|
+
# </note>
|
1970
|
+
# @return [Time]
|
1971
|
+
#
|
1957
1972
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageDetail AWS API Documentation
|
1958
1973
|
#
|
1959
1974
|
class ImageDetail < Struct.new(
|
@@ -1966,7 +1981,8 @@ module Aws::ECR
|
|
1966
1981
|
:image_scan_status,
|
1967
1982
|
:image_scan_findings_summary,
|
1968
1983
|
:image_manifest_media_type,
|
1969
|
-
:artifact_media_type
|
1984
|
+
:artifact_media_type,
|
1985
|
+
:last_recorded_pull_time)
|
1970
1986
|
SENSITIVE = []
|
1971
1987
|
include Aws::Structure
|
1972
1988
|
end
|
@@ -3208,14 +3224,17 @@ module Aws::ECR
|
|
3208
3224
|
# @!attribute [rw] scan_type
|
3209
3225
|
# The scanning type to set for the registry.
|
3210
3226
|
#
|
3211
|
-
#
|
3212
|
-
#
|
3213
|
-
#
|
3214
|
-
#
|
3215
|
-
#
|
3227
|
+
# When a registry scanning configuration is not defined, by default
|
3228
|
+
# the `BASIC` scan type is used. When basic scanning is used, you may
|
3229
|
+
# specify filters to determine which individual repositories, or all
|
3230
|
+
# repositories, are scanned when new images are pushed to those
|
3231
|
+
# repositories. Alternatively, you can do manual scans of images with
|
3232
|
+
# basic scanning.
|
3216
3233
|
#
|
3217
3234
|
# When the `ENHANCED` scan type is set, Amazon Inspector provides
|
3218
|
-
# automated
|
3235
|
+
# automated vulnerability scanning. You may choose between continuous
|
3236
|
+
# scanning or scan on push and you may specify filters to determine
|
3237
|
+
# which individual repositories, or all repositories, are scanned.
|
3219
3238
|
# @return [String]
|
3220
3239
|
#
|
3221
3240
|
# @!attribute [rw] rules
|
@@ -3375,6 +3394,10 @@ module Aws::ECR
|
|
3375
3394
|
#
|
3376
3395
|
# @!attribute [rw] scan_frequency
|
3377
3396
|
# The frequency that scans are performed at for a private registry.
|
3397
|
+
# When the `ENHANCED` scan type is specified, the supported scan
|
3398
|
+
# frequencies are `CONTINUOUS_SCAN` and `SCAN_ON_PUSH`. When the
|
3399
|
+
# `BASIC` scan type is specified, the `SCAN_ON_PUSH` and `MANUAL` scan
|
3400
|
+
# frequencies are supported.
|
3378
3401
|
# @return [String]
|
3379
3402
|
#
|
3380
3403
|
# @!attribute [rw] repository_filters
|
@@ -3786,7 +3809,13 @@ module Aws::ECR
|
|
3786
3809
|
include Aws::Structure
|
3787
3810
|
end
|
3788
3811
|
|
3789
|
-
# The details of a scanning repository filter.
|
3812
|
+
# The details of a scanning repository filter. For more information on
|
3813
|
+
# how to use filters, see [Using filters][1] in the *Amazon Elastic
|
3814
|
+
# Container Registry User Guide*.
|
3815
|
+
#
|
3816
|
+
#
|
3817
|
+
#
|
3818
|
+
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html#image-scanning-filters
|
3790
3819
|
#
|
3791
3820
|
# @note When making an API call, you may pass ScanningRepositoryFilter
|
3792
3821
|
# data as a hash:
|
@@ -4038,10 +4067,10 @@ module Aws::ECR
|
|
4038
4067
|
include Aws::Structure
|
4039
4068
|
end
|
4040
4069
|
|
4041
|
-
# The metadata
|
4042
|
-
# organize them. Each tag consists of a key and
|
4043
|
-
#
|
4044
|
-
#
|
4070
|
+
# The metadata to apply to a resource to help you categorize and
|
4071
|
+
# organize them. Each tag consists of a key and a value, both of which
|
4072
|
+
# you define. Tag keys can have a maximum character length of 128
|
4073
|
+
# characters, and tag values can have a maximum length of 256
|
4045
4074
|
# characters.
|
4046
4075
|
#
|
4047
4076
|
# @note When making an API call, you may pass Tag
|
@@ -4059,8 +4088,7 @@ module Aws::ECR
|
|
4059
4088
|
# @return [String]
|
4060
4089
|
#
|
4061
4090
|
# @!attribute [rw] value
|
4062
|
-
#
|
4063
|
-
# acts as a descriptor within a tag category (key).
|
4091
|
+
# A `value` acts as a descriptor within a tag category (key).
|
4064
4092
|
# @return [String]
|
4065
4093
|
#
|
4066
4094
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Tag AWS API Documentation
|
data/lib/aws-sdk-ecr.rb
CHANGED
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.56.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: 2022-
|
11
|
+
date: 2022-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|