aws-sdk-inspector2 1.99.0 → 1.101.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +70 -1
- data/lib/aws-sdk-inspector2/client_api.rb +27 -0
- data/lib/aws-sdk-inspector2/types.rb +123 -2
- data/lib/aws-sdk-inspector2.rb +1 -1
- data/sig/params.rbs +13 -0
- data/sig/types.rbs +25 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1e88c13a93cf1213d54dd127fd39518d83e3cd3a1324a7596821e149a811a8f2
|
|
4
|
+
data.tar.gz: 2c0893b9706ec028c4fc4d0b15910e7a79a575f9b08dbf0144ef0e2dcec01270
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 00de3380804e8aa230ea2605ca3bdeba95053e8976d800c865037f1c092320634b217be8353fc9e92650ac1a2d77ac09b2e2569a65ba6d2af9114ec9e64de5ae
|
|
7
|
+
data.tar.gz: 5ce74aad3995b3ed766c7aef6865d438ebafab74fbf7284534be0576106a31a8fecfbb7802ab749b4eae23573849e2b37b3b907d68da51aeceb1834eaf6a0138
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.101.0 (2026-12-04)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.100.0 (2026-11-20)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds runtimeReachability, runtimeReachabilityReason, and purl fields to vulnerable packages in the finding model. It also adds runtimeReachability, runtimeReachabilityReason and purlQualifier package filters for listing findings, suppression rules, and findings reports.
|
|
13
|
+
|
|
4
14
|
1.99.0 (2026-11-19)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.101.0
|
|
@@ -1643,6 +1643,19 @@ module Aws::Inspector2
|
|
|
1643
1643
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
|
1644
1644
|
# value: "StringInput", # required
|
|
1645
1645
|
# },
|
|
1646
|
+
# runtime_reachability: {
|
|
1647
|
+
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
|
1648
|
+
# value: "REACHABLE", # required, accepts REACHABLE, NOT_REACHABLE, UNKNOWN
|
|
1649
|
+
# },
|
|
1650
|
+
# runtime_reachability_reason: {
|
|
1651
|
+
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
|
1652
|
+
# value: "PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH", # required, accepts PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH, PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH, PROCESS_OBSERVED_IN_EC2_RUNTIME, PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME
|
|
1653
|
+
# },
|
|
1654
|
+
# purl_qualifier: {
|
|
1655
|
+
# comparison: "EQUALS", # required, accepts EQUALS
|
|
1656
|
+
# key: "arch", # required, accepts arch, collector, dev_dependency, distro, epoch, go_toolchain, hardened, private, rust_toolchain, scope, skip_chromium_download, source, stream, transitive_dependency, unresolved, vendor
|
|
1657
|
+
# value: "MapValue",
|
|
1658
|
+
# },
|
|
1646
1659
|
# },
|
|
1647
1660
|
# ],
|
|
1648
1661
|
# related_vulnerabilities: [
|
|
@@ -2130,6 +2143,19 @@ module Aws::Inspector2
|
|
|
2130
2143
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
|
2131
2144
|
# value: "StringInput", # required
|
|
2132
2145
|
# },
|
|
2146
|
+
# runtime_reachability: {
|
|
2147
|
+
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
|
2148
|
+
# value: "REACHABLE", # required, accepts REACHABLE, NOT_REACHABLE, UNKNOWN
|
|
2149
|
+
# },
|
|
2150
|
+
# runtime_reachability_reason: {
|
|
2151
|
+
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
|
2152
|
+
# value: "PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH", # required, accepts PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH, PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH, PROCESS_OBSERVED_IN_EC2_RUNTIME, PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME
|
|
2153
|
+
# },
|
|
2154
|
+
# purl_qualifier: {
|
|
2155
|
+
# comparison: "EQUALS", # required, accepts EQUALS
|
|
2156
|
+
# key: "arch", # required, accepts arch, collector, dev_dependency, distro, epoch, go_toolchain, hardened, private, rust_toolchain, scope, skip_chromium_download, source, stream, transitive_dependency, unresolved, vendor
|
|
2157
|
+
# value: "MapValue",
|
|
2158
|
+
# },
|
|
2133
2159
|
# },
|
|
2134
2160
|
# ],
|
|
2135
2161
|
# related_vulnerabilities: [
|
|
@@ -3613,6 +3639,13 @@ module Aws::Inspector2
|
|
|
3613
3639
|
# resp.filter_criteria.vulnerable_packages[0].source_lambda_layer_arn.value #=> String
|
|
3614
3640
|
# resp.filter_criteria.vulnerable_packages[0].file_path.comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
|
3615
3641
|
# resp.filter_criteria.vulnerable_packages[0].file_path.value #=> String
|
|
3642
|
+
# resp.filter_criteria.vulnerable_packages[0].runtime_reachability.comparison #=> String, one of "EQUALS", "NOT_EQUALS"
|
|
3643
|
+
# resp.filter_criteria.vulnerable_packages[0].runtime_reachability.value #=> String, one of "REACHABLE", "NOT_REACHABLE", "UNKNOWN"
|
|
3644
|
+
# resp.filter_criteria.vulnerable_packages[0].runtime_reachability_reason.comparison #=> String, one of "EQUALS", "NOT_EQUALS"
|
|
3645
|
+
# resp.filter_criteria.vulnerable_packages[0].runtime_reachability_reason.value #=> String, one of "PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH", "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH", "PROCESS_OBSERVED_IN_EC2_RUNTIME", "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME"
|
|
3646
|
+
# resp.filter_criteria.vulnerable_packages[0].purl_qualifier.comparison #=> String, one of "EQUALS"
|
|
3647
|
+
# resp.filter_criteria.vulnerable_packages[0].purl_qualifier.key #=> String, one of "arch", "collector", "dev_dependency", "distro", "epoch", "go_toolchain", "hardened", "private", "rust_toolchain", "scope", "skip_chromium_download", "source", "stream", "transitive_dependency", "unresolved", "vendor"
|
|
3648
|
+
# resp.filter_criteria.vulnerable_packages[0].purl_qualifier.value #=> String
|
|
3616
3649
|
# resp.filter_criteria.related_vulnerabilities #=> Array
|
|
3617
3650
|
# resp.filter_criteria.related_vulnerabilities[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
|
3618
3651
|
# resp.filter_criteria.related_vulnerabilities[0].value #=> String
|
|
@@ -5722,6 +5755,13 @@ module Aws::Inspector2
|
|
|
5722
5755
|
# resp.filters[0].criteria.vulnerable_packages[0].source_lambda_layer_arn.value #=> String
|
|
5723
5756
|
# resp.filters[0].criteria.vulnerable_packages[0].file_path.comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
|
5724
5757
|
# resp.filters[0].criteria.vulnerable_packages[0].file_path.value #=> String
|
|
5758
|
+
# resp.filters[0].criteria.vulnerable_packages[0].runtime_reachability.comparison #=> String, one of "EQUALS", "NOT_EQUALS"
|
|
5759
|
+
# resp.filters[0].criteria.vulnerable_packages[0].runtime_reachability.value #=> String, one of "REACHABLE", "NOT_REACHABLE", "UNKNOWN"
|
|
5760
|
+
# resp.filters[0].criteria.vulnerable_packages[0].runtime_reachability_reason.comparison #=> String, one of "EQUALS", "NOT_EQUALS"
|
|
5761
|
+
# resp.filters[0].criteria.vulnerable_packages[0].runtime_reachability_reason.value #=> String, one of "PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH", "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH", "PROCESS_OBSERVED_IN_EC2_RUNTIME", "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME"
|
|
5762
|
+
# resp.filters[0].criteria.vulnerable_packages[0].purl_qualifier.comparison #=> String, one of "EQUALS"
|
|
5763
|
+
# resp.filters[0].criteria.vulnerable_packages[0].purl_qualifier.key #=> String, one of "arch", "collector", "dev_dependency", "distro", "epoch", "go_toolchain", "hardened", "private", "rust_toolchain", "scope", "skip_chromium_download", "source", "stream", "transitive_dependency", "unresolved", "vendor"
|
|
5764
|
+
# resp.filters[0].criteria.vulnerable_packages[0].purl_qualifier.value #=> String
|
|
5725
5765
|
# resp.filters[0].criteria.related_vulnerabilities #=> Array
|
|
5726
5766
|
# resp.filters[0].criteria.related_vulnerabilities[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
|
5727
5767
|
# resp.filters[0].criteria.related_vulnerabilities[0].value #=> String
|
|
@@ -6860,6 +6900,19 @@ module Aws::Inspector2
|
|
|
6860
6900
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
|
6861
6901
|
# value: "StringInput", # required
|
|
6862
6902
|
# },
|
|
6903
|
+
# runtime_reachability: {
|
|
6904
|
+
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
|
6905
|
+
# value: "REACHABLE", # required, accepts REACHABLE, NOT_REACHABLE, UNKNOWN
|
|
6906
|
+
# },
|
|
6907
|
+
# runtime_reachability_reason: {
|
|
6908
|
+
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
|
6909
|
+
# value: "PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH", # required, accepts PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH, PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH, PROCESS_OBSERVED_IN_EC2_RUNTIME, PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME
|
|
6910
|
+
# },
|
|
6911
|
+
# purl_qualifier: {
|
|
6912
|
+
# comparison: "EQUALS", # required, accepts EQUALS
|
|
6913
|
+
# key: "arch", # required, accepts arch, collector, dev_dependency, distro, epoch, go_toolchain, hardened, private, rust_toolchain, scope, skip_chromium_download, source, stream, transitive_dependency, unresolved, vendor
|
|
6914
|
+
# value: "MapValue",
|
|
6915
|
+
# },
|
|
6863
6916
|
# },
|
|
6864
6917
|
# ],
|
|
6865
6918
|
# related_vulnerabilities: [
|
|
@@ -7242,6 +7295,9 @@ module Aws::Inspector2
|
|
|
7242
7295
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].fixed_in_version #=> String
|
|
7243
7296
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].remediation #=> String
|
|
7244
7297
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].source_lambda_layer_arn #=> String
|
|
7298
|
+
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].runtime_reachability #=> String, one of "REACHABLE", "NOT_REACHABLE", "UNKNOWN"
|
|
7299
|
+
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].runtime_reachability_reason #=> String, one of "PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH", "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH", "PROCESS_OBSERVED_IN_EC2_RUNTIME", "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME"
|
|
7300
|
+
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].purl #=> String
|
|
7245
7301
|
# resp.findings[0].package_vulnerability_details.source #=> String
|
|
7246
7302
|
# resp.findings[0].package_vulnerability_details.cvss #=> Array
|
|
7247
7303
|
# resp.findings[0].package_vulnerability_details.cvss[0].base_score #=> Float
|
|
@@ -8714,6 +8770,19 @@ module Aws::Inspector2
|
|
|
8714
8770
|
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
|
8715
8771
|
# value: "StringInput", # required
|
|
8716
8772
|
# },
|
|
8773
|
+
# runtime_reachability: {
|
|
8774
|
+
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
|
8775
|
+
# value: "REACHABLE", # required, accepts REACHABLE, NOT_REACHABLE, UNKNOWN
|
|
8776
|
+
# },
|
|
8777
|
+
# runtime_reachability_reason: {
|
|
8778
|
+
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
|
8779
|
+
# value: "PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH", # required, accepts PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH, PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH, PROCESS_OBSERVED_IN_EC2_RUNTIME, PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME
|
|
8780
|
+
# },
|
|
8781
|
+
# purl_qualifier: {
|
|
8782
|
+
# comparison: "EQUALS", # required, accepts EQUALS
|
|
8783
|
+
# key: "arch", # required, accepts arch, collector, dev_dependency, distro, epoch, go_toolchain, hardened, private, rust_toolchain, scope, skip_chromium_download, source, stream, transitive_dependency, unresolved, vendor
|
|
8784
|
+
# value: "MapValue",
|
|
8785
|
+
# },
|
|
8717
8786
|
# },
|
|
8718
8787
|
# ],
|
|
8719
8788
|
# related_vulnerabilities: [
|
|
@@ -9041,7 +9110,7 @@ module Aws::Inspector2
|
|
|
9041
9110
|
tracer: tracer
|
|
9042
9111
|
)
|
|
9043
9112
|
context[:gem_name] = 'aws-sdk-inspector2'
|
|
9044
|
-
context[:gem_version] = '1.
|
|
9113
|
+
context[:gem_version] = '1.101.0'
|
|
9045
9114
|
Seahorse::Client::Request.new(handlers, context)
|
|
9046
9115
|
end
|
|
9047
9116
|
|
|
@@ -633,6 +633,7 @@ module Aws::Inspector2
|
|
|
633
633
|
PackageRelease = Shapes::StringShape.new(name: 'PackageRelease')
|
|
634
634
|
PackageSortBy = Shapes::StringShape.new(name: 'PackageSortBy')
|
|
635
635
|
PackageType = Shapes::StringShape.new(name: 'PackageType')
|
|
636
|
+
PackageUrl = Shapes::StringShape.new(name: 'PackageUrl')
|
|
636
637
|
PackageVersion = Shapes::StringShape.new(name: 'PackageVersion')
|
|
637
638
|
PackageVulnerabilityDetails = Shapes::StructureShape.new(name: 'PackageVulnerabilityDetails')
|
|
638
639
|
Path = Shapes::StringShape.new(name: 'Path')
|
|
@@ -667,6 +668,8 @@ module Aws::Inspector2
|
|
|
667
668
|
ProviderOrgId = Shapes::StringShape.new(name: 'ProviderOrgId')
|
|
668
669
|
ProviderPartition = Shapes::StringShape.new(name: 'ProviderPartition')
|
|
669
670
|
ProviderRegion = Shapes::StringShape.new(name: 'ProviderRegion')
|
|
671
|
+
PurlQualifierFilter = Shapes::StructureShape.new(name: 'PurlQualifierFilter')
|
|
672
|
+
PurlQualifierKey = Shapes::StringShape.new(name: 'PurlQualifierKey')
|
|
670
673
|
Reason = Shapes::StringShape.new(name: 'Reason')
|
|
671
674
|
Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
|
|
672
675
|
ReferenceUrls = Shapes::ListShape.new(name: 'ReferenceUrls')
|
|
@@ -708,6 +711,11 @@ module Aws::Inspector2
|
|
|
708
711
|
RuleSetCategories = Shapes::ListShape.new(name: 'RuleSetCategories')
|
|
709
712
|
RuleSetCategory = Shapes::StringShape.new(name: 'RuleSetCategory')
|
|
710
713
|
Runtime = Shapes::StringShape.new(name: 'Runtime')
|
|
714
|
+
RuntimeReachability = Shapes::StringShape.new(name: 'RuntimeReachability')
|
|
715
|
+
RuntimeReachabilityComparison = Shapes::StringShape.new(name: 'RuntimeReachabilityComparison')
|
|
716
|
+
RuntimeReachabilityFilter = Shapes::StructureShape.new(name: 'RuntimeReachabilityFilter')
|
|
717
|
+
RuntimeReachabilityReason = Shapes::StringShape.new(name: 'RuntimeReachabilityReason')
|
|
718
|
+
RuntimeReachabilityReasonFilter = Shapes::StructureShape.new(name: 'RuntimeReachabilityReasonFilter')
|
|
711
719
|
SbomReportFormat = Shapes::StringShape.new(name: 'SbomReportFormat')
|
|
712
720
|
ScanConfigurationArn = Shapes::StringShape.new(name: 'ScanConfigurationArn')
|
|
713
721
|
ScanConfigurationName = Shapes::StringShape.new(name: 'ScanConfigurationName')
|
|
@@ -2878,6 +2886,9 @@ module Aws::Inspector2
|
|
|
2878
2886
|
PackageFilter.add_member(:source_layer_hash, Shapes::ShapeRef.new(shape: StringFilter, location_name: "sourceLayerHash"))
|
|
2879
2887
|
PackageFilter.add_member(:source_lambda_layer_arn, Shapes::ShapeRef.new(shape: StringFilter, location_name: "sourceLambdaLayerArn"))
|
|
2880
2888
|
PackageFilter.add_member(:file_path, Shapes::ShapeRef.new(shape: StringFilter, location_name: "filePath"))
|
|
2889
|
+
PackageFilter.add_member(:runtime_reachability, Shapes::ShapeRef.new(shape: RuntimeReachabilityFilter, location_name: "runtimeReachability"))
|
|
2890
|
+
PackageFilter.add_member(:runtime_reachability_reason, Shapes::ShapeRef.new(shape: RuntimeReachabilityReasonFilter, location_name: "runtimeReachabilityReason"))
|
|
2891
|
+
PackageFilter.add_member(:purl_qualifier, Shapes::ShapeRef.new(shape: PurlQualifierFilter, location_name: "purlQualifier"))
|
|
2881
2892
|
PackageFilter.struct_class = Types::PackageFilter
|
|
2882
2893
|
|
|
2883
2894
|
PackageFilterList.member = Shapes::ShapeRef.new(shape: PackageFilter)
|
|
@@ -2956,6 +2967,11 @@ module Aws::Inspector2
|
|
|
2956
2967
|
|
|
2957
2968
|
ProviderFilterList.member = Shapes::ShapeRef.new(shape: ProviderFilter)
|
|
2958
2969
|
|
|
2970
|
+
PurlQualifierFilter.add_member(:comparison, Shapes::ShapeRef.new(shape: MapComparison, required: true, location_name: "comparison"))
|
|
2971
|
+
PurlQualifierFilter.add_member(:key, Shapes::ShapeRef.new(shape: PurlQualifierKey, required: true, location_name: "key"))
|
|
2972
|
+
PurlQualifierFilter.add_member(:value, Shapes::ShapeRef.new(shape: MapValue, location_name: "value"))
|
|
2973
|
+
PurlQualifierFilter.struct_class = Types::PurlQualifierFilter
|
|
2974
|
+
|
|
2959
2975
|
Recommendation.add_member(:text, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "text"))
|
|
2960
2976
|
Recommendation.add_member(:url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Url"))
|
|
2961
2977
|
Recommendation.struct_class = Types::Recommendation
|
|
@@ -3086,6 +3102,14 @@ module Aws::Inspector2
|
|
|
3086
3102
|
|
|
3087
3103
|
RuleSetCategories.member = Shapes::ShapeRef.new(shape: RuleSetCategory)
|
|
3088
3104
|
|
|
3105
|
+
RuntimeReachabilityFilter.add_member(:comparison, Shapes::ShapeRef.new(shape: RuntimeReachabilityComparison, required: true, location_name: "comparison"))
|
|
3106
|
+
RuntimeReachabilityFilter.add_member(:value, Shapes::ShapeRef.new(shape: RuntimeReachability, required: true, location_name: "value"))
|
|
3107
|
+
RuntimeReachabilityFilter.struct_class = Types::RuntimeReachabilityFilter
|
|
3108
|
+
|
|
3109
|
+
RuntimeReachabilityReasonFilter.add_member(:comparison, Shapes::ShapeRef.new(shape: RuntimeReachabilityComparison, required: true, location_name: "comparison"))
|
|
3110
|
+
RuntimeReachabilityReasonFilter.add_member(:value, Shapes::ShapeRef.new(shape: RuntimeReachabilityReason, required: true, location_name: "value"))
|
|
3111
|
+
RuntimeReachabilityReasonFilter.struct_class = Types::RuntimeReachabilityReasonFilter
|
|
3112
|
+
|
|
3089
3113
|
ScanSourceList.member = Shapes::ShapeRef.new(shape: ScanSource)
|
|
3090
3114
|
|
|
3091
3115
|
ScanStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: ScanStatusCode, required: true, location_name: "statusCode"))
|
|
@@ -3615,6 +3639,9 @@ module Aws::Inspector2
|
|
|
3615
3639
|
VulnerablePackage.add_member(:fixed_in_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "fixedInVersion"))
|
|
3616
3640
|
VulnerablePackage.add_member(:remediation, Shapes::ShapeRef.new(shape: VulnerablePackageRemediation, location_name: "remediation"))
|
|
3617
3641
|
VulnerablePackage.add_member(:source_lambda_layer_arn, Shapes::ShapeRef.new(shape: LambdaLayerArn, location_name: "sourceLambdaLayerArn"))
|
|
3642
|
+
VulnerablePackage.add_member(:runtime_reachability, Shapes::ShapeRef.new(shape: RuntimeReachability, location_name: "runtimeReachability"))
|
|
3643
|
+
VulnerablePackage.add_member(:runtime_reachability_reason, Shapes::ShapeRef.new(shape: RuntimeReachabilityReason, location_name: "runtimeReachabilityReason"))
|
|
3644
|
+
VulnerablePackage.add_member(:purl, Shapes::ShapeRef.new(shape: PackageUrl, location_name: "purl"))
|
|
3618
3645
|
VulnerablePackage.struct_class = Types::VulnerablePackage
|
|
3619
3646
|
|
|
3620
3647
|
VulnerablePackageList.member = Shapes::ShapeRef.new(shape: VulnerablePackage)
|
|
@@ -9221,6 +9221,33 @@ module Aws::Inspector2
|
|
|
9221
9221
|
# on.
|
|
9222
9222
|
# @return [Types::StringFilter]
|
|
9223
9223
|
#
|
|
9224
|
+
# @!attribute [rw] runtime_reachability
|
|
9225
|
+
# An object that contains details on the runtime reachability status
|
|
9226
|
+
# of the package to filter on. For more information, see
|
|
9227
|
+
# [Understanding runtime reachability][1] in the Amazon Inspector user
|
|
9228
|
+
# guide.
|
|
9229
|
+
#
|
|
9230
|
+
#
|
|
9231
|
+
#
|
|
9232
|
+
# [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html
|
|
9233
|
+
# @return [Types::RuntimeReachabilityFilter]
|
|
9234
|
+
#
|
|
9235
|
+
# @!attribute [rw] runtime_reachability_reason
|
|
9236
|
+
# An object that contains details on the runtime reachability reason
|
|
9237
|
+
# of the package to filter on. For more information, see
|
|
9238
|
+
# [Understanding runtime reachability][1] in the Amazon Inspector user
|
|
9239
|
+
# guide.
|
|
9240
|
+
#
|
|
9241
|
+
#
|
|
9242
|
+
#
|
|
9243
|
+
# [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html
|
|
9244
|
+
# @return [Types::RuntimeReachabilityReasonFilter]
|
|
9245
|
+
#
|
|
9246
|
+
# @!attribute [rw] purl_qualifier
|
|
9247
|
+
# An object that contains details on the package URL (purl) qualifier
|
|
9248
|
+
# to filter on.
|
|
9249
|
+
# @return [Types::PurlQualifierFilter]
|
|
9250
|
+
#
|
|
9224
9251
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/PackageFilter AWS API Documentation
|
|
9225
9252
|
#
|
|
9226
9253
|
class PackageFilter < Struct.new(
|
|
@@ -9231,7 +9258,10 @@ module Aws::Inspector2
|
|
|
9231
9258
|
:architecture,
|
|
9232
9259
|
:source_layer_hash,
|
|
9233
9260
|
:source_lambda_layer_arn,
|
|
9234
|
-
:file_path
|
|
9261
|
+
:file_path,
|
|
9262
|
+
:runtime_reachability,
|
|
9263
|
+
:runtime_reachability_reason,
|
|
9264
|
+
:purl_qualifier)
|
|
9235
9265
|
SENSITIVE = []
|
|
9236
9266
|
include Aws::Structure
|
|
9237
9267
|
end
|
|
@@ -9523,6 +9553,31 @@ module Aws::Inspector2
|
|
|
9523
9553
|
include Aws::Structure
|
|
9524
9554
|
end
|
|
9525
9555
|
|
|
9556
|
+
# An object that describes the details of a package URL (purl) qualifier
|
|
9557
|
+
# filter.
|
|
9558
|
+
#
|
|
9559
|
+
# @!attribute [rw] comparison
|
|
9560
|
+
# The operator to use when comparing values in the filter.
|
|
9561
|
+
# @return [String]
|
|
9562
|
+
#
|
|
9563
|
+
# @!attribute [rw] key
|
|
9564
|
+
# The package URL (purl) qualifier key to filter on.
|
|
9565
|
+
# @return [String]
|
|
9566
|
+
#
|
|
9567
|
+
# @!attribute [rw] value
|
|
9568
|
+
# The package URL (purl) qualifier value to filter on.
|
|
9569
|
+
# @return [String]
|
|
9570
|
+
#
|
|
9571
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/PurlQualifierFilter AWS API Documentation
|
|
9572
|
+
#
|
|
9573
|
+
class PurlQualifierFilter < Struct.new(
|
|
9574
|
+
:comparison,
|
|
9575
|
+
:key,
|
|
9576
|
+
:value)
|
|
9577
|
+
SENSITIVE = []
|
|
9578
|
+
include Aws::Structure
|
|
9579
|
+
end
|
|
9580
|
+
|
|
9526
9581
|
# Details about the recommended course of action to remediate the
|
|
9527
9582
|
# finding.
|
|
9528
9583
|
#
|
|
@@ -10180,6 +10235,45 @@ module Aws::Inspector2
|
|
|
10180
10235
|
include Aws::Structure
|
|
10181
10236
|
end
|
|
10182
10237
|
|
|
10238
|
+
# An object that describes the details of a runtime reachability filter.
|
|
10239
|
+
#
|
|
10240
|
+
# @!attribute [rw] comparison
|
|
10241
|
+
# The operator to use when comparing values in the filter.
|
|
10242
|
+
# @return [String]
|
|
10243
|
+
#
|
|
10244
|
+
# @!attribute [rw] value
|
|
10245
|
+
# The runtime reachability status to filter on.
|
|
10246
|
+
# @return [String]
|
|
10247
|
+
#
|
|
10248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/RuntimeReachabilityFilter AWS API Documentation
|
|
10249
|
+
#
|
|
10250
|
+
class RuntimeReachabilityFilter < Struct.new(
|
|
10251
|
+
:comparison,
|
|
10252
|
+
:value)
|
|
10253
|
+
SENSITIVE = []
|
|
10254
|
+
include Aws::Structure
|
|
10255
|
+
end
|
|
10256
|
+
|
|
10257
|
+
# An object that describes the details of a runtime reachability reason
|
|
10258
|
+
# filter.
|
|
10259
|
+
#
|
|
10260
|
+
# @!attribute [rw] comparison
|
|
10261
|
+
# The operator to use when comparing values in the filter.
|
|
10262
|
+
# @return [String]
|
|
10263
|
+
#
|
|
10264
|
+
# @!attribute [rw] value
|
|
10265
|
+
# The runtime reachability reason to filter on.
|
|
10266
|
+
# @return [String]
|
|
10267
|
+
#
|
|
10268
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/RuntimeReachabilityReasonFilter AWS API Documentation
|
|
10269
|
+
#
|
|
10270
|
+
class RuntimeReachabilityReasonFilter < Struct.new(
|
|
10271
|
+
:comparison,
|
|
10272
|
+
:value)
|
|
10273
|
+
SENSITIVE = []
|
|
10274
|
+
include Aws::Structure
|
|
10275
|
+
end
|
|
10276
|
+
|
|
10183
10277
|
# The status of the scan.
|
|
10184
10278
|
#
|
|
10185
10279
|
# @!attribute [rw] status_code
|
|
@@ -12641,6 +12735,30 @@ module Aws::Inspector2
|
|
|
12641
12735
|
# function affected by a finding.
|
|
12642
12736
|
# @return [String]
|
|
12643
12737
|
#
|
|
12738
|
+
# @!attribute [rw] runtime_reachability
|
|
12739
|
+
# The runtime reachability status of the vulnerable package. For more
|
|
12740
|
+
# information, see [Understanding runtime reachability][1] in the
|
|
12741
|
+
# Amazon Inspector user guide.
|
|
12742
|
+
#
|
|
12743
|
+
#
|
|
12744
|
+
#
|
|
12745
|
+
# [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html
|
|
12746
|
+
# @return [String]
|
|
12747
|
+
#
|
|
12748
|
+
# @!attribute [rw] runtime_reachability_reason
|
|
12749
|
+
# The reason for the runtime reachability status of the vulnerable
|
|
12750
|
+
# package. For more information, see [Understanding runtime
|
|
12751
|
+
# reachability][1] in the Amazon Inspector user guide.
|
|
12752
|
+
#
|
|
12753
|
+
#
|
|
12754
|
+
#
|
|
12755
|
+
# [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html
|
|
12756
|
+
# @return [String]
|
|
12757
|
+
#
|
|
12758
|
+
# @!attribute [rw] purl
|
|
12759
|
+
# The package URL (purl) of the vulnerable package.
|
|
12760
|
+
# @return [String]
|
|
12761
|
+
#
|
|
12644
12762
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/VulnerablePackage AWS API Documentation
|
|
12645
12763
|
#
|
|
12646
12764
|
class VulnerablePackage < Struct.new(
|
|
@@ -12654,7 +12772,10 @@ module Aws::Inspector2
|
|
|
12654
12772
|
:file_path,
|
|
12655
12773
|
:fixed_in_version,
|
|
12656
12774
|
:remediation,
|
|
12657
|
-
:source_lambda_layer_arn
|
|
12775
|
+
:source_lambda_layer_arn,
|
|
12776
|
+
:runtime_reachability,
|
|
12777
|
+
:runtime_reachability_reason,
|
|
12778
|
+
:purl)
|
|
12658
12779
|
SENSITIVE = []
|
|
12659
12780
|
include Aws::Structure
|
|
12660
12781
|
end
|
data/lib/aws-sdk-inspector2.rb
CHANGED
data/sig/params.rbs
CHANGED
|
@@ -530,6 +530,19 @@ module Aws
|
|
|
530
530
|
file_path: {
|
|
531
531
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
|
532
532
|
value: ::String
|
|
533
|
+
}?,
|
|
534
|
+
runtime_reachability: {
|
|
535
|
+
comparison: ("EQUALS" | "NOT_EQUALS"),
|
|
536
|
+
value: ("REACHABLE" | "NOT_REACHABLE" | "UNKNOWN")
|
|
537
|
+
}?,
|
|
538
|
+
runtime_reachability_reason: {
|
|
539
|
+
comparison: ("EQUALS" | "NOT_EQUALS"),
|
|
540
|
+
value: ("PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH" | "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH" | "PROCESS_OBSERVED_IN_EC2_RUNTIME" | "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME")
|
|
541
|
+
}?,
|
|
542
|
+
purl_qualifier: {
|
|
543
|
+
comparison: ("EQUALS"),
|
|
544
|
+
key: ("arch" | "collector" | "dev_dependency" | "distro" | "epoch" | "go_toolchain" | "hardened" | "private" | "rust_toolchain" | "scope" | "skip_chromium_download" | "source" | "stream" | "transitive_dependency" | "unresolved" | "vendor"),
|
|
545
|
+
value: ::String?
|
|
533
546
|
}?
|
|
534
547
|
}
|
|
535
548
|
|
data/sig/types.rbs
CHANGED
|
@@ -2435,6 +2435,9 @@ module Aws::Inspector2
|
|
|
2435
2435
|
attr_accessor source_layer_hash: Types::StringFilter
|
|
2436
2436
|
attr_accessor source_lambda_layer_arn: Types::StringFilter
|
|
2437
2437
|
attr_accessor file_path: Types::StringFilter
|
|
2438
|
+
attr_accessor runtime_reachability: Types::RuntimeReachabilityFilter
|
|
2439
|
+
attr_accessor runtime_reachability_reason: Types::RuntimeReachabilityReasonFilter
|
|
2440
|
+
attr_accessor purl_qualifier: Types::PurlQualifierFilter
|
|
2438
2441
|
SENSITIVE: []
|
|
2439
2442
|
end
|
|
2440
2443
|
|
|
@@ -2528,6 +2531,13 @@ module Aws::Inspector2
|
|
|
2528
2531
|
SENSITIVE: []
|
|
2529
2532
|
end
|
|
2530
2533
|
|
|
2534
|
+
class PurlQualifierFilter
|
|
2535
|
+
attr_accessor comparison: ("EQUALS")
|
|
2536
|
+
attr_accessor key: ("arch" | "collector" | "dev_dependency" | "distro" | "epoch" | "go_toolchain" | "hardened" | "private" | "rust_toolchain" | "scope" | "skip_chromium_download" | "source" | "stream" | "transitive_dependency" | "unresolved" | "vendor")
|
|
2537
|
+
attr_accessor value: ::String
|
|
2538
|
+
SENSITIVE: []
|
|
2539
|
+
end
|
|
2540
|
+
|
|
2531
2541
|
class Recommendation
|
|
2532
2542
|
attr_accessor text: ::String
|
|
2533
2543
|
attr_accessor url: ::String
|
|
@@ -2669,6 +2679,18 @@ module Aws::Inspector2
|
|
|
2669
2679
|
SENSITIVE: []
|
|
2670
2680
|
end
|
|
2671
2681
|
|
|
2682
|
+
class RuntimeReachabilityFilter
|
|
2683
|
+
attr_accessor comparison: ("EQUALS" | "NOT_EQUALS")
|
|
2684
|
+
attr_accessor value: ("REACHABLE" | "NOT_REACHABLE" | "UNKNOWN")
|
|
2685
|
+
SENSITIVE: []
|
|
2686
|
+
end
|
|
2687
|
+
|
|
2688
|
+
class RuntimeReachabilityReasonFilter
|
|
2689
|
+
attr_accessor comparison: ("EQUALS" | "NOT_EQUALS")
|
|
2690
|
+
attr_accessor value: ("PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH" | "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH" | "PROCESS_OBSERVED_IN_EC2_RUNTIME" | "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME")
|
|
2691
|
+
SENSITIVE: []
|
|
2692
|
+
end
|
|
2693
|
+
|
|
2672
2694
|
class ScanStatus
|
|
2673
2695
|
attr_accessor status_code: ("ACTIVE" | "INACTIVE")
|
|
2674
2696
|
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" | "PENDING_REVIVAL_SCAN" | "INTEGRATION_CONNECTION_LOST" | "ACCESS_DENIED_TO_ENCRYPTION_KEY" | "UNSUPPORTED_LANGUAGE" | "NO_SCAN_CONFIGURATION_ASSOCIATED" | "SCAN_IN_PROGRESS" | "IMAGE_ARCHIVED" | "UNSUPPORTED_CODE_ARTIFACTS" | "RESOURCE_UNMANAGED" | "RESOURCE_STOPPED" | "EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED" | "STORAGE_LIMIT_EXCEEDED" | "INVALID_ARTIFACT")
|
|
@@ -3310,6 +3332,9 @@ module Aws::Inspector2
|
|
|
3310
3332
|
attr_accessor fixed_in_version: ::String
|
|
3311
3333
|
attr_accessor remediation: ::String
|
|
3312
3334
|
attr_accessor source_lambda_layer_arn: ::String
|
|
3335
|
+
attr_accessor runtime_reachability: ("REACHABLE" | "NOT_REACHABLE" | "UNKNOWN")
|
|
3336
|
+
attr_accessor runtime_reachability_reason: ("PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH" | "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH" | "PROCESS_OBSERVED_IN_EC2_RUNTIME" | "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME")
|
|
3337
|
+
attr_accessor purl: ::String
|
|
3313
3338
|
SENSITIVE: []
|
|
3314
3339
|
end
|
|
3315
3340
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.101.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.274.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.274.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|