aws-sdk-inspector2 1.25.0 → 1.26.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 +19 -4
- data/lib/aws-sdk-inspector2/client_api.rb +5 -0
- data/lib/aws-sdk-inspector2/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-inspector2/types.rb +127 -90
- data/lib/aws-sdk-inspector2.rb +1 -1
- data/sig/client.rbs +2644 -0
- data/sig/errors.rbs +47 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +2050 -0
- data/sig/waiters.rbs +13 -0
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6b777bfbdd0f9f359e43792ce233ab5578f826ec4764c583d0adfdc7cde16fa
|
4
|
+
data.tar.gz: 9d42d92e4d6adc81b11dfae5198f77696dc25a1506552e7ddbaae35858d67e3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1902d7d1e0039f727ba57fe6579786f03cfb801b547b492869cca3d4885992e14af346ee37ca12c991d1240a7ee626894a941ae9ebf8f9d3aec64f4de358c3d0
|
7
|
+
data.tar.gz: 0cc422dc45aad72ff012001f76e2650ddb6508ad8285506f775f2b24e707b6ab2eee5c70c36b5dc969767b1fd15218cbe5c1c8e7f33c59d141c6d0187c4c7603
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.26.0
|
@@ -2018,7 +2018,8 @@ module Aws::Inspector2
|
|
2018
2018
|
#
|
2019
2019
|
# @example Response structure
|
2020
2020
|
#
|
2021
|
-
# resp.ecr_configuration.rescan_duration_state.
|
2021
|
+
# resp.ecr_configuration.rescan_duration_state.pull_date_rescan_duration #=> String, one of "DAYS_14", "DAYS_30", "DAYS_60", "DAYS_90", "DAYS_180"
|
2022
|
+
# resp.ecr_configuration.rescan_duration_state.rescan_duration #=> String, one of "LIFETIME", "DAYS_30", "DAYS_180", "DAYS_14", "DAYS_60", "DAYS_90"
|
2022
2023
|
# resp.ecr_configuration.rescan_duration_state.status #=> String, one of "SUCCESS", "PENDING", "FAILED"
|
2023
2024
|
# resp.ecr_configuration.rescan_duration_state.updated_at #=> Time
|
2024
2025
|
#
|
@@ -2937,6 +2938,12 @@ module Aws::Inspector2
|
|
2937
2938
|
# value: "CoverageStringInput", # required
|
2938
2939
|
# },
|
2939
2940
|
# ],
|
2941
|
+
# image_pulled_at: [
|
2942
|
+
# {
|
2943
|
+
# end_inclusive: Time.now,
|
2944
|
+
# start_inclusive: Time.now,
|
2945
|
+
# },
|
2946
|
+
# ],
|
2940
2947
|
# lambda_function_name: [
|
2941
2948
|
# {
|
2942
2949
|
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
@@ -3007,6 +3014,7 @@ module Aws::Inspector2
|
|
3007
3014
|
# resp.covered_resources[0].resource_metadata.ec2.platform #=> String, one of "WINDOWS", "LINUX", "UNKNOWN", "MACOS"
|
3008
3015
|
# resp.covered_resources[0].resource_metadata.ec2.tags #=> Hash
|
3009
3016
|
# resp.covered_resources[0].resource_metadata.ec2.tags["MapKey"] #=> String
|
3017
|
+
# resp.covered_resources[0].resource_metadata.ecr_image.image_pulled_at #=> Time
|
3010
3018
|
# resp.covered_resources[0].resource_metadata.ecr_image.tags #=> Array
|
3011
3019
|
# resp.covered_resources[0].resource_metadata.ecr_image.tags[0] #=> String
|
3012
3020
|
# resp.covered_resources[0].resource_metadata.ecr_repository.name #=> String
|
@@ -3085,6 +3093,12 @@ module Aws::Inspector2
|
|
3085
3093
|
# value: "CoverageStringInput", # required
|
3086
3094
|
# },
|
3087
3095
|
# ],
|
3096
|
+
# image_pulled_at: [
|
3097
|
+
# {
|
3098
|
+
# end_inclusive: Time.now,
|
3099
|
+
# start_inclusive: Time.now,
|
3100
|
+
# },
|
3101
|
+
# ],
|
3088
3102
|
# lambda_function_name: [
|
3089
3103
|
# {
|
3090
3104
|
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
@@ -4741,7 +4755,8 @@ module Aws::Inspector2
|
|
4741
4755
|
#
|
4742
4756
|
# resp = client.update_configuration({
|
4743
4757
|
# ecr_configuration: { # required
|
4744
|
-
#
|
4758
|
+
# pull_date_rescan_duration: "DAYS_14", # accepts DAYS_14, DAYS_30, DAYS_60, DAYS_90, DAYS_180
|
4759
|
+
# rescan_duration: "LIFETIME", # required, accepts LIFETIME, DAYS_30, DAYS_180, DAYS_14, DAYS_60, DAYS_90
|
4745
4760
|
# },
|
4746
4761
|
# })
|
4747
4762
|
#
|
@@ -4805,7 +4820,7 @@ module Aws::Inspector2
|
|
4805
4820
|
end
|
4806
4821
|
|
4807
4822
|
# Updates an encryption key. A `ResourceNotFoundException` means that an
|
4808
|
-
#
|
4823
|
+
# Amazon Web Services owned key is being used for encryption.
|
4809
4824
|
#
|
4810
4825
|
# @option params [required, String] :kms_key_id
|
4811
4826
|
# A KMS key ID for the encryption key.
|
@@ -5240,7 +5255,7 @@ module Aws::Inspector2
|
|
5240
5255
|
params: params,
|
5241
5256
|
config: config)
|
5242
5257
|
context[:gem_name] = 'aws-sdk-inspector2'
|
5243
|
-
context[:gem_version] = '1.
|
5258
|
+
context[:gem_version] = '1.26.0'
|
5244
5259
|
Seahorse::Client::Request.new(handlers, context)
|
5245
5260
|
end
|
5246
5261
|
|
@@ -230,6 +230,7 @@ module Aws::Inspector2
|
|
230
230
|
EcrConfiguration = Shapes::StructureShape.new(name: 'EcrConfiguration')
|
231
231
|
EcrConfigurationState = Shapes::StructureShape.new(name: 'EcrConfigurationState')
|
232
232
|
EcrContainerImageMetadata = Shapes::StructureShape.new(name: 'EcrContainerImageMetadata')
|
233
|
+
EcrPullDateRescanDuration = Shapes::StringShape.new(name: 'EcrPullDateRescanDuration')
|
233
234
|
EcrRepositoryMetadata = Shapes::StructureShape.new(name: 'EcrRepositoryMetadata')
|
234
235
|
EcrRescanDuration = Shapes::StringShape.new(name: 'EcrRescanDuration')
|
235
236
|
EcrRescanDurationState = Shapes::StructureShape.new(name: 'EcrRescanDurationState')
|
@@ -1071,6 +1072,7 @@ module Aws::Inspector2
|
|
1071
1072
|
CoverageFilterCriteria.add_member(:ec2_instance_tags, Shapes::ShapeRef.new(shape: CoverageMapFilterList, location_name: "ec2InstanceTags"))
|
1072
1073
|
CoverageFilterCriteria.add_member(:ecr_image_tags, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "ecrImageTags"))
|
1073
1074
|
CoverageFilterCriteria.add_member(:ecr_repository_name, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "ecrRepositoryName"))
|
1075
|
+
CoverageFilterCriteria.add_member(:image_pulled_at, Shapes::ShapeRef.new(shape: CoverageDateFilterList, location_name: "imagePulledAt"))
|
1074
1076
|
CoverageFilterCriteria.add_member(:lambda_function_name, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "lambdaFunctionName"))
|
1075
1077
|
CoverageFilterCriteria.add_member(:lambda_function_runtime, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "lambdaFunctionRuntime"))
|
1076
1078
|
CoverageFilterCriteria.add_member(:lambda_function_tags, Shapes::ShapeRef.new(shape: CoverageMapFilterList, location_name: "lambdaFunctionTags"))
|
@@ -1273,12 +1275,14 @@ module Aws::Inspector2
|
|
1273
1275
|
Ec2Metadata.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1274
1276
|
Ec2Metadata.struct_class = Types::Ec2Metadata
|
1275
1277
|
|
1278
|
+
EcrConfiguration.add_member(:pull_date_rescan_duration, Shapes::ShapeRef.new(shape: EcrPullDateRescanDuration, location_name: "pullDateRescanDuration"))
|
1276
1279
|
EcrConfiguration.add_member(:rescan_duration, Shapes::ShapeRef.new(shape: EcrRescanDuration, required: true, location_name: "rescanDuration"))
|
1277
1280
|
EcrConfiguration.struct_class = Types::EcrConfiguration
|
1278
1281
|
|
1279
1282
|
EcrConfigurationState.add_member(:rescan_duration_state, Shapes::ShapeRef.new(shape: EcrRescanDurationState, location_name: "rescanDurationState"))
|
1280
1283
|
EcrConfigurationState.struct_class = Types::EcrConfigurationState
|
1281
1284
|
|
1285
|
+
EcrContainerImageMetadata.add_member(:image_pulled_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, location_name: "imagePulledAt"))
|
1282
1286
|
EcrContainerImageMetadata.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1283
1287
|
EcrContainerImageMetadata.struct_class = Types::EcrContainerImageMetadata
|
1284
1288
|
|
@@ -1286,6 +1290,7 @@ module Aws::Inspector2
|
|
1286
1290
|
EcrRepositoryMetadata.add_member(:scan_frequency, Shapes::ShapeRef.new(shape: EcrScanFrequency, location_name: "scanFrequency"))
|
1287
1291
|
EcrRepositoryMetadata.struct_class = Types::EcrRepositoryMetadata
|
1288
1292
|
|
1293
|
+
EcrRescanDurationState.add_member(:pull_date_rescan_duration, Shapes::ShapeRef.new(shape: EcrPullDateRescanDuration, location_name: "pullDateRescanDuration"))
|
1289
1294
|
EcrRescanDurationState.add_member(:rescan_duration, Shapes::ShapeRef.new(shape: EcrRescanDuration, location_name: "rescanDuration"))
|
1290
1295
|
EcrRescanDurationState.add_member(:status, Shapes::ShapeRef.new(shape: EcrRescanDurationStatus, location_name: "status"))
|
1291
1296
|
EcrRescanDurationState.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, location_name: "updatedAt"))
|
@@ -14,6 +14,7 @@ module Aws::Inspector2
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::Inspector2::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
@@ -158,11 +158,13 @@ module Aws::Inspector2
|
|
158
158
|
# @return [Types::ImageLayerAggregation]
|
159
159
|
#
|
160
160
|
# @!attribute [rw] lambda_function_aggregation
|
161
|
-
# Returns an object with findings aggregated by
|
161
|
+
# Returns an object with findings aggregated by Amazon Web Services
|
162
|
+
# Lambda function.
|
162
163
|
# @return [Types::LambdaFunctionAggregation]
|
163
164
|
#
|
164
165
|
# @!attribute [rw] lambda_layer_aggregation
|
165
|
-
# Returns an object with findings aggregated by
|
166
|
+
# Returns an object with findings aggregated by Amazon Web Services
|
167
|
+
# Lambda layer.
|
166
168
|
# @return [Types::LambdaLayerAggregation]
|
167
169
|
#
|
168
170
|
# @!attribute [rw] package_aggregation
|
@@ -249,11 +251,11 @@ module Aws::Inspector2
|
|
249
251
|
# @return [Types::ImageLayerAggregationResponse]
|
250
252
|
#
|
251
253
|
# @!attribute [rw] lambda_function_aggregation
|
252
|
-
# An aggregation of findings by
|
254
|
+
# An aggregation of findings by Amazon Web Services Lambda function.
|
253
255
|
# @return [Types::LambdaFunctionAggregationResponse]
|
254
256
|
#
|
255
257
|
# @!attribute [rw] lambda_layer_aggregation
|
256
|
-
# An aggregation of findings by
|
258
|
+
# An aggregation of findings by Amazon Web Services Lambda layer.
|
257
259
|
# @return [Types::LambdaLayerAggregationResponse]
|
258
260
|
#
|
259
261
|
# @!attribute [rw] package_aggregation
|
@@ -433,13 +435,14 @@ module Aws::Inspector2
|
|
433
435
|
# @return [Boolean]
|
434
436
|
#
|
435
437
|
# @!attribute [rw] lambda
|
436
|
-
# Represents whether
|
437
|
-
# enabled for new members of your Amazon Inspector
|
438
|
+
# Represents whether Amazon Web Services Lambda standard scans are
|
439
|
+
# automatically enabled for new members of your Amazon Inspector
|
440
|
+
# organization.
|
438
441
|
# @return [Boolean]
|
439
442
|
#
|
440
443
|
# @!attribute [rw] lambda_code
|
441
|
-
# Represents whether
|
442
|
-
#
|
444
|
+
# Represents whether Lambda code scans are automatically enabled for
|
445
|
+
# new members of your Amazon Inspector organization. </p>
|
443
446
|
# @return [Boolean]
|
444
447
|
#
|
445
448
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AutoEnable AWS API Documentation
|
@@ -651,24 +654,26 @@ module Aws::Inspector2
|
|
651
654
|
include Aws::Structure
|
652
655
|
end
|
653
656
|
|
654
|
-
# A summary of information about the
|
657
|
+
# A summary of information about the Amazon Web Services Lambda
|
658
|
+
# function.
|
655
659
|
#
|
656
660
|
# @!attribute [rw] architectures
|
657
|
-
# The instruction set architecture that the
|
658
|
-
# supports. Architecture is a string array with one of the
|
659
|
-
# values. The default architecture value is `x86_64`.
|
661
|
+
# The instruction set architecture that the Amazon Web Services Lambda
|
662
|
+
# function supports. Architecture is a string array with one of the
|
663
|
+
# valid values. The default architecture value is `x86_64`.
|
660
664
|
# @return [Array<String>]
|
661
665
|
#
|
662
666
|
# @!attribute [rw] code_sha_256
|
663
|
-
# The SHA256 hash of the
|
667
|
+
# The SHA256 hash of the Amazon Web Services Lambda function's
|
668
|
+
# deployment package.
|
664
669
|
# @return [String]
|
665
670
|
#
|
666
671
|
# @!attribute [rw] execution_role_arn
|
667
|
-
# The
|
672
|
+
# The Amazon Web Services Lambda function's execution role.
|
668
673
|
# @return [String]
|
669
674
|
#
|
670
675
|
# @!attribute [rw] function_name
|
671
|
-
# The name of the
|
676
|
+
# The name of the Amazon Web Services Lambda function.
|
672
677
|
# @return [String]
|
673
678
|
#
|
674
679
|
# @!attribute [rw] last_modified_at
|
@@ -681,8 +686,8 @@ module Aws::Inspector2
|
|
681
686
|
# @return [Time]
|
682
687
|
#
|
683
688
|
# @!attribute [rw] layers
|
684
|
-
# The
|
685
|
-
# up to five layers.
|
689
|
+
# The Amazon Web Services Lambda function's [ layers][1]. A Lambda
|
690
|
+
# function can have up to five layers.
|
686
691
|
#
|
687
692
|
#
|
688
693
|
#
|
@@ -695,15 +700,15 @@ module Aws::Inspector2
|
|
695
700
|
# @return [String]
|
696
701
|
#
|
697
702
|
# @!attribute [rw] runtime
|
698
|
-
# The runtime environment for the
|
703
|
+
# The runtime environment for the Amazon Web Services Lambda function.
|
699
704
|
# @return [String]
|
700
705
|
#
|
701
706
|
# @!attribute [rw] version
|
702
|
-
# The version of the
|
707
|
+
# The version of the Amazon Web Services Lambda function.
|
703
708
|
# @return [String]
|
704
709
|
#
|
705
710
|
# @!attribute [rw] vpc_config
|
706
|
-
# The
|
711
|
+
# The Amazon Web Services Lambda function's networking configuration.
|
707
712
|
# @return [Types::LambdaVpcConfig]
|
708
713
|
#
|
709
714
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AwsLambdaFunctionDetails AWS API Documentation
|
@@ -1916,19 +1921,23 @@ module Aws::Inspector2
|
|
1916
1921
|
# The Amazon ECR repository name to filter on.
|
1917
1922
|
# @return [Array<Types::CoverageStringFilter>]
|
1918
1923
|
#
|
1924
|
+
# @!attribute [rw] image_pulled_at
|
1925
|
+
# The date an image was last pulled at.
|
1926
|
+
# @return [Array<Types::CoverageDateFilter>]
|
1927
|
+
#
|
1919
1928
|
# @!attribute [rw] lambda_function_name
|
1920
|
-
# Returns coverage statistics for
|
1921
|
-
# function names.
|
1929
|
+
# Returns coverage statistics for Amazon Web Services Lambda functions
|
1930
|
+
# filtered by function names.
|
1922
1931
|
# @return [Array<Types::CoverageStringFilter>]
|
1923
1932
|
#
|
1924
1933
|
# @!attribute [rw] lambda_function_runtime
|
1925
|
-
# Returns coverage statistics for
|
1926
|
-
# runtime.
|
1934
|
+
# Returns coverage statistics for Amazon Web Services Lambda functions
|
1935
|
+
# filtered by runtime.
|
1927
1936
|
# @return [Array<Types::CoverageStringFilter>]
|
1928
1937
|
#
|
1929
1938
|
# @!attribute [rw] lambda_function_tags
|
1930
|
-
# Returns coverage statistics for
|
1931
|
-
# tag.
|
1939
|
+
# Returns coverage statistics for Amazon Web Services Lambda functions
|
1940
|
+
# filtered by tag.
|
1932
1941
|
# @return [Array<Types::CoverageMapFilter>]
|
1933
1942
|
#
|
1934
1943
|
# @!attribute [rw] last_scanned_at
|
@@ -1972,6 +1981,7 @@ module Aws::Inspector2
|
|
1972
1981
|
:ec2_instance_tags,
|
1973
1982
|
:ecr_image_tags,
|
1974
1983
|
:ecr_repository_name,
|
1984
|
+
:image_pulled_at,
|
1975
1985
|
:lambda_function_name,
|
1976
1986
|
:lambda_function_runtime,
|
1977
1987
|
:lambda_function_tags,
|
@@ -2766,17 +2776,18 @@ module Aws::Inspector2
|
|
2766
2776
|
# Details about the ECR automated re-scan duration setting for your
|
2767
2777
|
# environment.
|
2768
2778
|
#
|
2779
|
+
# @!attribute [rw] pull_date_rescan_duration
|
2780
|
+
# The rescan duration configured for image pull date.
|
2781
|
+
# @return [String]
|
2782
|
+
#
|
2769
2783
|
# @!attribute [rw] rescan_duration
|
2770
|
-
# The
|
2771
|
-
# will be actively scanned by Amazon Inspector. When the number of
|
2772
|
-
# days since an image was last pushed exceeds the automated re-scan
|
2773
|
-
# duration the monitoring state of that image becomes `inactive` and
|
2774
|
-
# all associated findings are scheduled for closure.
|
2784
|
+
# The rescan duration configured for image push date.
|
2775
2785
|
# @return [String]
|
2776
2786
|
#
|
2777
2787
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EcrConfiguration AWS API Documentation
|
2778
2788
|
#
|
2779
2789
|
class EcrConfiguration < Struct.new(
|
2790
|
+
:pull_date_rescan_duration,
|
2780
2791
|
:rescan_duration)
|
2781
2792
|
SENSITIVE = []
|
2782
2793
|
include Aws::Structure
|
@@ -2785,8 +2796,8 @@ module Aws::Inspector2
|
|
2785
2796
|
# Details about the state of the ECR scans for your environment.
|
2786
2797
|
#
|
2787
2798
|
# @!attribute [rw] rescan_duration_state
|
2788
|
-
# An object that contains details about the state of the ECR
|
2789
|
-
#
|
2799
|
+
# An object that contains details about the state of the ECR re-scan
|
2800
|
+
# settings.
|
2790
2801
|
# @return [Types::EcrRescanDurationState]
|
2791
2802
|
#
|
2792
2803
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EcrConfigurationState AWS API Documentation
|
@@ -2800,6 +2811,10 @@ module Aws::Inspector2
|
|
2800
2811
|
# Information on the Amazon ECR image metadata associated with a
|
2801
2812
|
# finding.
|
2802
2813
|
#
|
2814
|
+
# @!attribute [rw] image_pulled_at
|
2815
|
+
# The date an image was last pulled at.
|
2816
|
+
# @return [Time]
|
2817
|
+
#
|
2803
2818
|
# @!attribute [rw] tags
|
2804
2819
|
# Tags associated with the Amazon ECR image metadata.
|
2805
2820
|
# @return [Array<String>]
|
@@ -2807,6 +2822,7 @@ module Aws::Inspector2
|
|
2807
2822
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EcrContainerImageMetadata AWS API Documentation
|
2808
2823
|
#
|
2809
2824
|
class EcrContainerImageMetadata < Struct.new(
|
2825
|
+
:image_pulled_at,
|
2810
2826
|
:tags)
|
2811
2827
|
SENSITIVE = []
|
2812
2828
|
include Aws::Structure
|
@@ -2832,15 +2848,20 @@ module Aws::Inspector2
|
|
2832
2848
|
include Aws::Structure
|
2833
2849
|
end
|
2834
2850
|
|
2835
|
-
# Details about the state of
|
2836
|
-
# duration
|
2851
|
+
# Details about the state of your ECR re-scan duration settings. The ECR
|
2852
|
+
# re-scan duration defines how long an ECR image will be actively
|
2853
|
+
# scanned by Amazon Inspector. When the number of days since an image
|
2854
|
+
# was last pushed exceeds the duration configured for image pull date,
|
2855
|
+
# and the duration configured for image pull date, the monitoring state
|
2856
|
+
# of that image becomes `inactive` and all associated findings are
|
2857
|
+
# scheduled for closure.
|
2858
|
+
#
|
2859
|
+
# @!attribute [rw] pull_date_rescan_duration
|
2860
|
+
# The rescan duration configured for image pull date.
|
2861
|
+
# @return [String]
|
2837
2862
|
#
|
2838
2863
|
# @!attribute [rw] rescan_duration
|
2839
|
-
# The
|
2840
|
-
# will be actively scanned by Amazon Inspector. When the number of
|
2841
|
-
# days since an image was last pushed exceeds the automated re-scan
|
2842
|
-
# duration the monitoring state of that image becomes `inactive` and
|
2843
|
-
# all associated findings are scheduled for closure.
|
2864
|
+
# The rescan duration configured for image push date. </p>
|
2844
2865
|
# @return [String]
|
2845
2866
|
#
|
2846
2867
|
# @!attribute [rw] status
|
@@ -2855,6 +2876,7 @@ module Aws::Inspector2
|
|
2855
2876
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EcrRescanDurationState AWS API Documentation
|
2856
2877
|
#
|
2857
2878
|
class EcrRescanDurationState < Struct.new(
|
2879
|
+
:pull_date_rescan_duration,
|
2858
2880
|
:rescan_duration,
|
2859
2881
|
:status,
|
2860
2882
|
:updated_at)
|
@@ -3239,8 +3261,8 @@ module Aws::Inspector2
|
|
3239
3261
|
# @return [Array<Types::NumberFilter>]
|
3240
3262
|
#
|
3241
3263
|
# @!attribute [rw] exploit_available
|
3242
|
-
# Filters the list of
|
3243
|
-
# exploits.
|
3264
|
+
# Filters the list of Amazon Web Services Lambda findings by the
|
3265
|
+
# availability of exploits.
|
3244
3266
|
# @return [Array<Types::StringFilter>]
|
3245
3267
|
#
|
3246
3268
|
# @!attribute [rw] finding_arn
|
@@ -3272,12 +3294,14 @@ module Aws::Inspector2
|
|
3272
3294
|
# @return [Array<Types::NumberFilter>]
|
3273
3295
|
#
|
3274
3296
|
# @!attribute [rw] lambda_function_execution_role_arn
|
3275
|
-
# Filters the list of
|
3297
|
+
# Filters the list of Amazon Web Services Lambda functions by
|
3298
|
+
# execution role.
|
3276
3299
|
# @return [Array<Types::StringFilter>]
|
3277
3300
|
#
|
3278
3301
|
# @!attribute [rw] lambda_function_last_modified_at
|
3279
|
-
# Filters the list of
|
3280
|
-
# user last updated the configuration, in [ISO 8601
|
3302
|
+
# Filters the list of Amazon Web Services Lambda functions by the date
|
3303
|
+
# and time that a user last updated the configuration, in [ISO 8601
|
3304
|
+
# format][1]
|
3281
3305
|
#
|
3282
3306
|
#
|
3283
3307
|
#
|
@@ -3285,8 +3309,9 @@ module Aws::Inspector2
|
|
3285
3309
|
# @return [Array<Types::DateFilter>]
|
3286
3310
|
#
|
3287
3311
|
# @!attribute [rw] lambda_function_layers
|
3288
|
-
# Filters the list of
|
3289
|
-
# layers][1]. A Lambda function can have up to five
|
3312
|
+
# Filters the list of Amazon Web Services Lambda functions by the
|
3313
|
+
# function's [ layers][1]. A Lambda function can have up to five
|
3314
|
+
# layers.
|
3290
3315
|
#
|
3291
3316
|
#
|
3292
3317
|
#
|
@@ -3294,13 +3319,13 @@ module Aws::Inspector2
|
|
3294
3319
|
# @return [Array<Types::StringFilter>]
|
3295
3320
|
#
|
3296
3321
|
# @!attribute [rw] lambda_function_name
|
3297
|
-
# Filters the list of
|
3298
|
-
# function.
|
3322
|
+
# Filters the list of Amazon Web Services Lambda functions by the name
|
3323
|
+
# of the function.
|
3299
3324
|
# @return [Array<Types::StringFilter>]
|
3300
3325
|
#
|
3301
3326
|
# @!attribute [rw] lambda_function_runtime
|
3302
|
-
# Filters the list of
|
3303
|
-
# for the Lambda function.
|
3327
|
+
# Filters the list of Amazon Web Services Lambda functions by the
|
3328
|
+
# runtime environment for the Lambda function.
|
3304
3329
|
# @return [Array<Types::StringFilter>]
|
3305
3330
|
#
|
3306
3331
|
# @!attribute [rw] last_observed_at
|
@@ -4210,11 +4235,12 @@ module Aws::Inspector2
|
|
4210
4235
|
include Aws::Structure
|
4211
4236
|
end
|
4212
4237
|
|
4213
|
-
# The details that define a findings aggregation based on
|
4214
|
-
# functions.
|
4238
|
+
# The details that define a findings aggregation based on Amazon Web
|
4239
|
+
# Services Lambda functions.
|
4215
4240
|
#
|
4216
4241
|
# @!attribute [rw] function_names
|
4217
|
-
# The
|
4242
|
+
# The Amazon Web Services Lambda function names to include in the
|
4243
|
+
# aggregation results.
|
4218
4244
|
# @return [Array<Types::StringFilter>]
|
4219
4245
|
#
|
4220
4246
|
# @!attribute [rw] function_tags
|
@@ -4226,8 +4252,8 @@ module Aws::Inspector2
|
|
4226
4252
|
# @return [Array<Types::StringFilter>]
|
4227
4253
|
#
|
4228
4254
|
# @!attribute [rw] runtimes
|
4229
|
-
# Returns findings aggregated by
|
4230
|
-
# environments.
|
4255
|
+
# Returns findings aggregated by Amazon Web Services Lambda function
|
4256
|
+
# runtime environments.
|
4231
4257
|
# @return [Array<Types::StringFilter>]
|
4232
4258
|
#
|
4233
4259
|
# @!attribute [rw] sort_by
|
@@ -4251,15 +4277,17 @@ module Aws::Inspector2
|
|
4251
4277
|
include Aws::Structure
|
4252
4278
|
end
|
4253
4279
|
|
4254
|
-
# A response that contains the results of an
|
4255
|
-
# aggregation.
|
4280
|
+
# A response that contains the results of an Amazon Web Services Lambda
|
4281
|
+
# function finding aggregation.
|
4256
4282
|
#
|
4257
4283
|
# @!attribute [rw] account_id
|
4258
|
-
# The ID of the
|
4284
|
+
# The ID of the Amazon Web Services account that owns the Amazon Web
|
4285
|
+
# Services Lambda function.
|
4259
4286
|
# @return [String]
|
4260
4287
|
#
|
4261
4288
|
# @!attribute [rw] function_name
|
4262
|
-
# The
|
4289
|
+
# The Amazon Web Services Lambda function names included in the
|
4290
|
+
# aggregation results.
|
4263
4291
|
# @return [String]
|
4264
4292
|
#
|
4265
4293
|
# @!attribute [rw] lambda_tags
|
@@ -4267,8 +4295,8 @@ module Aws::Inspector2
|
|
4267
4295
|
# @return [Hash<String,String>]
|
4268
4296
|
#
|
4269
4297
|
# @!attribute [rw] last_modified_at
|
4270
|
-
# The date that the
|
4271
|
-
# results was last changed.
|
4298
|
+
# The date that the Amazon Web Services Lambda function included in
|
4299
|
+
# the aggregation results was last changed.
|
4272
4300
|
# @return [Time]
|
4273
4301
|
#
|
4274
4302
|
# @!attribute [rw] resource_id
|
@@ -4298,23 +4326,23 @@ module Aws::Inspector2
|
|
4298
4326
|
include Aws::Structure
|
4299
4327
|
end
|
4300
4328
|
|
4301
|
-
# The
|
4329
|
+
# The Amazon Web Services Lambda function metadata.
|
4302
4330
|
#
|
4303
4331
|
# @!attribute [rw] function_name
|
4304
4332
|
# The name of a function.
|
4305
4333
|
# @return [String]
|
4306
4334
|
#
|
4307
4335
|
# @!attribute [rw] function_tags
|
4308
|
-
# The resource tags on an
|
4336
|
+
# The resource tags on an Amazon Web Services Lambda function.
|
4309
4337
|
# @return [Hash<String,String>]
|
4310
4338
|
#
|
4311
4339
|
# @!attribute [rw] layers
|
4312
|
-
# The layers for an
|
4313
|
-
# to five layers.
|
4340
|
+
# The layers for an Amazon Web Services Lambda function. A Lambda
|
4341
|
+
# function can have up to five layers.
|
4314
4342
|
# @return [Array<String>]
|
4315
4343
|
#
|
4316
4344
|
# @!attribute [rw] runtime
|
4317
|
-
# An
|
4345
|
+
# An Amazon Web Services Lambda function's runtime.
|
4318
4346
|
# @return [String]
|
4319
4347
|
#
|
4320
4348
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/LambdaFunctionMetadata AWS API Documentation
|
@@ -4328,19 +4356,21 @@ module Aws::Inspector2
|
|
4328
4356
|
include Aws::Structure
|
4329
4357
|
end
|
4330
4358
|
|
4331
|
-
# The details that define a findings aggregation based on an
|
4332
|
-
# function's layers.
|
4359
|
+
# The details that define a findings aggregation based on an Amazon Web
|
4360
|
+
# Services Lambda function's layers.
|
4333
4361
|
#
|
4334
4362
|
# @!attribute [rw] function_names
|
4335
|
-
# The names of the
|
4363
|
+
# The names of the Amazon Web Services Lambda functions associated
|
4364
|
+
# with the layers.
|
4336
4365
|
# @return [Array<Types::StringFilter>]
|
4337
4366
|
#
|
4338
4367
|
# @!attribute [rw] layer_arns
|
4339
|
-
# The Amazon Resource Name (ARN) of the
|
4368
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Lambda
|
4369
|
+
# function layer.
|
4340
4370
|
# @return [Array<Types::StringFilter>]
|
4341
4371
|
#
|
4342
4372
|
# @!attribute [rw] resource_ids
|
4343
|
-
# The resource IDs for the
|
4373
|
+
# The resource IDs for the Amazon Web Services Lambda function layers.
|
4344
4374
|
# @return [Array<Types::StringFilter>]
|
4345
4375
|
#
|
4346
4376
|
# @!attribute [rw] sort_by
|
@@ -4363,23 +4393,25 @@ module Aws::Inspector2
|
|
4363
4393
|
include Aws::Structure
|
4364
4394
|
end
|
4365
4395
|
|
4366
|
-
# A response that contains the results of an
|
4367
|
-
# finding aggregation.
|
4396
|
+
# A response that contains the results of an Amazon Web Services Lambda
|
4397
|
+
# function layer finding aggregation.
|
4368
4398
|
#
|
4369
4399
|
# @!attribute [rw] account_id
|
4370
|
-
# The account ID of the
|
4400
|
+
# The account ID of the Amazon Web Services Lambda function layer.
|
4371
4401
|
# @return [String]
|
4372
4402
|
#
|
4373
4403
|
# @!attribute [rw] function_name
|
4374
|
-
# The names of the
|
4404
|
+
# The names of the Amazon Web Services Lambda functions associated
|
4405
|
+
# with the layers.
|
4375
4406
|
# @return [String]
|
4376
4407
|
#
|
4377
4408
|
# @!attribute [rw] layer_arn
|
4378
|
-
# The Amazon Resource Name (ARN) of the
|
4409
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Lambda
|
4410
|
+
# function layer.
|
4379
4411
|
# @return [String]
|
4380
4412
|
#
|
4381
4413
|
# @!attribute [rw] resource_id
|
4382
|
-
# The Resource ID of the
|
4414
|
+
# The Resource ID of the Amazon Web Services Lambda function layer.
|
4383
4415
|
# @return [String]
|
4384
4416
|
#
|
4385
4417
|
# @!attribute [rw] severity_counts
|
@@ -4399,16 +4431,17 @@ module Aws::Inspector2
|
|
4399
4431
|
include Aws::Structure
|
4400
4432
|
end
|
4401
4433
|
|
4402
|
-
# The VPC security groups and subnets that are attached to an
|
4403
|
-
# function. For more information, see [VPC Settings][1].
|
4434
|
+
# The VPC security groups and subnets that are attached to an Amazon Web
|
4435
|
+
# Services Lambda function. For more information, see [VPC Settings][1].
|
4404
4436
|
#
|
4405
4437
|
#
|
4406
4438
|
#
|
4407
4439
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
|
4408
4440
|
#
|
4409
4441
|
# @!attribute [rw] security_group_ids
|
4410
|
-
# The VPC security groups and subnets that are attached to an
|
4411
|
-
# Lambda function. For more information, see [VPC
|
4442
|
+
# The VPC security groups and subnets that are attached to an Amazon
|
4443
|
+
# Web Services Lambda function. For more information, see [VPC
|
4444
|
+
# Settings][1].
|
4412
4445
|
#
|
4413
4446
|
#
|
4414
4447
|
#
|
@@ -5817,8 +5850,8 @@ module Aws::Inspector2
|
|
5817
5850
|
# @return [Types::AwsEcrContainerImageDetails]
|
5818
5851
|
#
|
5819
5852
|
# @!attribute [rw] aws_lambda_function
|
5820
|
-
# A summary of the information about an
|
5821
|
-
# by a finding.
|
5853
|
+
# A summary of the information about an Amazon Web Services Lambda
|
5854
|
+
# function affected by a finding.
|
5822
5855
|
# @return [Types::AwsLambdaFunctionDetails]
|
5823
5856
|
#
|
5824
5857
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResourceDetails AWS API Documentation
|
@@ -5851,11 +5884,13 @@ module Aws::Inspector2
|
|
5851
5884
|
# @return [Array<Types::ResourceStringFilter>]
|
5852
5885
|
#
|
5853
5886
|
# @!attribute [rw] lambda_function_name
|
5854
|
-
# The
|
5887
|
+
# The Amazon Web Services Lambda function name used as resource filter
|
5888
|
+
# criteria.
|
5855
5889
|
# @return [Array<Types::ResourceStringFilter>]
|
5856
5890
|
#
|
5857
5891
|
# @!attribute [rw] lambda_function_tags
|
5858
|
-
# The
|
5892
|
+
# The Amazon Web Services Lambda function tags used as resource filter
|
5893
|
+
# criteria.
|
5859
5894
|
# @return [Array<Types::ResourceMapFilter>]
|
5860
5895
|
#
|
5861
5896
|
# @!attribute [rw] resource_id
|
@@ -5937,7 +5972,8 @@ module Aws::Inspector2
|
|
5937
5972
|
# @return [Types::EcrRepositoryMetadata]
|
5938
5973
|
#
|
5939
5974
|
# @!attribute [rw] lambda_function
|
5940
|
-
# An object that contains metadata details for an
|
5975
|
+
# An object that contains metadata details for an Amazon Web Services
|
5976
|
+
# Lambda function.
|
5941
5977
|
# @return [Types::LambdaFunctionMetadata]
|
5942
5978
|
#
|
5943
5979
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResourceScanMetadata AWS API Documentation
|
@@ -5997,7 +6033,8 @@ module Aws::Inspector2
|
|
5997
6033
|
# @return [String]
|
5998
6034
|
#
|
5999
6035
|
# @!attribute [rw] lambda
|
6000
|
-
# The status of Amazon Inspector scanning for
|
6036
|
+
# The status of Amazon Inspector scanning for Amazon Web Services
|
6037
|
+
# Lambda function.
|
6001
6038
|
# @return [String]
|
6002
6039
|
#
|
6003
6040
|
# @!attribute [rw] lambda_code
|
@@ -7289,8 +7326,8 @@ module Aws::Inspector2
|
|
7289
7326
|
# @return [String]
|
7290
7327
|
#
|
7291
7328
|
# @!attribute [rw] source_lambda_layer_arn
|
7292
|
-
# The Amazon Resource Number (ARN) of the
|
7293
|
-
# by a finding.
|
7329
|
+
# The Amazon Resource Number (ARN) of the Amazon Web Services Lambda
|
7330
|
+
# function affected by a finding.
|
7294
7331
|
# @return [String]
|
7295
7332
|
#
|
7296
7333
|
# @!attribute [rw] source_layer_hash
|