aws-sdk-inspector2 1.5.0 → 1.7.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 +53 -4
- data/lib/aws-sdk-inspector2/client_api.rb +40 -35
- data/lib/aws-sdk-inspector2/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-inspector2/endpoint_provider.rb +112 -0
- data/lib/aws-sdk-inspector2/endpoints.rb +463 -0
- data/lib/aws-sdk-inspector2/plugins/endpoints.rb +132 -0
- data/lib/aws-sdk-inspector2/types.rb +52 -0
- data/lib/aws-sdk-inspector2.rb +5 -1
- metadata +8 -4
@@ -1145,6 +1145,12 @@ module Aws::Inspector2
|
|
1145
1145
|
# start_inclusive: Time.now,
|
1146
1146
|
# },
|
1147
1147
|
# ],
|
1148
|
+
# fix_available: [
|
1149
|
+
# {
|
1150
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1151
|
+
# value: "StringInput", # required
|
1152
|
+
# },
|
1153
|
+
# ],
|
1148
1154
|
# inspector_score: [
|
1149
1155
|
# {
|
1150
1156
|
# lower_inclusive: 1.0,
|
@@ -1419,6 +1425,12 @@ module Aws::Inspector2
|
|
1419
1425
|
# start_inclusive: Time.now,
|
1420
1426
|
# },
|
1421
1427
|
# ],
|
1428
|
+
# fix_available: [
|
1429
|
+
# {
|
1430
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1431
|
+
# value: "StringInput", # required
|
1432
|
+
# },
|
1433
|
+
# ],
|
1422
1434
|
# inspector_score: [
|
1423
1435
|
# {
|
1424
1436
|
# lower_inclusive: 1.0,
|
@@ -2482,6 +2494,12 @@ module Aws::Inspector2
|
|
2482
2494
|
# start_inclusive: Time.now,
|
2483
2495
|
# },
|
2484
2496
|
# ],
|
2497
|
+
# fix_available: [
|
2498
|
+
# {
|
2499
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2500
|
+
# value: "StringInput", # required
|
2501
|
+
# },
|
2502
|
+
# ],
|
2485
2503
|
# inspector_score: [
|
2486
2504
|
# {
|
2487
2505
|
# lower_inclusive: 1.0,
|
@@ -2668,6 +2686,13 @@ module Aws::Inspector2
|
|
2668
2686
|
# findings.
|
2669
2687
|
# @return [Array<Types::DateFilter>]
|
2670
2688
|
#
|
2689
|
+
# @!attribute [rw] fix_available
|
2690
|
+
# Details on whether a fix is available through a version update. This
|
2691
|
+
# value can be `YES`, `NO`, or `PARTIAL`. A `PARTIAL` fix means that
|
2692
|
+
# some, but not all, of the packages identified in the finding have
|
2693
|
+
# fixes available through updated versions.
|
2694
|
+
# @return [Array<Types::StringFilter>]
|
2695
|
+
#
|
2671
2696
|
# @!attribute [rw] inspector_score
|
2672
2697
|
# The Amazon Inspector score to filter on.
|
2673
2698
|
# @return [Array<Types::NumberFilter>]
|
@@ -2749,6 +2774,7 @@ module Aws::Inspector2
|
|
2749
2774
|
:finding_status,
|
2750
2775
|
:finding_type,
|
2751
2776
|
:first_observed_at,
|
2777
|
+
:fix_available,
|
2752
2778
|
:inspector_score,
|
2753
2779
|
:last_observed_at,
|
2754
2780
|
:network_protocol,
|
@@ -2786,6 +2812,13 @@ module Aws::Inspector2
|
|
2786
2812
|
# The date and time that the finding was first observed.
|
2787
2813
|
# @return [Time]
|
2788
2814
|
#
|
2815
|
+
# @!attribute [rw] fix_available
|
2816
|
+
# Details on whether a fix is available through a version update. This
|
2817
|
+
# value can be `YES`, `NO`, or `PARTIAL`. A `PARTIAL` fix means that
|
2818
|
+
# some, but not all, of the packages identified in the finding have
|
2819
|
+
# fixes available through updated versions.
|
2820
|
+
# @return [String]
|
2821
|
+
#
|
2789
2822
|
# @!attribute [rw] inspector_score
|
2790
2823
|
# The Amazon Inspector score given to the finding.
|
2791
2824
|
# @return [Float]
|
@@ -2844,6 +2877,7 @@ module Aws::Inspector2
|
|
2844
2877
|
:description,
|
2845
2878
|
:finding_arn,
|
2846
2879
|
:first_observed_at,
|
2880
|
+
:fix_available,
|
2847
2881
|
:inspector_score,
|
2848
2882
|
:inspector_score_details,
|
2849
2883
|
:last_observed_at,
|
@@ -3985,6 +4019,12 @@ module Aws::Inspector2
|
|
3985
4019
|
# start_inclusive: Time.now,
|
3986
4020
|
# },
|
3987
4021
|
# ],
|
4022
|
+
# fix_available: [
|
4023
|
+
# {
|
4024
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4025
|
+
# value: "StringInput", # required
|
4026
|
+
# },
|
4027
|
+
# ],
|
3988
4028
|
# inspector_score: [
|
3989
4029
|
# {
|
3990
4030
|
# lower_inclusive: 1.0,
|
@@ -5398,6 +5438,12 @@ module Aws::Inspector2
|
|
5398
5438
|
# start_inclusive: Time.now,
|
5399
5439
|
# },
|
5400
5440
|
# ],
|
5441
|
+
# fix_available: [
|
5442
|
+
# {
|
5443
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5444
|
+
# value: "StringInput", # required
|
5445
|
+
# },
|
5446
|
+
# ],
|
5401
5447
|
# inspector_score: [
|
5402
5448
|
# {
|
5403
5449
|
# lower_inclusive: 1.0,
|
@@ -5724,6 +5770,11 @@ module Aws::Inspector2
|
|
5724
5770
|
# The release of the vulnerable package.
|
5725
5771
|
# @return [String]
|
5726
5772
|
#
|
5773
|
+
# @!attribute [rw] remediation
|
5774
|
+
# The code to run in your environment to update packages with a fix
|
5775
|
+
# available.
|
5776
|
+
# @return [String]
|
5777
|
+
#
|
5727
5778
|
# @!attribute [rw] source_layer_hash
|
5728
5779
|
# The source layer hash of the vulnerable package.
|
5729
5780
|
# @return [String]
|
@@ -5742,6 +5793,7 @@ module Aws::Inspector2
|
|
5742
5793
|
:name,
|
5743
5794
|
:package_manager,
|
5744
5795
|
:release,
|
5796
|
+
:remediation,
|
5745
5797
|
:source_layer_hash,
|
5746
5798
|
:version)
|
5747
5799
|
SENSITIVE = []
|
data/lib/aws-sdk-inspector2.rb
CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-inspector2/types'
|
15
15
|
require_relative 'aws-sdk-inspector2/client_api'
|
16
|
+
require_relative 'aws-sdk-inspector2/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-inspector2/client'
|
17
18
|
require_relative 'aws-sdk-inspector2/errors'
|
18
19
|
require_relative 'aws-sdk-inspector2/resource'
|
20
|
+
require_relative 'aws-sdk-inspector2/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-inspector2/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-inspector2/endpoints'
|
19
23
|
require_relative 'aws-sdk-inspector2/customizations'
|
20
24
|
|
21
25
|
# This module provides support for Inspector2. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-inspector2/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::Inspector2
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.7.0'
|
52
56
|
|
53
57
|
end
|
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.7.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: 2022-
|
11
|
+
date: 2022-10-25 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.165.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.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-inspector2/client.rb
|
60
60
|
- lib/aws-sdk-inspector2/client_api.rb
|
61
61
|
- lib/aws-sdk-inspector2/customizations.rb
|
62
|
+
- lib/aws-sdk-inspector2/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-inspector2/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-inspector2/endpoints.rb
|
62
65
|
- lib/aws-sdk-inspector2/errors.rb
|
66
|
+
- lib/aws-sdk-inspector2/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-inspector2/resource.rb
|
64
68
|
- lib/aws-sdk-inspector2/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|