aws-sdk-inspector2 1.20.0 → 1.22.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 +69 -35
- data/lib/aws-sdk-inspector2/types.rb +202 -38
- 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: 4fa000ecb1a03d606a5f53eddeff2032ccebc9cf45db7fc74d1a04fe240bb092
|
4
|
+
data.tar.gz: ee5d954b26b65662aca3d2d3c9d71d8079be0e1aed037fed5593317a7ba2a156
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da7b38db5027322064e3239f1fc7c4a9d606ade62f321fef9db41bc4a08aba43bd9f24080cf9f76fd602d97c1ef98bdc2cde9f7b9e75d2fbd66b0ee511ce77e9
|
7
|
+
data.tar.gz: fff894328240dae325bd2e92857dfc238df8ec5c8bd786ec41e0c44744c9b056d15753c7549b4f8a462eb3895a62d88798cae2cb0b2a0d9344731bdd29f9b3f2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.22.0 (2023-10-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add MacOs ec2 platform support
|
8
|
+
|
9
|
+
1.21.0 (2023-09-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.20.0 (2023-07-31)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.22.0
|
@@ -761,7 +761,9 @@ module Aws::Inspector2
|
|
761
761
|
req.send_request(options)
|
762
762
|
end
|
763
763
|
|
764
|
-
# Creates a filter resource using specified filter criteria.
|
764
|
+
# Creates a filter resource using specified filter criteria. When the
|
765
|
+
# filter action is set to `SUPPRESS` this action creates a suppression
|
766
|
+
# rule.
|
765
767
|
#
|
766
768
|
# @option params [required, String] :action
|
767
769
|
# Defines the action that is to be applied to the findings that match
|
@@ -2148,14 +2150,18 @@ module Aws::Inspector2
|
|
2148
2150
|
# Lists the permissions an account has to configure Amazon Inspector.
|
2149
2151
|
#
|
2150
2152
|
# @option params [Integer] :max_results
|
2151
|
-
# The maximum number of results
|
2153
|
+
# The maximum number of results the response can return. If your request
|
2154
|
+
# would return more than the maximum the response will return a
|
2155
|
+
# `nextToken` value, use this value when you call the action again to
|
2156
|
+
# get the remaining results.
|
2152
2157
|
#
|
2153
2158
|
# @option params [String] :next_token
|
2154
2159
|
# A token to use for paginating results that are returned in the
|
2155
2160
|
# response. Set the value of this parameter to null for the first
|
2156
|
-
# request to a list action.
|
2157
|
-
#
|
2158
|
-
#
|
2161
|
+
# request to a list action. If your response returns more than the
|
2162
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
2163
|
+
# For subsequent calls, use the NextToken value returned from the
|
2164
|
+
# previous request to continue listing results after the first page.
|
2159
2165
|
#
|
2160
2166
|
# @option params [String] :service
|
2161
2167
|
# The service scan type to check permissions for.
|
@@ -2198,14 +2204,18 @@ module Aws::Inspector2
|
|
2198
2204
|
# coverage data for your environment.
|
2199
2205
|
#
|
2200
2206
|
# @option params [Integer] :max_results
|
2201
|
-
# The maximum number of results
|
2207
|
+
# The maximum number of results the response can return. If your request
|
2208
|
+
# would return more than the maximum the response will return a
|
2209
|
+
# `nextToken` value, use this value when you call the action again to
|
2210
|
+
# get the remaining results.
|
2202
2211
|
#
|
2203
2212
|
# @option params [String] :next_token
|
2204
2213
|
# A token to use for paginating results that are returned in the
|
2205
2214
|
# response. Set the value of this parameter to null for the first
|
2206
|
-
# request to a list action.
|
2207
|
-
#
|
2208
|
-
#
|
2215
|
+
# request to a list action. If your response returns more than the
|
2216
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
2217
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
2218
|
+
# previous request to continue listing results after the first page.
|
2209
2219
|
#
|
2210
2220
|
# @return [Types::ListCoverageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2211
2221
|
#
|
@@ -2310,7 +2320,7 @@ module Aws::Inspector2
|
|
2310
2320
|
# resp.covered_resources[0].last_scanned_at #=> Time
|
2311
2321
|
# resp.covered_resources[0].resource_id #=> String
|
2312
2322
|
# resp.covered_resources[0].resource_metadata.ec2.ami_id #=> String
|
2313
|
-
# resp.covered_resources[0].resource_metadata.ec2.platform #=> String, one of "WINDOWS", "LINUX", "UNKNOWN"
|
2323
|
+
# resp.covered_resources[0].resource_metadata.ec2.platform #=> String, one of "WINDOWS", "LINUX", "UNKNOWN", "MACOS"
|
2314
2324
|
# resp.covered_resources[0].resource_metadata.ec2.tags #=> Hash
|
2315
2325
|
# resp.covered_resources[0].resource_metadata.ec2.tags["MapKey"] #=> String
|
2316
2326
|
# resp.covered_resources[0].resource_metadata.ecr_image.tags #=> Array
|
@@ -2472,14 +2482,18 @@ module Aws::Inspector2
|
|
2472
2482
|
# of your organization.
|
2473
2483
|
#
|
2474
2484
|
# @option params [Integer] :max_results
|
2475
|
-
# The maximum number of results
|
2485
|
+
# The maximum number of results the response can return. If your request
|
2486
|
+
# would return more than the maximum the response will return a
|
2487
|
+
# `nextToken` value, use this value when you call the action again to
|
2488
|
+
# get the remaining results.
|
2476
2489
|
#
|
2477
2490
|
# @option params [String] :next_token
|
2478
2491
|
# A token to use for paginating results that are returned in the
|
2479
2492
|
# response. Set the value of this parameter to null for the first
|
2480
|
-
# request to a list action.
|
2481
|
-
#
|
2482
|
-
#
|
2493
|
+
# request to a list action. If your response returns more than the
|
2494
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
2495
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
2496
|
+
# previous request to continue listing results after the first page.
|
2483
2497
|
#
|
2484
2498
|
# @return [Types::ListDelegatedAdminAccountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2485
2499
|
#
|
@@ -2520,14 +2534,18 @@ module Aws::Inspector2
|
|
2520
2534
|
# The Amazon resource number (ARN) of the filter.
|
2521
2535
|
#
|
2522
2536
|
# @option params [Integer] :max_results
|
2523
|
-
# The maximum number of results
|
2537
|
+
# The maximum number of results the response can return. If your request
|
2538
|
+
# would return more than the maximum the response will return a
|
2539
|
+
# `nextToken` value, use this value when you call the action again to
|
2540
|
+
# get the remaining results.
|
2524
2541
|
#
|
2525
2542
|
# @option params [String] :next_token
|
2526
2543
|
# A token to use for paginating results that are returned in the
|
2527
2544
|
# response. Set the value of this parameter to null for the first
|
2528
|
-
# request to a list action.
|
2529
|
-
#
|
2530
|
-
#
|
2545
|
+
# request to a list action. If your response returns more than the
|
2546
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
2547
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
2548
|
+
# previous request to continue listing results after the first page.
|
2531
2549
|
#
|
2532
2550
|
# @return [Types::ListFiltersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2533
2551
|
#
|
@@ -2723,14 +2741,18 @@ module Aws::Inspector2
|
|
2723
2741
|
# The type of the aggregation request.
|
2724
2742
|
#
|
2725
2743
|
# @option params [Integer] :max_results
|
2726
|
-
# The maximum number of results
|
2744
|
+
# The maximum number of results the response can return. If your request
|
2745
|
+
# would return more than the maximum the response will return a
|
2746
|
+
# `nextToken` value, use this value when you call the action again to
|
2747
|
+
# get the remaining results.
|
2727
2748
|
#
|
2728
2749
|
# @option params [String] :next_token
|
2729
2750
|
# A token to use for paginating results that are returned in the
|
2730
2751
|
# response. Set the value of this parameter to null for the first
|
2731
|
-
# request to a list action.
|
2732
|
-
#
|
2733
|
-
#
|
2752
|
+
# request to a list action. If your response returns more than the
|
2753
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
2754
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
2755
|
+
# previous request to continue listing results after the first page.
|
2734
2756
|
#
|
2735
2757
|
# @return [Types::ListFindingAggregationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2736
2758
|
#
|
@@ -3059,14 +3081,18 @@ module Aws::Inspector2
|
|
3059
3081
|
# Details on the filters to apply to your finding results.
|
3060
3082
|
#
|
3061
3083
|
# @option params [Integer] :max_results
|
3062
|
-
# The maximum number of results
|
3084
|
+
# The maximum number of results the response can return. If your request
|
3085
|
+
# would return more than the maximum the response will return a
|
3086
|
+
# `nextToken` value, use this value when you call the action again to
|
3087
|
+
# get the remaining results.
|
3063
3088
|
#
|
3064
3089
|
# @option params [String] :next_token
|
3065
3090
|
# A token to use for paginating results that are returned in the
|
3066
3091
|
# response. Set the value of this parameter to null for the first
|
3067
|
-
# request to a list action.
|
3068
|
-
#
|
3069
|
-
#
|
3092
|
+
# request to a list action. If your response returns more than the
|
3093
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
3094
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
3095
|
+
# previous request to continue listing results after the first page.
|
3070
3096
|
#
|
3071
3097
|
# @option params [Types::SortCriteria] :sort_criteria
|
3072
3098
|
# Details on the sort criteria to apply to your finding results.
|
@@ -3504,14 +3530,18 @@ module Aws::Inspector2
|
|
3504
3530
|
# administrator for your organization.
|
3505
3531
|
#
|
3506
3532
|
# @option params [Integer] :max_results
|
3507
|
-
# The maximum number of results
|
3533
|
+
# The maximum number of results the response can return. If your request
|
3534
|
+
# would return more than the maximum the response will return a
|
3535
|
+
# `nextToken` value, use this value when you call the action again to
|
3536
|
+
# get the remaining results.
|
3508
3537
|
#
|
3509
3538
|
# @option params [String] :next_token
|
3510
3539
|
# A token to use for paginating results that are returned in the
|
3511
3540
|
# response. Set the value of this parameter to null for the first
|
3512
|
-
# request to a list action.
|
3513
|
-
#
|
3514
|
-
#
|
3541
|
+
# request to a list action. If your response returns more than the
|
3542
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
3543
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
3544
|
+
# previous request to continue listing results after the first page.
|
3515
3545
|
#
|
3516
3546
|
# @option params [Boolean] :only_associated
|
3517
3547
|
# Specifies whether to list only currently associated members if `True`
|
@@ -3585,14 +3615,18 @@ module Aws::Inspector2
|
|
3585
3615
|
# The Amazon Web Services account IDs to retrieve usage totals for.
|
3586
3616
|
#
|
3587
3617
|
# @option params [Integer] :max_results
|
3588
|
-
# The maximum number of results
|
3618
|
+
# The maximum number of results the response can return. If your request
|
3619
|
+
# would return more than the maximum the response will return a
|
3620
|
+
# `nextToken` value, use this value when you call the action again to
|
3621
|
+
# get the remaining results.
|
3589
3622
|
#
|
3590
3623
|
# @option params [String] :next_token
|
3591
3624
|
# A token to use for paginating results that are returned in the
|
3592
3625
|
# response. Set the value of this parameter to null for the first
|
3593
|
-
# request to a list action.
|
3594
|
-
#
|
3595
|
-
#
|
3626
|
+
# request to a list action. If your response returns more than the
|
3627
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
3628
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
3629
|
+
# previous request to continue listing results after the first page.
|
3596
3630
|
#
|
3597
3631
|
# @return [Types::ListUsageTotalsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3598
3632
|
#
|
@@ -4297,7 +4331,7 @@ module Aws::Inspector2
|
|
4297
4331
|
params: params,
|
4298
4332
|
config: config)
|
4299
4333
|
context[:gem_name] = 'aws-sdk-inspector2'
|
4300
|
-
context[:gem_version] = '1.
|
4334
|
+
context[:gem_version] = '1.22.0'
|
4301
4335
|
Seahorse::Client::Request.new(handlers, context)
|
4302
4336
|
end
|
4303
4337
|
|
@@ -1310,7 +1310,10 @@ module Aws::Inspector2
|
|
1310
1310
|
# @return [Array<Types::CoverageStringFilter>]
|
1311
1311
|
#
|
1312
1312
|
# @!attribute [rw] scan_status_code
|
1313
|
-
# The scan status code to filter on.
|
1313
|
+
# The scan status code to filter on. Valid values are:
|
1314
|
+
# `ValidationException`, `InternalServerException`,
|
1315
|
+
# `ResourceNotFoundException`, `BadRequestException`, and
|
1316
|
+
# `ThrottlingException`.
|
1314
1317
|
# @return [Array<Types::CoverageStringFilter>]
|
1315
1318
|
#
|
1316
1319
|
# @!attribute [rw] scan_status_reason
|
@@ -2737,11 +2740,25 @@ module Aws::Inspector2
|
|
2737
2740
|
# @return [Types::Remediation]
|
2738
2741
|
#
|
2739
2742
|
# @!attribute [rw] resources
|
2740
|
-
# Contains information on the resources involved in a finding.
|
2743
|
+
# Contains information on the resources involved in a finding. The
|
2744
|
+
# `resource` value determines the valid values for `type` in your
|
2745
|
+
# request. For more information, see [Finding types][1] in the Amazon
|
2746
|
+
# Inspector user guide.
|
2747
|
+
#
|
2748
|
+
#
|
2749
|
+
#
|
2750
|
+
# [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-types.html
|
2741
2751
|
# @return [Array<Types::Resource>]
|
2742
2752
|
#
|
2743
2753
|
# @!attribute [rw] severity
|
2744
|
-
# The severity of the finding.
|
2754
|
+
# The severity of the finding. `UNTRIAGED` applies to
|
2755
|
+
# `PACKAGE_VULNERABILITY` type findings that the vendor has not
|
2756
|
+
# assigned a severity yet. For more information, see [Severity levels
|
2757
|
+
# for findings][1] in the Amazon Inspector user guide.
|
2758
|
+
#
|
2759
|
+
#
|
2760
|
+
#
|
2761
|
+
# [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html
|
2745
2762
|
# @return [String]
|
2746
2763
|
#
|
2747
2764
|
# @!attribute [rw] status
|
@@ -2753,7 +2770,13 @@ module Aws::Inspector2
|
|
2753
2770
|
# @return [String]
|
2754
2771
|
#
|
2755
2772
|
# @!attribute [rw] type
|
2756
|
-
# The type of the finding.
|
2773
|
+
# The type of the finding. The `type` value determines the valid
|
2774
|
+
# values for `resource` in your request. For more information, see
|
2775
|
+
# [Finding types][1] in the Amazon Inspector user guide.
|
2776
|
+
#
|
2777
|
+
#
|
2778
|
+
#
|
2779
|
+
# [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-types.html
|
2757
2780
|
# @return [String]
|
2758
2781
|
#
|
2759
2782
|
# @!attribute [rw] updated_at
|
@@ -3568,15 +3591,19 @@ module Aws::Inspector2
|
|
3568
3591
|
end
|
3569
3592
|
|
3570
3593
|
# @!attribute [rw] max_results
|
3571
|
-
# The maximum number of results
|
3594
|
+
# The maximum number of results the response can return. If your
|
3595
|
+
# request would return more than the maximum the response will return
|
3596
|
+
# a `nextToken` value, use this value when you call the action again
|
3597
|
+
# to get the remaining results.
|
3572
3598
|
# @return [Integer]
|
3573
3599
|
#
|
3574
3600
|
# @!attribute [rw] next_token
|
3575
3601
|
# A token to use for paginating results that are returned in the
|
3576
3602
|
# response. Set the value of this parameter to null for the first
|
3577
|
-
# request to a list action.
|
3578
|
-
#
|
3579
|
-
#
|
3603
|
+
# request to a list action. If your response returns more than the
|
3604
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
3605
|
+
# For subsequent calls, use the NextToken value returned from the
|
3606
|
+
# previous request to continue listing results after the first page.
|
3580
3607
|
# @return [String]
|
3581
3608
|
#
|
3582
3609
|
# @!attribute [rw] service
|
@@ -3621,15 +3648,19 @@ module Aws::Inspector2
|
|
3621
3648
|
# @return [Types::CoverageFilterCriteria]
|
3622
3649
|
#
|
3623
3650
|
# @!attribute [rw] max_results
|
3624
|
-
# The maximum number of results
|
3651
|
+
# The maximum number of results the response can return. If your
|
3652
|
+
# request would return more than the maximum the response will return
|
3653
|
+
# a `nextToken` value, use this value when you call the action again
|
3654
|
+
# to get the remaining results.
|
3625
3655
|
# @return [Integer]
|
3626
3656
|
#
|
3627
3657
|
# @!attribute [rw] next_token
|
3628
3658
|
# A token to use for paginating results that are returned in the
|
3629
3659
|
# response. Set the value of this parameter to null for the first
|
3630
|
-
# request to a list action.
|
3631
|
-
#
|
3632
|
-
#
|
3660
|
+
# request to a list action. If your response returns more than the
|
3661
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
3662
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
3663
|
+
# previous request to continue listing results after the first page.
|
3633
3664
|
# @return [String]
|
3634
3665
|
#
|
3635
3666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverageRequest AWS API Documentation
|
@@ -3718,15 +3749,19 @@ module Aws::Inspector2
|
|
3718
3749
|
end
|
3719
3750
|
|
3720
3751
|
# @!attribute [rw] max_results
|
3721
|
-
# The maximum number of results
|
3752
|
+
# The maximum number of results the response can return. If your
|
3753
|
+
# request would return more than the maximum the response will return
|
3754
|
+
# a `nextToken` value, use this value when you call the action again
|
3755
|
+
# to get the remaining results.
|
3722
3756
|
# @return [Integer]
|
3723
3757
|
#
|
3724
3758
|
# @!attribute [rw] next_token
|
3725
3759
|
# A token to use for paginating results that are returned in the
|
3726
3760
|
# response. Set the value of this parameter to null for the first
|
3727
|
-
# request to a list action.
|
3728
|
-
#
|
3729
|
-
#
|
3761
|
+
# request to a list action. If your response returns more than the
|
3762
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
3763
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
3764
|
+
# previous request to continue listing results after the first page.
|
3730
3765
|
# @return [String]
|
3731
3766
|
#
|
3732
3767
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListDelegatedAdminAccountsRequest AWS API Documentation
|
@@ -3769,15 +3804,19 @@ module Aws::Inspector2
|
|
3769
3804
|
# @return [Array<String>]
|
3770
3805
|
#
|
3771
3806
|
# @!attribute [rw] max_results
|
3772
|
-
# The maximum number of results
|
3807
|
+
# The maximum number of results the response can return. If your
|
3808
|
+
# request would return more than the maximum the response will return
|
3809
|
+
# a `nextToken` value, use this value when you call the action again
|
3810
|
+
# to get the remaining results.
|
3773
3811
|
# @return [Integer]
|
3774
3812
|
#
|
3775
3813
|
# @!attribute [rw] next_token
|
3776
3814
|
# A token to use for paginating results that are returned in the
|
3777
3815
|
# response. Set the value of this parameter to null for the first
|
3778
|
-
# request to a list action.
|
3779
|
-
#
|
3780
|
-
#
|
3816
|
+
# request to a list action. If your response returns more than the
|
3817
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
3818
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
3819
|
+
# previous request to continue listing results after the first page.
|
3781
3820
|
# @return [String]
|
3782
3821
|
#
|
3783
3822
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFiltersRequest AWS API Documentation
|
@@ -3827,15 +3866,19 @@ module Aws::Inspector2
|
|
3827
3866
|
# @return [String]
|
3828
3867
|
#
|
3829
3868
|
# @!attribute [rw] max_results
|
3830
|
-
# The maximum number of results
|
3869
|
+
# The maximum number of results the response can return. If your
|
3870
|
+
# request would return more than the maximum the response will return
|
3871
|
+
# a `nextToken` value, use this value when you call the action again
|
3872
|
+
# to get the remaining results.
|
3831
3873
|
# @return [Integer]
|
3832
3874
|
#
|
3833
3875
|
# @!attribute [rw] next_token
|
3834
3876
|
# A token to use for paginating results that are returned in the
|
3835
3877
|
# response. Set the value of this parameter to null for the first
|
3836
|
-
# request to a list action.
|
3837
|
-
#
|
3838
|
-
#
|
3878
|
+
# request to a list action. If your response returns more than the
|
3879
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
3880
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
3881
|
+
# previous request to continue listing results after the first page.
|
3839
3882
|
# @return [String]
|
3840
3883
|
#
|
3841
3884
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindingAggregationsRequest AWS API Documentation
|
@@ -3881,15 +3924,19 @@ module Aws::Inspector2
|
|
3881
3924
|
# @return [Types::FilterCriteria]
|
3882
3925
|
#
|
3883
3926
|
# @!attribute [rw] max_results
|
3884
|
-
# The maximum number of results
|
3927
|
+
# The maximum number of results the response can return. If your
|
3928
|
+
# request would return more than the maximum the response will return
|
3929
|
+
# a `nextToken` value, use this value when you call the action again
|
3930
|
+
# to get the remaining results.
|
3885
3931
|
# @return [Integer]
|
3886
3932
|
#
|
3887
3933
|
# @!attribute [rw] next_token
|
3888
3934
|
# A token to use for paginating results that are returned in the
|
3889
3935
|
# response. Set the value of this parameter to null for the first
|
3890
|
-
# request to a list action.
|
3891
|
-
#
|
3892
|
-
#
|
3936
|
+
# request to a list action. If your response returns more than the
|
3937
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
3938
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
3939
|
+
# previous request to continue listing results after the first page.
|
3893
3940
|
# @return [String]
|
3894
3941
|
#
|
3895
3942
|
# @!attribute [rw] sort_criteria
|
@@ -3929,15 +3976,19 @@ module Aws::Inspector2
|
|
3929
3976
|
end
|
3930
3977
|
|
3931
3978
|
# @!attribute [rw] max_results
|
3932
|
-
# The maximum number of results
|
3979
|
+
# The maximum number of results the response can return. If your
|
3980
|
+
# request would return more than the maximum the response will return
|
3981
|
+
# a `nextToken` value, use this value when you call the action again
|
3982
|
+
# to get the remaining results.
|
3933
3983
|
# @return [Integer]
|
3934
3984
|
#
|
3935
3985
|
# @!attribute [rw] next_token
|
3936
3986
|
# A token to use for paginating results that are returned in the
|
3937
3987
|
# response. Set the value of this parameter to null for the first
|
3938
|
-
# request to a list action.
|
3939
|
-
#
|
3940
|
-
#
|
3988
|
+
# request to a list action. If your response returns more than the
|
3989
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
3990
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
3991
|
+
# previous request to continue listing results after the first page.
|
3941
3992
|
# @return [String]
|
3942
3993
|
#
|
3943
3994
|
# @!attribute [rw] only_associated
|
@@ -4002,15 +4053,19 @@ module Aws::Inspector2
|
|
4002
4053
|
# @return [Array<String>]
|
4003
4054
|
#
|
4004
4055
|
# @!attribute [rw] max_results
|
4005
|
-
# The maximum number of results
|
4056
|
+
# The maximum number of results the response can return. If your
|
4057
|
+
# request would return more than the maximum the response will return
|
4058
|
+
# a `nextToken` value, use this value when you call the action again
|
4059
|
+
# to get the remaining results.
|
4006
4060
|
# @return [Integer]
|
4007
4061
|
#
|
4008
4062
|
# @!attribute [rw] next_token
|
4009
4063
|
# A token to use for paginating results that are returned in the
|
4010
4064
|
# response. Set the value of this parameter to null for the first
|
4011
|
-
# request to a list action.
|
4012
|
-
#
|
4013
|
-
#
|
4065
|
+
# request to a list action. If your response returns more than the
|
4066
|
+
# `maxResults` maximum value it will also return a `nextToken` value.
|
4067
|
+
# For subsequent calls, use the `nextToken` value returned from the
|
4068
|
+
# previous request to continue listing results after the first page.
|
4014
4069
|
# @return [String]
|
4015
4070
|
#
|
4016
4071
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListUsageTotalsRequest AWS API Documentation
|
@@ -4808,7 +4863,115 @@ module Aws::Inspector2
|
|
4808
4863
|
# The status of the scan.
|
4809
4864
|
#
|
4810
4865
|
# @!attribute [rw] reason
|
4811
|
-
# The
|
4866
|
+
# The scan status. Possible return values and descriptions are:
|
4867
|
+
#
|
4868
|
+
# `PENDING_INITIAL_SCAN` - This resource has been identified for
|
4869
|
+
# scanning, results will be available soon.
|
4870
|
+
#
|
4871
|
+
# `ACCESS_DENIED` - Resource access policy restricting Amazon
|
4872
|
+
# Inspector access. Please update the IAM policy.
|
4873
|
+
#
|
4874
|
+
# `INTERNAL_ERROR` - Amazon Inspector has encountered an internal
|
4875
|
+
# error for this resource. Amazon Inspector service will automatically
|
4876
|
+
# resolve the issue and resume the scanning. No action required from
|
4877
|
+
# the user.
|
4878
|
+
#
|
4879
|
+
# `UNMANAGED_EC2_INSTANCE` - The EC2 instance is not managed by SSM,
|
4880
|
+
# please use the following SSM automation to remediate the issue:
|
4881
|
+
# [https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html][1].
|
4882
|
+
# Once the instance becomes managed by SSM, Inspector will
|
4883
|
+
# automatically begin scanning this instance.
|
4884
|
+
#
|
4885
|
+
# `UNSUPPORTED_OS` - Amazon Inspector does not support this OS,
|
4886
|
+
# architecture, or image manifest type at this time. To see a complete
|
4887
|
+
# list of supported operating systems see:
|
4888
|
+
# [https://docs.aws.amazon.com/inspector/latest/user/supported.html](
|
4889
|
+
# https://docs.aws.amazon.com/inspector/latest/user/supported.html).
|
4890
|
+
#
|
4891
|
+
# `SCAN_ELIGIBILITY_EXPIRED` - The configured scan duration has lapsed
|
4892
|
+
# for this image.
|
4893
|
+
#
|
4894
|
+
# `RESOURCE_TERMINATED` - This resource has been terminated. The
|
4895
|
+
# findings and coverage associated with this resource are in the
|
4896
|
+
# process of being cleaned up.
|
4897
|
+
#
|
4898
|
+
# `SUCCESSFUL` - The scan was successful.
|
4899
|
+
#
|
4900
|
+
# `NO_RESOURCES_FOUND` - Reserved for future use.
|
4901
|
+
#
|
4902
|
+
# `IMAGE_SIZE_EXCEEDED` - Reserved for future use.
|
4903
|
+
#
|
4904
|
+
# `SCAN_FREQUENCY_MANUAL` - This image will not be covered by Amazon
|
4905
|
+
# Inspector due to the repository scan frequency configuration.
|
4906
|
+
#
|
4907
|
+
# `SCAN_FREQUENCY_SCAN_ON_PUSH `- This image will be scanned one time
|
4908
|
+
# and will not new findings because of the scan frequency
|
4909
|
+
# configuration.
|
4910
|
+
#
|
4911
|
+
# `EC2_INSTANCE_STOPPED` - This EC2 instance is in a stopped state,
|
4912
|
+
# therefore, Amazon Inspector will pause scanning. The existing
|
4913
|
+
# findings will continue to exist until the instance is terminated.
|
4914
|
+
# Once the instance is re-started, Inspector will automatically start
|
4915
|
+
# scanning the instance again. Please note that you will not be
|
4916
|
+
# charged for this instance while it’s in a stopped state.
|
4917
|
+
#
|
4918
|
+
# `PENDING_DISABLE` - This resource is pending cleanup during
|
4919
|
+
# disablement. The customer will not be billed while a resource is in
|
4920
|
+
# the pending disable status.
|
4921
|
+
#
|
4922
|
+
# `NO INVENTORY` - Amazon Inspector couldn’t find software application
|
4923
|
+
# inventory to scan for vulnerabilities. This might be caused due to
|
4924
|
+
# required Amazon Inspector associations being deleted or failing to
|
4925
|
+
# run on your resource. Please verify the status of
|
4926
|
+
# `InspectorInventoryCollection-do-not-delete` association in the SSM
|
4927
|
+
# console for the resource. Additionally, you can verify the
|
4928
|
+
# instance’s inventory in the SSM Fleet Manager console.
|
4929
|
+
#
|
4930
|
+
# `STALE_INVENTORY` - Amazon Inspector wasn’t able to collect an
|
4931
|
+
# updated software application inventory in the last 7 days. Please
|
4932
|
+
# confirm the required Amazon Inspector associations still exist and
|
4933
|
+
# you can still see an updated inventory in the SSM console.
|
4934
|
+
#
|
4935
|
+
# `EXCLUDED_BY_TAG` - This resource was not scanned because it has
|
4936
|
+
# been excluded by a tag.
|
4937
|
+
#
|
4938
|
+
# `UNSUPPORTED_RUNTIME` - The function was not scanned because it has
|
4939
|
+
# an unsupported runtime. To see a complete list of supported runtimes
|
4940
|
+
# see:
|
4941
|
+
# [https://docs.aws.amazon.com/inspector/latest/user/supported.html](
|
4942
|
+
# https://docs.aws.amazon.com/inspector/latest/user/supported.html).
|
4943
|
+
#
|
4944
|
+
# `UNSUPPORTED_MEDIA_TYPE `- The ECR image has an unsupported media
|
4945
|
+
# type.
|
4946
|
+
#
|
4947
|
+
# `UNSUPPORTED_CONFIG_FILE` - Reserved for future use.
|
4948
|
+
#
|
4949
|
+
# `DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED` - The instance
|
4950
|
+
# has exceeded the 5000 package limit for Amazon Inspector Deep
|
4951
|
+
# inspection. To resume Deep inspection for this instance you can try
|
4952
|
+
# to adjust the custom paths associated with the account.
|
4953
|
+
#
|
4954
|
+
# `DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED` - The SSM agent
|
4955
|
+
# couldn't send inventory to Amazon Inspector because the SSM quota
|
4956
|
+
# for Inventory data collected per instance per day has already been
|
4957
|
+
# reached for this instance.
|
4958
|
+
#
|
4959
|
+
# `DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED` - Amazon Inspector
|
4960
|
+
# failed to extract the package inventory because the package
|
4961
|
+
# collection time exceeding the maximum threshold of 15 minutes.
|
4962
|
+
#
|
4963
|
+
# `DEEP_INSPECTION_NO_INVENTORY` The Amazon Inspector plugin hasn't
|
4964
|
+
# yet been able to collect an inventory of packages for this instance.
|
4965
|
+
# This is usually the result of a pending scan, however, if this
|
4966
|
+
# status persists after 6 hours, use SSM to ensure that the required
|
4967
|
+
# Amazon Inspector associations exist and are running for the
|
4968
|
+
# instance.
|
4969
|
+
#
|
4970
|
+
#
|
4971
|
+
#
|
4972
|
+
#
|
4973
|
+
#
|
4974
|
+
# [1]: https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html
|
4812
4975
|
# @return [String]
|
4813
4976
|
#
|
4814
4977
|
# @!attribute [rw] status_code
|
@@ -5503,7 +5666,8 @@ module Aws::Inspector2
|
|
5503
5666
|
# @return [Array<String>]
|
5504
5667
|
#
|
5505
5668
|
# @!attribute [rw] source
|
5506
|
-
# The source of the vulnerability information.
|
5669
|
+
# The source of the vulnerability information. Possible results are
|
5670
|
+
# `RHEL`, `AMAZON_CVE`, `DEBIAN` or `NVD`.
|
5507
5671
|
# @return [String]
|
5508
5672
|
#
|
5509
5673
|
# @!attribute [rw] source_url
|
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.22.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: 2023-
|
11
|
+
date: 2023-10-12 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.184.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.184.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|