aws-sdk-inspector2 1.2.0 → 1.5.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-inspector2/client.rb +71 -10
- data/lib/aws-sdk-inspector2/client_api.rb +55 -0
- data/lib/aws-sdk-inspector2/types.rb +131 -2
- data/lib/aws-sdk-inspector2.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: 550bf40c860a707908defa7adc3b507a6159dcda536cb6628dcdebb03bb69c00
|
4
|
+
data.tar.gz: 95bf9a63a5502a7030bf4755fb3bed86cefa2971e5a99485726c1bf1a3670bed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60aba8cab1bbb4994f08cbf8d076e598f5711f76b0bd273fd784ab4b2763cb80d52b74908d4370f08dbdc2a92f2c37f119bf6b2eae4d921d6f4b911c7fa36158
|
7
|
+
data.tar.gz: 572b4f4a7db6f8ea9c27f31864f90a025799fc67ac24727fc7712a6b71df65cc5a24186235f7f3a2bc3ccdbf9f69745e37e121d013dbe6af331bce91f3800042
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.5.0 (2022-07-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for Inspector V2 scan configurations through the get and update configuration APIs. Currently this allows configuring ECR automated re-scan duration to lifetime or 180 days or 30 days.
|
8
|
+
|
9
|
+
1.4.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.3.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.2.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
@@ -27,7 +27,9 @@ 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'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::Inspector2
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
84
|
|
@@ -399,18 +403,18 @@ module Aws::Inspector2
|
|
399
403
|
#
|
400
404
|
# resp.accounts #=> Array
|
401
405
|
# resp.accounts[0].account_id #=> String
|
402
|
-
# resp.accounts[0].resource_state.ec2.error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS"
|
406
|
+
# resp.accounts[0].resource_state.ec2.error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS", "ACCOUNT_IS_ISOLATED"
|
403
407
|
# resp.accounts[0].resource_state.ec2.error_message #=> String
|
404
408
|
# resp.accounts[0].resource_state.ec2.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
405
|
-
# resp.accounts[0].resource_state.ecr.error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS"
|
409
|
+
# resp.accounts[0].resource_state.ecr.error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS", "ACCOUNT_IS_ISOLATED"
|
406
410
|
# resp.accounts[0].resource_state.ecr.error_message #=> String
|
407
411
|
# resp.accounts[0].resource_state.ecr.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
408
|
-
# resp.accounts[0].state.error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS"
|
412
|
+
# resp.accounts[0].state.error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS", "ACCOUNT_IS_ISOLATED"
|
409
413
|
# resp.accounts[0].state.error_message #=> String
|
410
414
|
# resp.accounts[0].state.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
411
415
|
# resp.failed_accounts #=> Array
|
412
416
|
# resp.failed_accounts[0].account_id #=> String
|
413
|
-
# resp.failed_accounts[0].error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS"
|
417
|
+
# resp.failed_accounts[0].error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS", "ACCOUNT_IS_ISOLATED"
|
414
418
|
# resp.failed_accounts[0].error_message #=> String
|
415
419
|
# resp.failed_accounts[0].resource_status.ec2 #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
416
420
|
# resp.failed_accounts[0].resource_status.ecr #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
@@ -509,6 +513,9 @@ module Aws::Inspector2
|
|
509
513
|
# Valid characters include alphanumeric characters, dot (.), underscore
|
510
514
|
# (\_), and dash (-). Spaces are not allowed.
|
511
515
|
#
|
516
|
+
# @option params [String] :reason
|
517
|
+
# The reason for creating the filter.
|
518
|
+
#
|
512
519
|
# @option params [Hash<String,String>] :tags
|
513
520
|
# A list of tags for the filter.
|
514
521
|
#
|
@@ -733,6 +740,7 @@ module Aws::Inspector2
|
|
733
740
|
# ],
|
734
741
|
# },
|
735
742
|
# name: "FilterName", # required
|
743
|
+
# reason: "FilterReason",
|
736
744
|
# tags: {
|
737
745
|
# "MapKey" => "MapValue",
|
738
746
|
# },
|
@@ -1084,7 +1092,7 @@ module Aws::Inspector2
|
|
1084
1092
|
# resp.accounts[0].status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1085
1093
|
# resp.failed_accounts #=> Array
|
1086
1094
|
# resp.failed_accounts[0].account_id #=> String
|
1087
|
-
# resp.failed_accounts[0].error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS"
|
1095
|
+
# resp.failed_accounts[0].error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS", "ACCOUNT_IS_ISOLATED"
|
1088
1096
|
# resp.failed_accounts[0].error_message #=> String
|
1089
1097
|
# resp.failed_accounts[0].resource_status.ec2 #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1090
1098
|
# resp.failed_accounts[0].resource_status.ecr #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
@@ -1196,7 +1204,7 @@ module Aws::Inspector2
|
|
1196
1204
|
# resp.accounts[0].status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1197
1205
|
# resp.failed_accounts #=> Array
|
1198
1206
|
# resp.failed_accounts[0].account_id #=> String
|
1199
|
-
# resp.failed_accounts[0].error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS"
|
1207
|
+
# resp.failed_accounts[0].error_code #=> String, one of "ALREADY_ENABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "SUSPEND_IN_PROGRESS", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "INTERNAL_ERROR", "SSM_UNAVAILABLE", "SSM_THROTTLED", "EVENTBRIDGE_UNAVAILABLE", "EVENTBRIDGE_THROTTLED", "RESOURCE_SCAN_NOT_DISABLED", "DISASSOCIATE_ALL_MEMBERS", "ACCOUNT_IS_ISOLATED"
|
1200
1208
|
# resp.failed_accounts[0].error_message #=> String
|
1201
1209
|
# resp.failed_accounts[0].resource_status.ec2 #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1202
1210
|
# resp.failed_accounts[0].resource_status.ecr #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
@@ -1248,6 +1256,27 @@ module Aws::Inspector2
|
|
1248
1256
|
req.send_request(options)
|
1249
1257
|
end
|
1250
1258
|
|
1259
|
+
# Retrieves setting configurations for Inspector scans.
|
1260
|
+
#
|
1261
|
+
# @return [Types::GetConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1262
|
+
#
|
1263
|
+
# * {Types::GetConfigurationResponse#ecr_configuration #ecr_configuration} => Types::EcrConfigurationState
|
1264
|
+
#
|
1265
|
+
# @example Response structure
|
1266
|
+
#
|
1267
|
+
# resp.ecr_configuration.rescan_duration_state.rescan_duration #=> String, one of "LIFETIME", "DAYS_30", "DAYS_180"
|
1268
|
+
# resp.ecr_configuration.rescan_duration_state.status #=> String, one of "SUCCESS", "PENDING", "FAILED"
|
1269
|
+
# resp.ecr_configuration.rescan_duration_state.updated_at #=> Time
|
1270
|
+
#
|
1271
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfiguration AWS API Documentation
|
1272
|
+
#
|
1273
|
+
# @overload get_configuration(params = {})
|
1274
|
+
# @param [Hash] params ({})
|
1275
|
+
def get_configuration(params = {}, options = {})
|
1276
|
+
req = build_request(:get_configuration, params)
|
1277
|
+
req.send_request(options)
|
1278
|
+
end
|
1279
|
+
|
1251
1280
|
# Retrieves information about the Amazon Inspector delegated
|
1252
1281
|
# administrator for your organization.
|
1253
1282
|
#
|
@@ -1294,7 +1323,7 @@ module Aws::Inspector2
|
|
1294
1323
|
# resp.destination.bucket_name #=> String
|
1295
1324
|
# resp.destination.key_prefix #=> String
|
1296
1325
|
# resp.destination.kms_key_arn #=> String
|
1297
|
-
# resp.error_code #=> String, one of "INTERNAL_ERROR", "INVALID_PERMISSIONS"
|
1326
|
+
# resp.error_code #=> String, one of "INTERNAL_ERROR", "INVALID_PERMISSIONS", "NO_FINDINGS_FOUND", "BUCKET_NOT_FOUND", "INCOMPATIBLE_BUCKET_REGION", "MALFORMED_KMS_KEY"
|
1298
1327
|
# resp.error_message #=> String
|
1299
1328
|
# resp.filter_criteria.aws_account_id #=> Array
|
1300
1329
|
# resp.filter_criteria.aws_account_id[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
@@ -1591,7 +1620,7 @@ module Aws::Inspector2
|
|
1591
1620
|
# resp.covered_resources[0].resource_metadata.ecr_repository.name #=> String
|
1592
1621
|
# resp.covered_resources[0].resource_metadata.ecr_repository.scan_frequency #=> String, one of "MANUAL", "SCAN_ON_PUSH", "CONTINUOUS_SCAN"
|
1593
1622
|
# resp.covered_resources[0].resource_type #=> String, one of "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER_IMAGE", "AWS_ECR_REPOSITORY"
|
1594
|
-
# resp.covered_resources[0].scan_status.reason #=> String, one of "PENDING_INITIAL_SCAN", "ACCESS_DENIED", "INTERNAL_ERROR", "UNMANAGED_EC2_INSTANCE", "UNSUPPORTED_OS", "SCAN_ELIGIBILITY_EXPIRED", "RESOURCE_TERMINATED", "SUCCESSFUL", "NO_RESOURCES_FOUND", "IMAGE_SIZE_EXCEEDED", "SCAN_FREQUENCY_MANUAL", "SCAN_FREQUENCY_SCAN_ON_PUSH", "EC2_INSTANCE_STOPPED"
|
1623
|
+
# resp.covered_resources[0].scan_status.reason #=> String, one of "PENDING_INITIAL_SCAN", "ACCESS_DENIED", "INTERNAL_ERROR", "UNMANAGED_EC2_INSTANCE", "UNSUPPORTED_OS", "SCAN_ELIGIBILITY_EXPIRED", "RESOURCE_TERMINATED", "SUCCESSFUL", "NO_RESOURCES_FOUND", "IMAGE_SIZE_EXCEEDED", "SCAN_FREQUENCY_MANUAL", "SCAN_FREQUENCY_SCAN_ON_PUSH", "EC2_INSTANCE_STOPPED", "PENDING_DISABLE"
|
1595
1624
|
# resp.covered_resources[0].scan_status.status_code #=> String, one of "ACTIVE", "INACTIVE"
|
1596
1625
|
# resp.covered_resources[0].scan_type #=> String, one of "NETWORK", "PACKAGE"
|
1597
1626
|
# resp.next_token #=> String
|
@@ -2480,7 +2509,7 @@ module Aws::Inspector2
|
|
2480
2509
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].file_path #=> String
|
2481
2510
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].fixed_in_version #=> String
|
2482
2511
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].name #=> String
|
2483
|
-
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].package_manager #=> String, one of "BUNDLER", "CARGO", "COMPOSER", "NPM", "NUGET", "PIPENV", "POETRY", "YARN", "GOBINARY", "GOMOD", "JAR", "OS"
|
2512
|
+
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].package_manager #=> String, one of "BUNDLER", "CARGO", "COMPOSER", "NPM", "NUGET", "PIPENV", "POETRY", "YARN", "GOBINARY", "GOMOD", "JAR", "OS", "PIP", "PYTHONPKG", "NODEPKG", "POM"
|
2484
2513
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].release #=> String
|
2485
2514
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].source_layer_hash #=> String
|
2486
2515
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].version #=> String
|
@@ -2713,6 +2742,34 @@ module Aws::Inspector2
|
|
2713
2742
|
req.send_request(options)
|
2714
2743
|
end
|
2715
2744
|
|
2745
|
+
# Updates setting configurations for your Amazon Inspector account. When
|
2746
|
+
# you use this API as an Amazon Inspector delegated administrator this
|
2747
|
+
# updates the setting for all accounts you manage. Member accounts in an
|
2748
|
+
# organization cannot update this setting.
|
2749
|
+
#
|
2750
|
+
# @option params [required, Types::EcrConfiguration] :ecr_configuration
|
2751
|
+
# Specifies how the ECR automated re-scan will be updated for your
|
2752
|
+
# environment.
|
2753
|
+
#
|
2754
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2755
|
+
#
|
2756
|
+
# @example Request syntax with placeholder values
|
2757
|
+
#
|
2758
|
+
# resp = client.update_configuration({
|
2759
|
+
# ecr_configuration: { # required
|
2760
|
+
# rescan_duration: "LIFETIME", # required, accepts LIFETIME, DAYS_30, DAYS_180
|
2761
|
+
# },
|
2762
|
+
# })
|
2763
|
+
#
|
2764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateConfiguration AWS API Documentation
|
2765
|
+
#
|
2766
|
+
# @overload update_configuration(params = {})
|
2767
|
+
# @param [Hash] params ({})
|
2768
|
+
def update_configuration(params = {}, options = {})
|
2769
|
+
req = build_request(:update_configuration, params)
|
2770
|
+
req.send_request(options)
|
2771
|
+
end
|
2772
|
+
|
2716
2773
|
# Specifies the action that is to be applied to the findings that match
|
2717
2774
|
# the filter.
|
2718
2775
|
#
|
@@ -2732,6 +2789,9 @@ module Aws::Inspector2
|
|
2732
2789
|
# @option params [String] :name
|
2733
2790
|
# The name of the filter.
|
2734
2791
|
#
|
2792
|
+
# @option params [String] :reason
|
2793
|
+
# The reason the filter was updated.
|
2794
|
+
#
|
2735
2795
|
# @return [Types::UpdateFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2736
2796
|
#
|
2737
2797
|
# * {Types::UpdateFilterResponse#arn #arn} => String
|
@@ -2954,6 +3014,7 @@ module Aws::Inspector2
|
|
2954
3014
|
# ],
|
2955
3015
|
# },
|
2956
3016
|
# name: "FilterName",
|
3017
|
+
# reason: "FilterReason",
|
2957
3018
|
# })
|
2958
3019
|
#
|
2959
3020
|
# @example Response structure
|
@@ -3015,7 +3076,7 @@ module Aws::Inspector2
|
|
3015
3076
|
params: params,
|
3016
3077
|
config: config)
|
3017
3078
|
context[:gem_name] = 'aws-sdk-inspector2'
|
3018
|
-
context[:gem_version] = '1.
|
3079
|
+
context[:gem_version] = '1.5.0'
|
3019
3080
|
Seahorse::Client::Request.new(handlers, context)
|
3020
3081
|
end
|
3021
3082
|
|
@@ -104,8 +104,13 @@ module Aws::Inspector2
|
|
104
104
|
Ec2InstanceSortBy = Shapes::StringShape.new(name: 'Ec2InstanceSortBy')
|
105
105
|
Ec2Metadata = Shapes::StructureShape.new(name: 'Ec2Metadata')
|
106
106
|
Ec2Platform = Shapes::StringShape.new(name: 'Ec2Platform')
|
107
|
+
EcrConfiguration = Shapes::StructureShape.new(name: 'EcrConfiguration')
|
108
|
+
EcrConfigurationState = Shapes::StructureShape.new(name: 'EcrConfigurationState')
|
107
109
|
EcrContainerImageMetadata = Shapes::StructureShape.new(name: 'EcrContainerImageMetadata')
|
108
110
|
EcrRepositoryMetadata = Shapes::StructureShape.new(name: 'EcrRepositoryMetadata')
|
111
|
+
EcrRescanDuration = Shapes::StringShape.new(name: 'EcrRescanDuration')
|
112
|
+
EcrRescanDurationState = Shapes::StructureShape.new(name: 'EcrRescanDurationState')
|
113
|
+
EcrRescanDurationStatus = Shapes::StringShape.new(name: 'EcrRescanDurationStatus')
|
109
114
|
EcrScanFrequency = Shapes::StringShape.new(name: 'EcrScanFrequency')
|
110
115
|
EnableDelegatedAdminAccountRequest = Shapes::StructureShape.new(name: 'EnableDelegatedAdminAccountRequest')
|
111
116
|
EnableDelegatedAdminAccountResponse = Shapes::StructureShape.new(name: 'EnableDelegatedAdminAccountResponse')
|
@@ -146,6 +151,8 @@ module Aws::Inspector2
|
|
146
151
|
FreeTrialInfoList = Shapes::ListShape.new(name: 'FreeTrialInfoList')
|
147
152
|
FreeTrialStatus = Shapes::StringShape.new(name: 'FreeTrialStatus')
|
148
153
|
FreeTrialType = Shapes::StringShape.new(name: 'FreeTrialType')
|
154
|
+
GetConfigurationRequest = Shapes::StructureShape.new(name: 'GetConfigurationRequest')
|
155
|
+
GetConfigurationResponse = Shapes::StructureShape.new(name: 'GetConfigurationResponse')
|
149
156
|
GetDelegatedAdminAccountRequest = Shapes::StructureShape.new(name: 'GetDelegatedAdminAccountRequest')
|
150
157
|
GetDelegatedAdminAccountResponse = Shapes::StructureShape.new(name: 'GetDelegatedAdminAccountResponse')
|
151
158
|
GetFindingsReportStatusRequest = Shapes::StructureShape.new(name: 'GetFindingsReportStatusRequest')
|
@@ -287,6 +294,8 @@ module Aws::Inspector2
|
|
287
294
|
TitleSortBy = Shapes::StringShape.new(name: 'TitleSortBy')
|
288
295
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
289
296
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
297
|
+
UpdateConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationRequest')
|
298
|
+
UpdateConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationResponse')
|
290
299
|
UpdateFilterRequest = Shapes::StructureShape.new(name: 'UpdateFilterRequest')
|
291
300
|
UpdateFilterResponse = Shapes::StructureShape.new(name: 'UpdateFilterResponse')
|
292
301
|
UpdateOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationRequest')
|
@@ -518,6 +527,7 @@ module Aws::Inspector2
|
|
518
527
|
CreateFilterRequest.add_member(:description, Shapes::ShapeRef.new(shape: FilterDescription, location_name: "description"))
|
519
528
|
CreateFilterRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: FilterCriteria, required: true, location_name: "filterCriteria"))
|
520
529
|
CreateFilterRequest.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "name"))
|
530
|
+
CreateFilterRequest.add_member(:reason, Shapes::ShapeRef.new(shape: FilterReason, location_name: "reason"))
|
521
531
|
CreateFilterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
522
532
|
CreateFilterRequest.struct_class = Types::CreateFilterRequest
|
523
533
|
|
@@ -631,6 +641,12 @@ module Aws::Inspector2
|
|
631
641
|
Ec2Metadata.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
632
642
|
Ec2Metadata.struct_class = Types::Ec2Metadata
|
633
643
|
|
644
|
+
EcrConfiguration.add_member(:rescan_duration, Shapes::ShapeRef.new(shape: EcrRescanDuration, required: true, location_name: "rescanDuration"))
|
645
|
+
EcrConfiguration.struct_class = Types::EcrConfiguration
|
646
|
+
|
647
|
+
EcrConfigurationState.add_member(:rescan_duration_state, Shapes::ShapeRef.new(shape: EcrRescanDurationState, location_name: "rescanDurationState"))
|
648
|
+
EcrConfigurationState.struct_class = Types::EcrConfigurationState
|
649
|
+
|
634
650
|
EcrContainerImageMetadata.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
635
651
|
EcrContainerImageMetadata.struct_class = Types::EcrContainerImageMetadata
|
636
652
|
|
@@ -638,6 +654,11 @@ module Aws::Inspector2
|
|
638
654
|
EcrRepositoryMetadata.add_member(:scan_frequency, Shapes::ShapeRef.new(shape: EcrScanFrequency, location_name: "scanFrequency"))
|
639
655
|
EcrRepositoryMetadata.struct_class = Types::EcrRepositoryMetadata
|
640
656
|
|
657
|
+
EcrRescanDurationState.add_member(:rescan_duration, Shapes::ShapeRef.new(shape: EcrRescanDuration, location_name: "rescanDuration"))
|
658
|
+
EcrRescanDurationState.add_member(:status, Shapes::ShapeRef.new(shape: EcrRescanDurationStatus, location_name: "status"))
|
659
|
+
EcrRescanDurationState.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, location_name: "updatedAt"))
|
660
|
+
EcrRescanDurationState.struct_class = Types::EcrRescanDurationState
|
661
|
+
|
641
662
|
EnableDelegatedAdminAccountRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
642
663
|
EnableDelegatedAdminAccountRequest.add_member(:delegated_admin_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "delegatedAdminAccountId"))
|
643
664
|
EnableDelegatedAdminAccountRequest.struct_class = Types::EnableDelegatedAdminAccountRequest
|
@@ -765,6 +786,11 @@ module Aws::Inspector2
|
|
765
786
|
|
766
787
|
FreeTrialInfoList.member = Shapes::ShapeRef.new(shape: FreeTrialInfo)
|
767
788
|
|
789
|
+
GetConfigurationRequest.struct_class = Types::GetConfigurationRequest
|
790
|
+
|
791
|
+
GetConfigurationResponse.add_member(:ecr_configuration, Shapes::ShapeRef.new(shape: EcrConfigurationState, location_name: "ecrConfiguration"))
|
792
|
+
GetConfigurationResponse.struct_class = Types::GetConfigurationResponse
|
793
|
+
|
768
794
|
GetDelegatedAdminAccountRequest.struct_class = Types::GetDelegatedAdminAccountRequest
|
769
795
|
|
770
796
|
GetDelegatedAdminAccountResponse.add_member(:delegated_admin, Shapes::ShapeRef.new(shape: DelegatedAdmin, location_name: "delegatedAdmin"))
|
@@ -1105,11 +1131,17 @@ module Aws::Inspector2
|
|
1105
1131
|
|
1106
1132
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
1107
1133
|
|
1134
|
+
UpdateConfigurationRequest.add_member(:ecr_configuration, Shapes::ShapeRef.new(shape: EcrConfiguration, required: true, location_name: "ecrConfiguration"))
|
1135
|
+
UpdateConfigurationRequest.struct_class = Types::UpdateConfigurationRequest
|
1136
|
+
|
1137
|
+
UpdateConfigurationResponse.struct_class = Types::UpdateConfigurationResponse
|
1138
|
+
|
1108
1139
|
UpdateFilterRequest.add_member(:action, Shapes::ShapeRef.new(shape: FilterAction, location_name: "action"))
|
1109
1140
|
UpdateFilterRequest.add_member(:description, Shapes::ShapeRef.new(shape: FilterDescription, location_name: "description"))
|
1110
1141
|
UpdateFilterRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: FilterArn, required: true, location_name: "filterArn"))
|
1111
1142
|
UpdateFilterRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: FilterCriteria, location_name: "filterCriteria"))
|
1112
1143
|
UpdateFilterRequest.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, location_name: "name"))
|
1144
|
+
UpdateFilterRequest.add_member(:reason, Shapes::ShapeRef.new(shape: FilterReason, location_name: "reason"))
|
1113
1145
|
UpdateFilterRequest.struct_class = Types::UpdateFilterRequest
|
1114
1146
|
|
1115
1147
|
UpdateFilterResponse.add_member(:arn, Shapes::ShapeRef.new(shape: FilterArn, required: true, location_name: "arn"))
|
@@ -1350,6 +1382,17 @@ module Aws::Inspector2
|
|
1350
1382
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1351
1383
|
end)
|
1352
1384
|
|
1385
|
+
api.add_operation(:get_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1386
|
+
o.name = "GetConfiguration"
|
1387
|
+
o.http_method = "POST"
|
1388
|
+
o.http_request_uri = "/configuration/get"
|
1389
|
+
o.input = Shapes::ShapeRef.new(shape: GetConfigurationRequest)
|
1390
|
+
o.output = Shapes::ShapeRef.new(shape: GetConfigurationResponse)
|
1391
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1392
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1393
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1394
|
+
end)
|
1395
|
+
|
1353
1396
|
api.add_operation(:get_delegated_admin_account, Seahorse::Model::Operation.new.tap do |o|
|
1354
1397
|
o.name = "GetDelegatedAdminAccount"
|
1355
1398
|
o.http_method = "POST"
|
@@ -1583,6 +1626,18 @@ module Aws::Inspector2
|
|
1583
1626
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1584
1627
|
end)
|
1585
1628
|
|
1629
|
+
api.add_operation(:update_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1630
|
+
o.name = "UpdateConfiguration"
|
1631
|
+
o.http_method = "POST"
|
1632
|
+
o.http_request_uri = "/configuration/update"
|
1633
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationRequest)
|
1634
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateConfigurationResponse)
|
1635
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1636
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1637
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1638
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1639
|
+
end)
|
1640
|
+
|
1586
1641
|
api.add_operation(:update_filter, Seahorse::Model::Operation.new.tap do |o|
|
1587
1642
|
o.name = "UpdateFilter"
|
1588
1643
|
o.http_method = "POST"
|
@@ -909,7 +909,8 @@ module Aws::Inspector2
|
|
909
909
|
#
|
910
910
|
# @!attribute [rw] resource_type
|
911
911
|
# An array of Amazon Web Services resource types to return coverage
|
912
|
-
# statistics for.
|
912
|
+
# statistics for. The values can be `AWS_EC2_INSTANCE` or
|
913
|
+
# `AWS_ECR_REPOSITORY`.
|
913
914
|
# @return [Array<Types::CoverageStringFilter>]
|
914
915
|
#
|
915
916
|
# @!attribute [rw] scan_status_code
|
@@ -1259,6 +1260,7 @@ module Aws::Inspector2
|
|
1259
1260
|
# ],
|
1260
1261
|
# },
|
1261
1262
|
# name: "FilterName", # required
|
1263
|
+
# reason: "FilterReason",
|
1262
1264
|
# tags: {
|
1263
1265
|
# "MapKey" => "MapValue",
|
1264
1266
|
# },
|
@@ -1283,6 +1285,10 @@ module Aws::Inspector2
|
|
1283
1285
|
# underscore (\_), and dash (-). Spaces are not allowed.
|
1284
1286
|
# @return [String]
|
1285
1287
|
#
|
1288
|
+
# @!attribute [rw] reason
|
1289
|
+
# The reason for creating the filter.
|
1290
|
+
# @return [String]
|
1291
|
+
#
|
1286
1292
|
# @!attribute [rw] tags
|
1287
1293
|
# A list of tags for the filter.
|
1288
1294
|
# @return [Hash<String,String>]
|
@@ -1294,6 +1300,7 @@ module Aws::Inspector2
|
|
1294
1300
|
:description,
|
1295
1301
|
:filter_criteria,
|
1296
1302
|
:name,
|
1303
|
+
:reason,
|
1297
1304
|
:tags)
|
1298
1305
|
SENSITIVE = []
|
1299
1306
|
include Aws::Structure
|
@@ -2073,6 +2080,47 @@ module Aws::Inspector2
|
|
2073
2080
|
include Aws::Structure
|
2074
2081
|
end
|
2075
2082
|
|
2083
|
+
# Details about the ECR automated re-scan duration setting for your
|
2084
|
+
# environment
|
2085
|
+
#
|
2086
|
+
# @note When making an API call, you may pass EcrConfiguration
|
2087
|
+
# data as a hash:
|
2088
|
+
#
|
2089
|
+
# {
|
2090
|
+
# rescan_duration: "LIFETIME", # required, accepts LIFETIME, DAYS_30, DAYS_180
|
2091
|
+
# }
|
2092
|
+
#
|
2093
|
+
# @!attribute [rw] rescan_duration
|
2094
|
+
# The ECR automated re-scan duration defines how long an ECR image
|
2095
|
+
# will be actively scanned by Amazon Inspector. When the number of
|
2096
|
+
# days since an image was last pushed exceeds the automated re-scan
|
2097
|
+
# duration the monitoring state of that image becomes `inactive` and
|
2098
|
+
# all associated findings are scheduled for closure.
|
2099
|
+
# @return [String]
|
2100
|
+
#
|
2101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EcrConfiguration AWS API Documentation
|
2102
|
+
#
|
2103
|
+
class EcrConfiguration < Struct.new(
|
2104
|
+
:rescan_duration)
|
2105
|
+
SENSITIVE = []
|
2106
|
+
include Aws::Structure
|
2107
|
+
end
|
2108
|
+
|
2109
|
+
# Details about the state of the ECR scans for your environment.
|
2110
|
+
#
|
2111
|
+
# @!attribute [rw] rescan_duration_state
|
2112
|
+
# An object that contains details about the state of the ECR automated
|
2113
|
+
# re-scan setting.
|
2114
|
+
# @return [Types::EcrRescanDurationState]
|
2115
|
+
#
|
2116
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EcrConfigurationState AWS API Documentation
|
2117
|
+
#
|
2118
|
+
class EcrConfigurationState < Struct.new(
|
2119
|
+
:rescan_duration_state)
|
2120
|
+
SENSITIVE = []
|
2121
|
+
include Aws::Structure
|
2122
|
+
end
|
2123
|
+
|
2076
2124
|
# Information on the Amazon ECR image metadata associated with a
|
2077
2125
|
# finding.
|
2078
2126
|
#
|
@@ -2108,6 +2156,36 @@ module Aws::Inspector2
|
|
2108
2156
|
include Aws::Structure
|
2109
2157
|
end
|
2110
2158
|
|
2159
|
+
# Details about the state of any changes to the ECR automated re-scan
|
2160
|
+
# duration setting.
|
2161
|
+
#
|
2162
|
+
# @!attribute [rw] rescan_duration
|
2163
|
+
# The ECR automated re-scan duration defines how long an ECR image
|
2164
|
+
# will be actively scanned by Amazon Inspector. When the number of
|
2165
|
+
# days since an image was last pushed exceeds the automated re-scan
|
2166
|
+
# duration the monitoring state of that image becomes `inactive` and
|
2167
|
+
# all associated findings are scheduled for closure.
|
2168
|
+
# @return [String]
|
2169
|
+
#
|
2170
|
+
# @!attribute [rw] status
|
2171
|
+
# The status of changes to the ECR automated re-scan duration.
|
2172
|
+
# @return [String]
|
2173
|
+
#
|
2174
|
+
# @!attribute [rw] updated_at
|
2175
|
+
# A timestamp representing when the last time the ECR scan duration
|
2176
|
+
# setting was changed.
|
2177
|
+
# @return [Time]
|
2178
|
+
#
|
2179
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EcrRescanDurationState AWS API Documentation
|
2180
|
+
#
|
2181
|
+
class EcrRescanDurationState < Struct.new(
|
2182
|
+
:rescan_duration,
|
2183
|
+
:status,
|
2184
|
+
:updated_at)
|
2185
|
+
SENSITIVE = []
|
2186
|
+
include Aws::Structure
|
2187
|
+
end
|
2188
|
+
|
2111
2189
|
# @note When making an API call, you may pass EnableDelegatedAdminAccountRequest
|
2112
2190
|
# data as a hash:
|
2113
2191
|
#
|
@@ -2920,6 +2998,25 @@ module Aws::Inspector2
|
|
2920
2998
|
include Aws::Structure
|
2921
2999
|
end
|
2922
3000
|
|
3001
|
+
# @api private
|
3002
|
+
#
|
3003
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfigurationRequest AWS API Documentation
|
3004
|
+
#
|
3005
|
+
class GetConfigurationRequest < Aws::EmptyStructure; end
|
3006
|
+
|
3007
|
+
# @!attribute [rw] ecr_configuration
|
3008
|
+
# Specifies how the ECR automated re-scan duration is currently
|
3009
|
+
# configured for your environment.
|
3010
|
+
# @return [Types::EcrConfigurationState]
|
3011
|
+
#
|
3012
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfigurationResponse AWS API Documentation
|
3013
|
+
#
|
3014
|
+
class GetConfigurationResponse < Struct.new(
|
3015
|
+
:ecr_configuration)
|
3016
|
+
SENSITIVE = []
|
3017
|
+
include Aws::Structure
|
3018
|
+
end
|
3019
|
+
|
2923
3020
|
# @api private
|
2924
3021
|
#
|
2925
3022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetDelegatedAdminAccountRequest AWS API Documentation
|
@@ -5171,6 +5268,32 @@ module Aws::Inspector2
|
|
5171
5268
|
#
|
5172
5269
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
5173
5270
|
|
5271
|
+
# @note When making an API call, you may pass UpdateConfigurationRequest
|
5272
|
+
# data as a hash:
|
5273
|
+
#
|
5274
|
+
# {
|
5275
|
+
# ecr_configuration: { # required
|
5276
|
+
# rescan_duration: "LIFETIME", # required, accepts LIFETIME, DAYS_30, DAYS_180
|
5277
|
+
# },
|
5278
|
+
# }
|
5279
|
+
#
|
5280
|
+
# @!attribute [rw] ecr_configuration
|
5281
|
+
# Specifies how the ECR automated re-scan will be updated for your
|
5282
|
+
# environment.
|
5283
|
+
# @return [Types::EcrConfiguration]
|
5284
|
+
#
|
5285
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateConfigurationRequest AWS API Documentation
|
5286
|
+
#
|
5287
|
+
class UpdateConfigurationRequest < Struct.new(
|
5288
|
+
:ecr_configuration)
|
5289
|
+
SENSITIVE = []
|
5290
|
+
include Aws::Structure
|
5291
|
+
end
|
5292
|
+
|
5293
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateConfigurationResponse AWS API Documentation
|
5294
|
+
#
|
5295
|
+
class UpdateConfigurationResponse < Aws::EmptyStructure; end
|
5296
|
+
|
5174
5297
|
# @note When making an API call, you may pass UpdateFilterRequest
|
5175
5298
|
# data as a hash:
|
5176
5299
|
#
|
@@ -5390,6 +5513,7 @@ module Aws::Inspector2
|
|
5390
5513
|
# ],
|
5391
5514
|
# },
|
5392
5515
|
# name: "FilterName",
|
5516
|
+
# reason: "FilterReason",
|
5393
5517
|
# }
|
5394
5518
|
#
|
5395
5519
|
# @!attribute [rw] action
|
@@ -5413,6 +5537,10 @@ module Aws::Inspector2
|
|
5413
5537
|
# The name of the filter.
|
5414
5538
|
# @return [String]
|
5415
5539
|
#
|
5540
|
+
# @!attribute [rw] reason
|
5541
|
+
# The reason the filter was updated.
|
5542
|
+
# @return [String]
|
5543
|
+
#
|
5416
5544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateFilterRequest AWS API Documentation
|
5417
5545
|
#
|
5418
5546
|
class UpdateFilterRequest < Struct.new(
|
@@ -5420,7 +5548,8 @@ module Aws::Inspector2
|
|
5420
5548
|
:description,
|
5421
5549
|
:filter_arn,
|
5422
5550
|
:filter_criteria,
|
5423
|
-
:name
|
5551
|
+
:name,
|
5552
|
+
:reason)
|
5424
5553
|
SENSITIVE = []
|
5425
5554
|
include Aws::Structure
|
5426
5555
|
end
|
data/lib/aws-sdk-inspector2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-inspector2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.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:
|
11
|
+
date: 2022-07-14 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
|