aws-sdk-inspector2 1.51.0 → 1.53.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +161 -2
- data/lib/aws-sdk-inspector2/client_api.rb +110 -0
- data/lib/aws-sdk-inspector2/types.rb +292 -0
- data/lib/aws-sdk-inspector2.rb +1 -1
- data/sig/client.rbs +100 -0
- data/sig/types.rbs +85 -1
- metadata +4 -4
@@ -539,6 +539,16 @@ module Aws::Inspector2
|
|
539
539
|
# The image tags.
|
540
540
|
# @return [Array<Types::StringFilter>]
|
541
541
|
#
|
542
|
+
# @!attribute [rw] in_use_count
|
543
|
+
# The number of Amazon ECS tasks or Amazon EKS pods where the Amazon
|
544
|
+
# ECR container image is in use.
|
545
|
+
# @return [Array<Types::NumberFilter>]
|
546
|
+
#
|
547
|
+
# @!attribute [rw] last_in_use_at
|
548
|
+
# The last time an Amazon ECR image was used in an Amazon ECS task or
|
549
|
+
# Amazon EKS pod.
|
550
|
+
# @return [Array<Types::DateFilter>]
|
551
|
+
#
|
542
552
|
# @!attribute [rw] repositories
|
543
553
|
# The container repositories.
|
544
554
|
# @return [Array<Types::StringFilter>]
|
@@ -561,6 +571,8 @@ module Aws::Inspector2
|
|
561
571
|
:architectures,
|
562
572
|
:image_shas,
|
563
573
|
:image_tags,
|
574
|
+
:in_use_count,
|
575
|
+
:last_in_use_at,
|
564
576
|
:repositories,
|
565
577
|
:resource_ids,
|
566
578
|
:sort_by,
|
@@ -588,6 +600,16 @@ module Aws::Inspector2
|
|
588
600
|
# The container image stags.
|
589
601
|
# @return [Array<String>]
|
590
602
|
#
|
603
|
+
# @!attribute [rw] in_use_count
|
604
|
+
# The number of Amazon ECS tasks or Amazon EKS pods where the Amazon
|
605
|
+
# ECR container image is in use.
|
606
|
+
# @return [Integer]
|
607
|
+
#
|
608
|
+
# @!attribute [rw] last_in_use_at
|
609
|
+
# The last time an Amazon ECR image was used in an Amazon ECS task or
|
610
|
+
# Amazon EKS pod.
|
611
|
+
# @return [Time]
|
612
|
+
#
|
591
613
|
# @!attribute [rw] repository
|
592
614
|
# The container repository.
|
593
615
|
# @return [String]
|
@@ -607,6 +629,8 @@ module Aws::Inspector2
|
|
607
629
|
:architecture,
|
608
630
|
:image_sha,
|
609
631
|
:image_tags,
|
632
|
+
:in_use_count,
|
633
|
+
:last_in_use_at,
|
610
634
|
:repository,
|
611
635
|
:resource_id,
|
612
636
|
:severity_counts)
|
@@ -632,6 +656,16 @@ module Aws::Inspector2
|
|
632
656
|
# The image tags attached to the Amazon ECR container image.
|
633
657
|
# @return [Array<String>]
|
634
658
|
#
|
659
|
+
# @!attribute [rw] in_use_count
|
660
|
+
# The number of Amazon ECS tasks or Amazon EKS pods where the Amazon
|
661
|
+
# ECR container image is in use.
|
662
|
+
# @return [Integer]
|
663
|
+
#
|
664
|
+
# @!attribute [rw] last_in_use_at
|
665
|
+
# The last time an Amazon ECR image was used in an Amazon ECS task or
|
666
|
+
# Amazon EKS pod.
|
667
|
+
# @return [Time]
|
668
|
+
#
|
635
669
|
# @!attribute [rw] platform
|
636
670
|
# The platform of the Amazon ECR container image.
|
637
671
|
# @return [String]
|
@@ -656,6 +690,8 @@ module Aws::Inspector2
|
|
656
690
|
:author,
|
657
691
|
:image_hash,
|
658
692
|
:image_tags,
|
693
|
+
:in_use_count,
|
694
|
+
:last_in_use_at,
|
659
695
|
:platform,
|
660
696
|
:pushed_at,
|
661
697
|
:registry,
|
@@ -664,6 +700,64 @@ module Aws::Inspector2
|
|
664
700
|
include Aws::Structure
|
665
701
|
end
|
666
702
|
|
703
|
+
# Metadata about tasks where an image was in use.
|
704
|
+
#
|
705
|
+
# @!attribute [rw] details_group
|
706
|
+
# The details group information for a task in a cluster.
|
707
|
+
# @return [String]
|
708
|
+
#
|
709
|
+
# @!attribute [rw] task_definition_arn
|
710
|
+
# The task definition ARN.
|
711
|
+
# @return [String]
|
712
|
+
#
|
713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AwsEcsMetadataDetails AWS API Documentation
|
714
|
+
#
|
715
|
+
class AwsEcsMetadataDetails < Struct.new(
|
716
|
+
:details_group,
|
717
|
+
:task_definition_arn)
|
718
|
+
SENSITIVE = []
|
719
|
+
include Aws::Structure
|
720
|
+
end
|
721
|
+
|
722
|
+
# The metadata for an Amazon EKS pod where an Amazon ECR image is in
|
723
|
+
# use.
|
724
|
+
#
|
725
|
+
# @!attribute [rw] namespace
|
726
|
+
# The namespace for an Amazon EKS cluster.
|
727
|
+
# @return [String]
|
728
|
+
#
|
729
|
+
# @!attribute [rw] workload_info_list
|
730
|
+
# The list of workloads.
|
731
|
+
# @return [Array<Types::AwsEksWorkloadInfo>]
|
732
|
+
#
|
733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AwsEksMetadataDetails AWS API Documentation
|
734
|
+
#
|
735
|
+
class AwsEksMetadataDetails < Struct.new(
|
736
|
+
:namespace,
|
737
|
+
:workload_info_list)
|
738
|
+
SENSITIVE = []
|
739
|
+
include Aws::Structure
|
740
|
+
end
|
741
|
+
|
742
|
+
# Information about the workload.
|
743
|
+
#
|
744
|
+
# @!attribute [rw] name
|
745
|
+
# The name of the workload.
|
746
|
+
# @return [String]
|
747
|
+
#
|
748
|
+
# @!attribute [rw] type
|
749
|
+
# The workload type.
|
750
|
+
# @return [String]
|
751
|
+
#
|
752
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AwsEksWorkloadInfo AWS API Documentation
|
753
|
+
#
|
754
|
+
class AwsEksWorkloadInfo < Struct.new(
|
755
|
+
:name,
|
756
|
+
:type)
|
757
|
+
SENSITIVE = []
|
758
|
+
include Aws::Structure
|
759
|
+
end
|
760
|
+
|
667
761
|
# A summary of information about the Amazon Web Services Lambda
|
668
762
|
# function.
|
669
763
|
#
|
@@ -1633,6 +1727,98 @@ module Aws::Inspector2
|
|
1633
1727
|
include Aws::Structure
|
1634
1728
|
end
|
1635
1729
|
|
1730
|
+
# Details about the task or pod in the cluster.
|
1731
|
+
#
|
1732
|
+
# @!attribute [rw] cluster_metadata
|
1733
|
+
# The metadata for a cluster.
|
1734
|
+
# @return [Types::ClusterMetadata]
|
1735
|
+
#
|
1736
|
+
# @!attribute [rw] last_in_use
|
1737
|
+
# The last timestamp when Amazon Inspector recorded the image in use
|
1738
|
+
# in the task or pod in the cluster.
|
1739
|
+
# @return [Time]
|
1740
|
+
#
|
1741
|
+
# @!attribute [rw] running_unit_count
|
1742
|
+
# The number of tasks or pods where an image was running on the
|
1743
|
+
# cluster.
|
1744
|
+
# @return [Integer]
|
1745
|
+
#
|
1746
|
+
# @!attribute [rw] stopped_unit_count
|
1747
|
+
# The number of tasks or pods where an image was stopped on the
|
1748
|
+
# cluster in the last 24 hours.
|
1749
|
+
# @return [Integer]
|
1750
|
+
#
|
1751
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ClusterDetails AWS API Documentation
|
1752
|
+
#
|
1753
|
+
class ClusterDetails < Struct.new(
|
1754
|
+
:cluster_metadata,
|
1755
|
+
:last_in_use,
|
1756
|
+
:running_unit_count,
|
1757
|
+
:stopped_unit_count)
|
1758
|
+
SENSITIVE = []
|
1759
|
+
include Aws::Structure
|
1760
|
+
end
|
1761
|
+
|
1762
|
+
# The filter criteria to be used.
|
1763
|
+
#
|
1764
|
+
# @!attribute [rw] resource_id
|
1765
|
+
# The resource Id to be used in the filter criteria.
|
1766
|
+
# @return [String]
|
1767
|
+
#
|
1768
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ClusterForImageFilterCriteria AWS API Documentation
|
1769
|
+
#
|
1770
|
+
class ClusterForImageFilterCriteria < Struct.new(
|
1771
|
+
:resource_id)
|
1772
|
+
SENSITIVE = []
|
1773
|
+
include Aws::Structure
|
1774
|
+
end
|
1775
|
+
|
1776
|
+
# Information about the cluster.
|
1777
|
+
#
|
1778
|
+
# @!attribute [rw] cluster_arn
|
1779
|
+
# The cluster ARN.
|
1780
|
+
# @return [String]
|
1781
|
+
#
|
1782
|
+
# @!attribute [rw] cluster_details
|
1783
|
+
# Details about the cluster.
|
1784
|
+
# @return [Array<Types::ClusterDetails>]
|
1785
|
+
#
|
1786
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ClusterInformation AWS API Documentation
|
1787
|
+
#
|
1788
|
+
class ClusterInformation < Struct.new(
|
1789
|
+
:cluster_arn,
|
1790
|
+
:cluster_details)
|
1791
|
+
SENSITIVE = []
|
1792
|
+
include Aws::Structure
|
1793
|
+
end
|
1794
|
+
|
1795
|
+
# The metadata for a cluster.
|
1796
|
+
#
|
1797
|
+
# @note ClusterMetadata is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ClusterMetadata corresponding to the set member.
|
1798
|
+
#
|
1799
|
+
# @!attribute [rw] aws_ecs_metadata_details
|
1800
|
+
# The details for an Amazon ECS cluster in the cluster metadata.
|
1801
|
+
# @return [Types::AwsEcsMetadataDetails]
|
1802
|
+
#
|
1803
|
+
# @!attribute [rw] aws_eks_metadata_details
|
1804
|
+
# The details for an Amazon EKS cluster in the cluster metadata.
|
1805
|
+
# @return [Types::AwsEksMetadataDetails]
|
1806
|
+
#
|
1807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ClusterMetadata AWS API Documentation
|
1808
|
+
#
|
1809
|
+
class ClusterMetadata < Struct.new(
|
1810
|
+
:aws_ecs_metadata_details,
|
1811
|
+
:aws_eks_metadata_details,
|
1812
|
+
:unknown)
|
1813
|
+
SENSITIVE = []
|
1814
|
+
include Aws::Structure
|
1815
|
+
include Aws::Structure::Union
|
1816
|
+
|
1817
|
+
class AwsEcsMetadataDetails < ClusterMetadata; end
|
1818
|
+
class AwsEksMetadataDetails < ClusterMetadata; end
|
1819
|
+
class Unknown < ClusterMetadata; end
|
1820
|
+
end
|
1821
|
+
|
1636
1822
|
# Contains information on where a code vulnerability is located in your
|
1637
1823
|
# Lambda function.
|
1638
1824
|
#
|
@@ -1923,6 +2109,14 @@ module Aws::Inspector2
|
|
1923
2109
|
# The Amazon EC2 instance tags to filter on.
|
1924
2110
|
# @return [Array<Types::CoverageMapFilter>]
|
1925
2111
|
#
|
2112
|
+
# @!attribute [rw] ecr_image_in_use_count
|
2113
|
+
# The number of Amazon ECR images in use.
|
2114
|
+
# @return [Array<Types::CoverageNumberFilter>]
|
2115
|
+
#
|
2116
|
+
# @!attribute [rw] ecr_image_last_in_use_at
|
2117
|
+
# The Amazon ECR image that was last in use.
|
2118
|
+
# @return [Array<Types::CoverageDateFilter>]
|
2119
|
+
#
|
1926
2120
|
# @!attribute [rw] ecr_image_tags
|
1927
2121
|
# The Amazon ECR image tags to filter on.
|
1928
2122
|
# @return [Array<Types::CoverageStringFilter>]
|
@@ -1994,6 +2188,8 @@ module Aws::Inspector2
|
|
1994
2188
|
class CoverageFilterCriteria < Struct.new(
|
1995
2189
|
:account_id,
|
1996
2190
|
:ec2_instance_tags,
|
2191
|
+
:ecr_image_in_use_count,
|
2192
|
+
:ecr_image_last_in_use_at,
|
1997
2193
|
:ecr_image_tags,
|
1998
2194
|
:ecr_repository_name,
|
1999
2195
|
:image_pulled_at,
|
@@ -2035,6 +2231,25 @@ module Aws::Inspector2
|
|
2035
2231
|
include Aws::Structure
|
2036
2232
|
end
|
2037
2233
|
|
2234
|
+
# The coverage number to be used in the filter.
|
2235
|
+
#
|
2236
|
+
# @!attribute [rw] lower_inclusive
|
2237
|
+
# The lower inclusive for the coverage number.
|
2238
|
+
# @return [Integer]
|
2239
|
+
#
|
2240
|
+
# @!attribute [rw] upper_inclusive
|
2241
|
+
# The upper inclusive for the coverage number.>
|
2242
|
+
# @return [Integer]
|
2243
|
+
#
|
2244
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CoverageNumberFilter AWS API Documentation
|
2245
|
+
#
|
2246
|
+
class CoverageNumberFilter < Struct.new(
|
2247
|
+
:lower_inclusive,
|
2248
|
+
:upper_inclusive)
|
2249
|
+
SENSITIVE = []
|
2250
|
+
include Aws::Structure
|
2251
|
+
end
|
2252
|
+
|
2038
2253
|
# Contains details of a coverage string filter.
|
2039
2254
|
#
|
2040
2255
|
# @!attribute [rw] comparison
|
@@ -2851,6 +3066,10 @@ module Aws::Inspector2
|
|
2851
3066
|
# The rescan duration configured for image pull date.
|
2852
3067
|
# @return [String]
|
2853
3068
|
#
|
3069
|
+
# @!attribute [rw] pull_date_rescan_mode
|
3070
|
+
# The pull date for the re-scan mode.
|
3071
|
+
# @return [String]
|
3072
|
+
#
|
2854
3073
|
# @!attribute [rw] rescan_duration
|
2855
3074
|
# The rescan duration configured for image push date.
|
2856
3075
|
# @return [String]
|
@@ -2859,6 +3078,7 @@ module Aws::Inspector2
|
|
2859
3078
|
#
|
2860
3079
|
class EcrConfiguration < Struct.new(
|
2861
3080
|
:pull_date_rescan_duration,
|
3081
|
+
:pull_date_rescan_mode,
|
2862
3082
|
:rescan_duration)
|
2863
3083
|
SENSITIVE = []
|
2864
3084
|
include Aws::Structure
|
@@ -2886,6 +3106,16 @@ module Aws::Inspector2
|
|
2886
3106
|
# The date an image was last pulled at.
|
2887
3107
|
# @return [Time]
|
2888
3108
|
#
|
3109
|
+
# @!attribute [rw] in_use_count
|
3110
|
+
# The number of Amazon ECS tasks or Amazon EKS pods where the Amazon
|
3111
|
+
# ECR container image is in use.
|
3112
|
+
# @return [Integer]
|
3113
|
+
#
|
3114
|
+
# @!attribute [rw] last_in_use_at
|
3115
|
+
# The last time an Amazon ECR image was used in an Amazon ECS task or
|
3116
|
+
# Amazon EKS pod.
|
3117
|
+
# @return [Time]
|
3118
|
+
#
|
2889
3119
|
# @!attribute [rw] tags
|
2890
3120
|
# Tags associated with the Amazon ECR image metadata.
|
2891
3121
|
# @return [Array<String>]
|
@@ -2894,6 +3124,8 @@ module Aws::Inspector2
|
|
2894
3124
|
#
|
2895
3125
|
class EcrContainerImageMetadata < Struct.new(
|
2896
3126
|
:image_pulled_at,
|
3127
|
+
:in_use_count,
|
3128
|
+
:last_in_use_at,
|
2897
3129
|
:tags)
|
2898
3130
|
SENSITIVE = []
|
2899
3131
|
include Aws::Structure
|
@@ -2931,6 +3163,10 @@ module Aws::Inspector2
|
|
2931
3163
|
# The rescan duration configured for image pull date.
|
2932
3164
|
# @return [String]
|
2933
3165
|
#
|
3166
|
+
# @!attribute [rw] pull_date_rescan_mode
|
3167
|
+
# The pull date for the re-scan mode.
|
3168
|
+
# @return [String]
|
3169
|
+
#
|
2934
3170
|
# @!attribute [rw] rescan_duration
|
2935
3171
|
# The rescan duration configured for image push date. </p>
|
2936
3172
|
# @return [String]
|
@@ -2948,6 +3184,7 @@ module Aws::Inspector2
|
|
2948
3184
|
#
|
2949
3185
|
class EcrRescanDurationState < Struct.new(
|
2950
3186
|
:pull_date_rescan_duration,
|
3187
|
+
:pull_date_rescan_mode,
|
2951
3188
|
:rescan_duration,
|
2952
3189
|
:status,
|
2953
3190
|
:updated_at)
|
@@ -3309,6 +3546,16 @@ module Aws::Inspector2
|
|
3309
3546
|
# Details of the Amazon ECR image hashes used to filter findings.
|
3310
3547
|
# @return [Array<Types::StringFilter>]
|
3311
3548
|
#
|
3549
|
+
# @!attribute [rw] ecr_image_in_use_count
|
3550
|
+
# Filter criteria indicating when details for an Amazon ECR image
|
3551
|
+
# include when an Amazon ECR image is in use.
|
3552
|
+
# @return [Array<Types::NumberFilter>]
|
3553
|
+
#
|
3554
|
+
# @!attribute [rw] ecr_image_last_in_use_at
|
3555
|
+
# Filter criteria indicating when an Amazon ECR image was last used in
|
3556
|
+
# an Amazon ECS cluster task or Amazon EKS cluster pod.
|
3557
|
+
# @return [Array<Types::DateFilter>]
|
3558
|
+
#
|
3312
3559
|
# @!attribute [rw] ecr_image_pushed_at
|
3313
3560
|
# Details on the Amazon ECR image push date and time used to filter
|
3314
3561
|
# findings.
|
@@ -3471,6 +3718,8 @@ module Aws::Inspector2
|
|
3471
3718
|
:ec2_instance_vpc_id,
|
3472
3719
|
:ecr_image_architecture,
|
3473
3720
|
:ecr_image_hash,
|
3721
|
+
:ecr_image_in_use_count,
|
3722
|
+
:ecr_image_last_in_use_at,
|
3474
3723
|
:ecr_image_pushed_at,
|
3475
3724
|
:ecr_image_registry,
|
3476
3725
|
:ecr_image_repository_name,
|
@@ -3983,6 +4232,49 @@ module Aws::Inspector2
|
|
3983
4232
|
include Aws::Structure
|
3984
4233
|
end
|
3985
4234
|
|
4235
|
+
# @!attribute [rw] filter
|
4236
|
+
# The resource Id for the Amazon ECR image.
|
4237
|
+
# @return [Types::ClusterForImageFilterCriteria]
|
4238
|
+
#
|
4239
|
+
# @!attribute [rw] max_results
|
4240
|
+
# The maximum number of results to be returned in a single page of
|
4241
|
+
# results.
|
4242
|
+
# @return [Integer]
|
4243
|
+
#
|
4244
|
+
# @!attribute [rw] next_token
|
4245
|
+
# The pagination token from a previous request used to retrieve the
|
4246
|
+
# next page of results.
|
4247
|
+
# @return [String]
|
4248
|
+
#
|
4249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetClustersForImageRequest AWS API Documentation
|
4250
|
+
#
|
4251
|
+
class GetClustersForImageRequest < Struct.new(
|
4252
|
+
:filter,
|
4253
|
+
:max_results,
|
4254
|
+
:next_token)
|
4255
|
+
SENSITIVE = []
|
4256
|
+
include Aws::Structure
|
4257
|
+
end
|
4258
|
+
|
4259
|
+
# @!attribute [rw] cluster
|
4260
|
+
# A unit of work inside of a cluster, which can include metadata about
|
4261
|
+
# the cluster.
|
4262
|
+
# @return [Array<Types::ClusterInformation>]
|
4263
|
+
#
|
4264
|
+
# @!attribute [rw] next_token
|
4265
|
+
# The pagination token from a previous request used to retrieve the
|
4266
|
+
# next page of results.
|
4267
|
+
# @return [String]
|
4268
|
+
#
|
4269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetClustersForImageResponse AWS API Documentation
|
4270
|
+
#
|
4271
|
+
class GetClustersForImageResponse < Struct.new(
|
4272
|
+
:cluster,
|
4273
|
+
:next_token)
|
4274
|
+
SENSITIVE = []
|
4275
|
+
include Aws::Structure
|
4276
|
+
end
|
4277
|
+
|
3986
4278
|
# @api private
|
3987
4279
|
#
|
3988
4280
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfigurationRequest AWS API Documentation
|
data/lib/aws-sdk-inspector2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -293,6 +293,18 @@ module Aws
|
|
293
293
|
value: ::String
|
294
294
|
},
|
295
295
|
]?,
|
296
|
+
ecr_image_in_use_count: Array[
|
297
|
+
{
|
298
|
+
lower_inclusive: ::Float?,
|
299
|
+
upper_inclusive: ::Float?
|
300
|
+
},
|
301
|
+
]?,
|
302
|
+
ecr_image_last_in_use_at: Array[
|
303
|
+
{
|
304
|
+
end_inclusive: ::Time?,
|
305
|
+
start_inclusive: ::Time?
|
306
|
+
},
|
307
|
+
]?,
|
296
308
|
ecr_image_pushed_at: Array[
|
297
309
|
{
|
298
310
|
end_inclusive: ::Time?,
|
@@ -590,6 +602,18 @@ module Aws
|
|
590
602
|
value: ::String
|
591
603
|
},
|
592
604
|
]?,
|
605
|
+
ecr_image_in_use_count: Array[
|
606
|
+
{
|
607
|
+
lower_inclusive: ::Float?,
|
608
|
+
upper_inclusive: ::Float?
|
609
|
+
},
|
610
|
+
]?,
|
611
|
+
ecr_image_last_in_use_at: Array[
|
612
|
+
{
|
613
|
+
end_inclusive: ::Time?,
|
614
|
+
start_inclusive: ::Time?
|
615
|
+
},
|
616
|
+
]?,
|
593
617
|
ecr_image_pushed_at: Array[
|
594
618
|
{
|
595
619
|
end_inclusive: ::Time?,
|
@@ -1032,6 +1056,21 @@ module Aws
|
|
1032
1056
|
) -> _GetCisScanResultDetailsResponseSuccess
|
1033
1057
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCisScanResultDetailsResponseSuccess
|
1034
1058
|
|
1059
|
+
interface _GetClustersForImageResponseSuccess
|
1060
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetClustersForImageResponse]
|
1061
|
+
def cluster: () -> ::Array[Types::ClusterInformation]
|
1062
|
+
def next_token: () -> ::String
|
1063
|
+
end
|
1064
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_clusters_for_image-instance_method
|
1065
|
+
def get_clusters_for_image: (
|
1066
|
+
filter: {
|
1067
|
+
resource_id: ::String
|
1068
|
+
},
|
1069
|
+
?max_results: ::Integer,
|
1070
|
+
?next_token: ::String
|
1071
|
+
) -> _GetClustersForImageResponseSuccess
|
1072
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetClustersForImageResponseSuccess
|
1073
|
+
|
1035
1074
|
interface _GetConfigurationResponseSuccess
|
1036
1075
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetConfigurationResponse]
|
1037
1076
|
def ec2_configuration: () -> Types::Ec2ConfigurationState
|
@@ -1387,6 +1426,18 @@ module Aws
|
|
1387
1426
|
value: ::String?
|
1388
1427
|
},
|
1389
1428
|
]?,
|
1429
|
+
ecr_image_in_use_count: Array[
|
1430
|
+
{
|
1431
|
+
lower_inclusive: ::Integer?,
|
1432
|
+
upper_inclusive: ::Integer?
|
1433
|
+
},
|
1434
|
+
]?,
|
1435
|
+
ecr_image_last_in_use_at: Array[
|
1436
|
+
{
|
1437
|
+
end_inclusive: ::Time?,
|
1438
|
+
start_inclusive: ::Time?
|
1439
|
+
},
|
1440
|
+
]?,
|
1390
1441
|
ecr_image_tags: Array[
|
1391
1442
|
{
|
1392
1443
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
@@ -1494,6 +1545,18 @@ module Aws
|
|
1494
1545
|
value: ::String?
|
1495
1546
|
},
|
1496
1547
|
]?,
|
1548
|
+
ecr_image_in_use_count: Array[
|
1549
|
+
{
|
1550
|
+
lower_inclusive: ::Integer?,
|
1551
|
+
upper_inclusive: ::Integer?
|
1552
|
+
},
|
1553
|
+
]?,
|
1554
|
+
ecr_image_last_in_use_at: Array[
|
1555
|
+
{
|
1556
|
+
end_inclusive: ::Time?,
|
1557
|
+
start_inclusive: ::Time?
|
1558
|
+
},
|
1559
|
+
]?,
|
1497
1560
|
ecr_image_tags: Array[
|
1498
1561
|
{
|
1499
1562
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
@@ -1655,6 +1718,18 @@ module Aws
|
|
1655
1718
|
value: ::String
|
1656
1719
|
},
|
1657
1720
|
]?,
|
1721
|
+
in_use_count: Array[
|
1722
|
+
{
|
1723
|
+
lower_inclusive: ::Float?,
|
1724
|
+
upper_inclusive: ::Float?
|
1725
|
+
},
|
1726
|
+
]?,
|
1727
|
+
last_in_use_at: Array[
|
1728
|
+
{
|
1729
|
+
end_inclusive: ::Time?,
|
1730
|
+
start_inclusive: ::Time?
|
1731
|
+
},
|
1732
|
+
]?,
|
1658
1733
|
repositories: Array[
|
1659
1734
|
{
|
1660
1735
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
@@ -1897,6 +1972,18 @@ module Aws
|
|
1897
1972
|
value: ::String
|
1898
1973
|
},
|
1899
1974
|
]?,
|
1975
|
+
ecr_image_in_use_count: Array[
|
1976
|
+
{
|
1977
|
+
lower_inclusive: ::Float?,
|
1978
|
+
upper_inclusive: ::Float?
|
1979
|
+
},
|
1980
|
+
]?,
|
1981
|
+
ecr_image_last_in_use_at: Array[
|
1982
|
+
{
|
1983
|
+
end_inclusive: ::Time?,
|
1984
|
+
start_inclusive: ::Time?
|
1985
|
+
},
|
1986
|
+
]?,
|
1900
1987
|
ecr_image_pushed_at: Array[
|
1901
1988
|
{
|
1902
1989
|
end_inclusive: ::Time?,
|
@@ -2324,6 +2411,7 @@ module Aws
|
|
2324
2411
|
},
|
2325
2412
|
?ecr_configuration: {
|
2326
2413
|
pull_date_rescan_duration: ("DAYS_14" | "DAYS_30" | "DAYS_60" | "DAYS_90" | "DAYS_180")?,
|
2414
|
+
pull_date_rescan_mode: ("LAST_PULL_DATE" | "LAST_IN_USE_AT")?,
|
2327
2415
|
rescan_duration: ("LIFETIME" | "DAYS_30" | "DAYS_180" | "DAYS_14" | "DAYS_60" | "DAYS_90")
|
2328
2416
|
}
|
2329
2417
|
) -> _UpdateConfigurationResponseSuccess
|
@@ -2430,6 +2518,18 @@ module Aws
|
|
2430
2518
|
value: ::String
|
2431
2519
|
},
|
2432
2520
|
]?,
|
2521
|
+
ecr_image_in_use_count: Array[
|
2522
|
+
{
|
2523
|
+
lower_inclusive: ::Float?,
|
2524
|
+
upper_inclusive: ::Float?
|
2525
|
+
},
|
2526
|
+
]?,
|
2527
|
+
ecr_image_last_in_use_at: Array[
|
2528
|
+
{
|
2529
|
+
end_inclusive: ::Time?,
|
2530
|
+
start_inclusive: ::Time?
|
2531
|
+
},
|
2532
|
+
]?,
|
2433
2533
|
ecr_image_pushed_at: Array[
|
2434
2534
|
{
|
2435
2535
|
end_inclusive: ::Time?,
|