aws-sdk-inspector2 1.34.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +22 -18
- data/lib/aws-sdk-inspector2/client_api.rb +9 -2
- data/lib/aws-sdk-inspector2/types.rb +23 -0
- data/lib/aws-sdk-inspector2.rb +1 -1
- data/sig/types.rbs +7 -3
- 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: c9cc800fa3e38b55c0cdbafcdb9524f93ae2befdda7d063babf040ece4c664d4
|
4
|
+
data.tar.gz: 60fbb864282db97445f9746cdd413825daad16412a1300dab1cbfe010dc960ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64dd75d8ad69addeaf7d1efaef6707d2eaea780e1d861be9ede3f3a30e6b66f287bd2b3413935c5ab6456d456d519f27083ebefe77ee3f74fe5f82bca9202f77
|
7
|
+
data.tar.gz: 047cd90e621157527806d41446e3f784846f25b1bfd0e51a0bc9d3b57580a3dc74b20ead52f7fbeeda44cf95d3ab65a0a893662b0b0605e58e84772d518f0fc5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.36.0 (2024-08-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add enums for Agentless scan statuses and EC2 enablement error states
|
8
|
+
|
9
|
+
1.35.0 (2024-08-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Update the correct format of key and values for resource tags
|
13
|
+
|
4
14
|
1.34.0 (2024-07-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.36.0
|
@@ -486,24 +486,24 @@ module Aws::Inspector2
|
|
486
486
|
#
|
487
487
|
# resp.accounts #=> Array
|
488
488
|
# resp.accounts[0].account_id #=> String
|
489
|
-
# 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"
|
489
|
+
# 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", "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED", "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED"
|
490
490
|
# resp.accounts[0].resource_state.ec2.error_message #=> String
|
491
491
|
# resp.accounts[0].resource_state.ec2.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
492
|
-
# 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"
|
492
|
+
# 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", "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED", "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED"
|
493
493
|
# resp.accounts[0].resource_state.ecr.error_message #=> String
|
494
494
|
# resp.accounts[0].resource_state.ecr.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
495
|
-
# resp.accounts[0].resource_state.lambda.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"
|
495
|
+
# resp.accounts[0].resource_state.lambda.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", "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED", "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED"
|
496
496
|
# resp.accounts[0].resource_state.lambda.error_message #=> String
|
497
497
|
# resp.accounts[0].resource_state.lambda.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
498
|
-
# resp.accounts[0].resource_state.lambda_code.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"
|
498
|
+
# resp.accounts[0].resource_state.lambda_code.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", "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED", "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED"
|
499
499
|
# resp.accounts[0].resource_state.lambda_code.error_message #=> String
|
500
500
|
# resp.accounts[0].resource_state.lambda_code.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
501
|
-
# 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"
|
501
|
+
# 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", "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED", "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED"
|
502
502
|
# resp.accounts[0].state.error_message #=> String
|
503
503
|
# resp.accounts[0].state.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
504
504
|
# resp.failed_accounts #=> Array
|
505
505
|
# resp.failed_accounts[0].account_id #=> String
|
506
|
-
# 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"
|
506
|
+
# 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", "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED", "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED"
|
507
507
|
# resp.failed_accounts[0].error_message #=> String
|
508
508
|
# resp.failed_accounts[0].resource_status.ec2 #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
509
509
|
# resp.failed_accounts[0].resource_status.ecr #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
@@ -855,7 +855,7 @@ module Aws::Inspector2
|
|
855
855
|
# targets: { # required
|
856
856
|
# account_ids: ["TargetAccount"], # required
|
857
857
|
# target_resource_tags: { # required
|
858
|
-
# "
|
858
|
+
# "TargetResourceTagsKey" => ["TargetResourceTagsValue"],
|
859
859
|
# },
|
860
860
|
# },
|
861
861
|
# })
|
@@ -1738,7 +1738,7 @@ module Aws::Inspector2
|
|
1738
1738
|
# resp.accounts[0].status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1739
1739
|
# resp.failed_accounts #=> Array
|
1740
1740
|
# resp.failed_accounts[0].account_id #=> String
|
1741
|
-
# 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"
|
1741
|
+
# 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", "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED", "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED"
|
1742
1742
|
# resp.failed_accounts[0].error_message #=> String
|
1743
1743
|
# resp.failed_accounts[0].resource_status.ec2 #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1744
1744
|
# resp.failed_accounts[0].resource_status.ecr #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
@@ -1854,7 +1854,7 @@ module Aws::Inspector2
|
|
1854
1854
|
# resp.accounts[0].status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1855
1855
|
# resp.failed_accounts #=> Array
|
1856
1856
|
# resp.failed_accounts[0].account_id #=> String
|
1857
|
-
# 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"
|
1857
|
+
# 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", "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED", "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED"
|
1858
1858
|
# resp.failed_accounts[0].error_message #=> String
|
1859
1859
|
# resp.failed_accounts[0].resource_status.ec2 #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
1860
1860
|
# resp.failed_accounts[0].resource_status.ecr #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "SUSPENDING", "SUSPENDED"
|
@@ -2563,8 +2563,8 @@ module Aws::Inspector2
|
|
2563
2563
|
# resp.scan_configurations[0].targets.account_ids #=> Array
|
2564
2564
|
# resp.scan_configurations[0].targets.account_ids[0] #=> String
|
2565
2565
|
# resp.scan_configurations[0].targets.target_resource_tags #=> Hash
|
2566
|
-
# resp.scan_configurations[0].targets.target_resource_tags["
|
2567
|
-
# resp.scan_configurations[0].targets.target_resource_tags["
|
2566
|
+
# resp.scan_configurations[0].targets.target_resource_tags["TargetResourceTagsKey"] #=> Array
|
2567
|
+
# resp.scan_configurations[0].targets.target_resource_tags["TargetResourceTagsKey"][0] #=> String
|
2568
2568
|
#
|
2569
2569
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCisScanConfigurations AWS API Documentation
|
2570
2570
|
#
|
@@ -2784,8 +2784,8 @@ module Aws::Inspector2
|
|
2784
2784
|
# resp.target_resource_aggregations[0].status_counts.skipped #=> Integer
|
2785
2785
|
# resp.target_resource_aggregations[0].target_resource_id #=> String
|
2786
2786
|
# resp.target_resource_aggregations[0].target_resource_tags #=> Hash
|
2787
|
-
# resp.target_resource_aggregations[0].target_resource_tags["
|
2788
|
-
# resp.target_resource_aggregations[0].target_resource_tags["
|
2787
|
+
# resp.target_resource_aggregations[0].target_resource_tags["TargetResourceTagsKey"] #=> Array
|
2788
|
+
# resp.target_resource_aggregations[0].target_resource_tags["TargetResourceTagsKey"][0] #=> String
|
2789
2789
|
# resp.target_resource_aggregations[0].target_status #=> String, one of "TIMED_OUT", "CANCELLED", "COMPLETED"
|
2790
2790
|
# resp.target_resource_aggregations[0].target_status_reason #=> String, one of "SCAN_IN_PROGRESS", "UNSUPPORTED_OS", "SSM_UNMANAGED"
|
2791
2791
|
#
|
@@ -2914,8 +2914,8 @@ module Aws::Inspector2
|
|
2914
2914
|
# resp.scans[0].targets.account_ids #=> Array
|
2915
2915
|
# resp.scans[0].targets.account_ids[0] #=> String
|
2916
2916
|
# resp.scans[0].targets.target_resource_tags #=> Hash
|
2917
|
-
# resp.scans[0].targets.target_resource_tags["
|
2918
|
-
# resp.scans[0].targets.target_resource_tags["
|
2917
|
+
# resp.scans[0].targets.target_resource_tags["TargetResourceTagsKey"] #=> Array
|
2918
|
+
# resp.scans[0].targets.target_resource_tags["TargetResourceTagsKey"][0] #=> String
|
2919
2919
|
# resp.scans[0].total_checks #=> Integer
|
2920
2920
|
#
|
2921
2921
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCisScans AWS API Documentation
|
@@ -3078,7 +3078,7 @@ module Aws::Inspector2
|
|
3078
3078
|
# resp.covered_resources[0].resource_metadata.lambda_function.runtime #=> String, one of "NODEJS", "NODEJS_12_X", "NODEJS_14_X", "NODEJS_16_X", "JAVA_8", "JAVA_8_AL2", "JAVA_11", "PYTHON_3_7", "PYTHON_3_8", "PYTHON_3_9", "UNSUPPORTED", "NODEJS_18_X", "GO_1_X", "JAVA_17", "PYTHON_3_10"
|
3079
3079
|
# resp.covered_resources[0].resource_type #=> String, one of "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER_IMAGE", "AWS_ECR_REPOSITORY", "AWS_LAMBDA_FUNCTION"
|
3080
3080
|
# resp.covered_resources[0].scan_mode #=> String, one of "EC2_SSM_AGENT_BASED", "EC2_AGENTLESS"
|
3081
|
-
# 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", "NO_INVENTORY", "STALE_INVENTORY", "EXCLUDED_BY_TAG", "UNSUPPORTED_RUNTIME", "UNSUPPORTED_MEDIA_TYPE", "UNSUPPORTED_CONFIG_FILE", "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED", "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED", "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED", "DEEP_INSPECTION_NO_INVENTORY"
|
3081
|
+
# 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", "NO_INVENTORY", "STALE_INVENTORY", "EXCLUDED_BY_TAG", "UNSUPPORTED_RUNTIME", "UNSUPPORTED_MEDIA_TYPE", "UNSUPPORTED_CONFIG_FILE", "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED", "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED", "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED", "DEEP_INSPECTION_NO_INVENTORY", "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED", "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED"
|
3082
3082
|
# resp.covered_resources[0].scan_status.status_code #=> String, one of "ACTIVE", "INACTIVE"
|
3083
3083
|
# resp.covered_resources[0].scan_type #=> String, one of "NETWORK", "PACKAGE", "CODE"
|
3084
3084
|
# resp.next_token #=> String
|
@@ -3736,6 +3736,8 @@ module Aws::Inspector2
|
|
3736
3736
|
# resp.next_token #=> String
|
3737
3737
|
# resp.responses #=> Array
|
3738
3738
|
# resp.responses[0].account_aggregation.account_id #=> String
|
3739
|
+
# resp.responses[0].account_aggregation.exploit_available_count #=> Integer
|
3740
|
+
# resp.responses[0].account_aggregation.fix_available_count #=> Integer
|
3739
3741
|
# resp.responses[0].account_aggregation.severity_counts.all #=> Integer
|
3740
3742
|
# resp.responses[0].account_aggregation.severity_counts.critical #=> Integer
|
3741
3743
|
# resp.responses[0].account_aggregation.severity_counts.high #=> Integer
|
@@ -3770,6 +3772,8 @@ module Aws::Inspector2
|
|
3770
3772
|
# resp.responses[0].ec2_instance_aggregation.severity_counts.high #=> Integer
|
3771
3773
|
# resp.responses[0].ec2_instance_aggregation.severity_counts.medium #=> Integer
|
3772
3774
|
# resp.responses[0].finding_type_aggregation.account_id #=> String
|
3775
|
+
# resp.responses[0].finding_type_aggregation.exploit_available_count #=> Integer
|
3776
|
+
# resp.responses[0].finding_type_aggregation.fix_available_count #=> Integer
|
3773
3777
|
# resp.responses[0].finding_type_aggregation.severity_counts.all #=> Integer
|
3774
3778
|
# resp.responses[0].finding_type_aggregation.severity_counts.critical #=> Integer
|
3775
3779
|
# resp.responses[0].finding_type_aggregation.severity_counts.high #=> Integer
|
@@ -4780,7 +4784,7 @@ module Aws::Inspector2
|
|
4780
4784
|
# targets: {
|
4781
4785
|
# account_ids: ["TargetAccount"],
|
4782
4786
|
# target_resource_tags: {
|
4783
|
-
# "
|
4787
|
+
# "TargetResourceTagsKey" => ["TargetResourceTagsValue"],
|
4784
4788
|
# },
|
4785
4789
|
# },
|
4786
4790
|
# })
|
@@ -5320,7 +5324,7 @@ module Aws::Inspector2
|
|
5320
5324
|
params: params,
|
5321
5325
|
config: config)
|
5322
5326
|
context[:gem_name] = 'aws-sdk-inspector2'
|
5323
|
-
context[:gem_version] = '1.
|
5327
|
+
context[:gem_version] = '1.36.0'
|
5324
5328
|
Seahorse::Client::Request.new(handlers, context)
|
5325
5329
|
end
|
5326
5330
|
|
@@ -546,6 +546,8 @@ module Aws::Inspector2
|
|
546
546
|
TargetAccount = Shapes::StringShape.new(name: 'TargetAccount')
|
547
547
|
TargetAccountList = Shapes::ListShape.new(name: 'TargetAccountList')
|
548
548
|
TargetResourceTags = Shapes::MapShape.new(name: 'TargetResourceTags')
|
549
|
+
TargetResourceTagsKey = Shapes::StringShape.new(name: 'TargetResourceTagsKey')
|
550
|
+
TargetResourceTagsValue = Shapes::StringShape.new(name: 'TargetResourceTagsValue')
|
549
551
|
TargetStatusFilterList = Shapes::ListShape.new(name: 'TargetStatusFilterList')
|
550
552
|
TargetStatusReasonFilterList = Shapes::ListShape.new(name: 'TargetStatusReasonFilterList')
|
551
553
|
Targets = Shapes::ListShape.new(name: 'Targets')
|
@@ -629,6 +631,8 @@ module Aws::Inspector2
|
|
629
631
|
AccountAggregation.struct_class = Types::AccountAggregation
|
630
632
|
|
631
633
|
AccountAggregationResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
634
|
+
AccountAggregationResponse.add_member(:exploit_available_count, Shapes::ShapeRef.new(shape: Long, location_name: "exploitAvailableCount"))
|
635
|
+
AccountAggregationResponse.add_member(:fix_available_count, Shapes::ShapeRef.new(shape: Long, location_name: "fixAvailableCount"))
|
632
636
|
AccountAggregationResponse.add_member(:severity_counts, Shapes::ShapeRef.new(shape: SeverityCounts, location_name: "severityCounts"))
|
633
637
|
AccountAggregationResponse.struct_class = Types::AccountAggregationResponse
|
634
638
|
|
@@ -1484,6 +1488,8 @@ module Aws::Inspector2
|
|
1484
1488
|
FindingTypeAggregation.struct_class = Types::FindingTypeAggregation
|
1485
1489
|
|
1486
1490
|
FindingTypeAggregationResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
1491
|
+
FindingTypeAggregationResponse.add_member(:exploit_available_count, Shapes::ShapeRef.new(shape: Long, location_name: "exploitAvailableCount"))
|
1492
|
+
FindingTypeAggregationResponse.add_member(:fix_available_count, Shapes::ShapeRef.new(shape: Long, location_name: "fixAvailableCount"))
|
1487
1493
|
FindingTypeAggregationResponse.add_member(:severity_counts, Shapes::ShapeRef.new(shape: SeverityCounts, location_name: "severityCounts"))
|
1488
1494
|
FindingTypeAggregationResponse.struct_class = Types::FindingTypeAggregationResponse
|
1489
1495
|
|
@@ -2153,11 +2159,11 @@ module Aws::Inspector2
|
|
2153
2159
|
|
2154
2160
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
2155
2161
|
|
2156
|
-
TagValueList.member = Shapes::ShapeRef.new(shape:
|
2162
|
+
TagValueList.member = Shapes::ShapeRef.new(shape: TargetResourceTagsValue)
|
2157
2163
|
|
2158
2164
|
TargetAccountList.member = Shapes::ShapeRef.new(shape: TargetAccount)
|
2159
2165
|
|
2160
|
-
TargetResourceTags.key = Shapes::ShapeRef.new(shape:
|
2166
|
+
TargetResourceTags.key = Shapes::ShapeRef.new(shape: TargetResourceTagsKey)
|
2161
2167
|
TargetResourceTags.value = Shapes::ShapeRef.new(shape: TagValueList)
|
2162
2168
|
|
2163
2169
|
TargetStatusFilterList.member = Shapes::ShapeRef.new(shape: CisTargetStatusFilter)
|
@@ -2340,6 +2346,7 @@ module Aws::Inspector2
|
|
2340
2346
|
|
2341
2347
|
api.metadata = {
|
2342
2348
|
"apiVersion" => "2020-06-08",
|
2349
|
+
"auth" => ["aws.auth#sigv4"],
|
2343
2350
|
"endpointPrefix" => "inspector2",
|
2344
2351
|
"jsonVersion" => "1.1",
|
2345
2352
|
"protocol" => "rest-json",
|
@@ -12,6 +12,9 @@ module Aws::Inspector2
|
|
12
12
|
|
13
13
|
# You do not have sufficient access to perform this action.
|
14
14
|
#
|
15
|
+
# For `Enable`, you receive this error if you attempt to use a feature
|
16
|
+
# in an unsupported Amazon Web Services Region.
|
17
|
+
#
|
15
18
|
# @!attribute [rw] message
|
16
19
|
# @return [String]
|
17
20
|
#
|
@@ -84,6 +87,14 @@ module Aws::Inspector2
|
|
84
87
|
# The Amazon Web Services account ID.
|
85
88
|
# @return [String]
|
86
89
|
#
|
90
|
+
# @!attribute [rw] exploit_available_count
|
91
|
+
# The number of findings that have an exploit available.
|
92
|
+
# @return [Integer]
|
93
|
+
#
|
94
|
+
# @!attribute [rw] fix_available_count
|
95
|
+
# Details about the number of fixes.
|
96
|
+
# @return [Integer]
|
97
|
+
#
|
87
98
|
# @!attribute [rw] severity_counts
|
88
99
|
# The number of findings by severity.
|
89
100
|
# @return [Types::SeverityCounts]
|
@@ -92,6 +103,8 @@ module Aws::Inspector2
|
|
92
103
|
#
|
93
104
|
class AccountAggregationResponse < Struct.new(
|
94
105
|
:account_id,
|
106
|
+
:exploit_available_count,
|
107
|
+
:fix_available_count,
|
95
108
|
:severity_counts)
|
96
109
|
SENSITIVE = []
|
97
110
|
include Aws::Structure
|
@@ -3764,6 +3777,14 @@ module Aws::Inspector2
|
|
3764
3777
|
# findings.
|
3765
3778
|
# @return [String]
|
3766
3779
|
#
|
3780
|
+
# @!attribute [rw] exploit_available_count
|
3781
|
+
# The number of findings that have an exploit available.
|
3782
|
+
# @return [Integer]
|
3783
|
+
#
|
3784
|
+
# @!attribute [rw] fix_available_count
|
3785
|
+
# Details about the number of fixes.
|
3786
|
+
# @return [Integer]
|
3787
|
+
#
|
3767
3788
|
# @!attribute [rw] severity_counts
|
3768
3789
|
# The value to sort results by.
|
3769
3790
|
# @return [Types::SeverityCounts]
|
@@ -3772,6 +3793,8 @@ module Aws::Inspector2
|
|
3772
3793
|
#
|
3773
3794
|
class FindingTypeAggregationResponse < Struct.new(
|
3774
3795
|
:account_id,
|
3796
|
+
:exploit_available_count,
|
3797
|
+
:fix_available_count,
|
3775
3798
|
:severity_counts)
|
3776
3799
|
SENSITIVE = []
|
3777
3800
|
include Aws::Structure
|
data/lib/aws-sdk-inspector2.rb
CHANGED
data/sig/types.rbs
CHANGED
@@ -30,6 +30,8 @@ module Aws::Inspector2
|
|
30
30
|
|
31
31
|
class AccountAggregationResponse
|
32
32
|
attr_accessor account_id: ::String
|
33
|
+
attr_accessor exploit_available_count: ::Integer
|
34
|
+
attr_accessor fix_available_count: ::Integer
|
33
35
|
attr_accessor severity_counts: Types::SeverityCounts
|
34
36
|
SENSITIVE: []
|
35
37
|
end
|
@@ -915,7 +917,7 @@ module Aws::Inspector2
|
|
915
917
|
|
916
918
|
class FailedAccount
|
917
919
|
attr_accessor account_id: ::String
|
918
|
-
attr_accessor error_code: ("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")
|
920
|
+
attr_accessor error_code: ("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" | "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED" | "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED")
|
919
921
|
attr_accessor error_message: ::String
|
920
922
|
attr_accessor resource_status: Types::ResourceStatus
|
921
923
|
attr_accessor status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
|
@@ -1045,6 +1047,8 @@ module Aws::Inspector2
|
|
1045
1047
|
|
1046
1048
|
class FindingTypeAggregationResponse
|
1047
1049
|
attr_accessor account_id: ::String
|
1050
|
+
attr_accessor exploit_available_count: ::Integer
|
1051
|
+
attr_accessor fix_available_count: ::Integer
|
1048
1052
|
attr_accessor severity_counts: Types::SeverityCounts
|
1049
1053
|
SENSITIVE: []
|
1050
1054
|
end
|
@@ -1699,7 +1703,7 @@ module Aws::Inspector2
|
|
1699
1703
|
end
|
1700
1704
|
|
1701
1705
|
class ScanStatus
|
1702
|
-
attr_accessor reason: ("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" | "NO_INVENTORY" | "STALE_INVENTORY" | "EXCLUDED_BY_TAG" | "UNSUPPORTED_RUNTIME" | "UNSUPPORTED_MEDIA_TYPE" | "UNSUPPORTED_CONFIG_FILE" | "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED" | "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED" | "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED" | "DEEP_INSPECTION_NO_INVENTORY")
|
1706
|
+
attr_accessor reason: ("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" | "NO_INVENTORY" | "STALE_INVENTORY" | "EXCLUDED_BY_TAG" | "UNSUPPORTED_RUNTIME" | "UNSUPPORTED_MEDIA_TYPE" | "UNSUPPORTED_CONFIG_FILE" | "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED" | "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED" | "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED" | "DEEP_INSPECTION_NO_INVENTORY" | "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED" | "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED")
|
1703
1707
|
attr_accessor status_code: ("ACTIVE" | "INACTIVE")
|
1704
1708
|
SENSITIVE: []
|
1705
1709
|
end
|
@@ -1795,7 +1799,7 @@ module Aws::Inspector2
|
|
1795
1799
|
end
|
1796
1800
|
|
1797
1801
|
class State
|
1798
|
-
attr_accessor error_code: ("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")
|
1802
|
+
attr_accessor error_code: ("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" | "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED" | "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED")
|
1799
1803
|
attr_accessor error_message: ::String
|
1800
1804
|
attr_accessor status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
|
1801
1805
|
SENSITIVE: []
|
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.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for Inspector2. This gem is part of the AWS SDK
|
48
48
|
for Ruby.
|
49
49
|
email:
|