aws-sdk-inspector2 1.13.0 → 1.15.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 +14 -1
- data/lib/aws-sdk-inspector2/client_api.rb +10 -0
- data/lib/aws-sdk-inspector2/endpoints.rb +1 -0
- data/lib/aws-sdk-inspector2/types.rb +35 -2
- data/lib/aws-sdk-inspector2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a08e9d939a0a8ea91be69338fa90fe7d3426b240633e6180f306c84d6f3577a
|
4
|
+
data.tar.gz: 25a3b72f046564be66d45aad9ad3fd240b4271a2469edd39a5da9bc4f667ce81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d68e11648fbcc35a69e37f0281930caeee64336f705e1ba728f560934035b68e4f1d616b982c378b2658ce80ce977f7b1461567293fb229d0f1adaa90508190
|
7
|
+
data.tar.gz: d2c6a0f701308c3ffb7dd80f034485573c68174ca2ed14e58a8b4cf05be2ef29851b911fc933b9f7e0f3a01d45deab3a779c7b655ae13ba407034280f7181487
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.15.0 (2023-06-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.14.0 (2023-06-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds new response properties and request parameters for 'last scanned at' on the ListCoverage operation. This feature allows you to search and view the date of which your resources were last scanned by Inspector.
|
13
|
+
|
4
14
|
1.13.0 (2023-05-31)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
@@ -1861,6 +1861,12 @@ module Aws::Inspector2
|
|
1861
1861
|
# value: "NonEmptyString",
|
1862
1862
|
# },
|
1863
1863
|
# ],
|
1864
|
+
# last_scanned_at: [
|
1865
|
+
# {
|
1866
|
+
# end_inclusive: Time.now,
|
1867
|
+
# start_inclusive: Time.now,
|
1868
|
+
# },
|
1869
|
+
# ],
|
1864
1870
|
# resource_id: [
|
1865
1871
|
# {
|
1866
1872
|
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
@@ -1900,6 +1906,7 @@ module Aws::Inspector2
|
|
1900
1906
|
#
|
1901
1907
|
# resp.covered_resources #=> Array
|
1902
1908
|
# resp.covered_resources[0].account_id #=> String
|
1909
|
+
# resp.covered_resources[0].last_scanned_at #=> Time
|
1903
1910
|
# resp.covered_resources[0].resource_id #=> String
|
1904
1911
|
# resp.covered_resources[0].resource_metadata.ec2.ami_id #=> String
|
1905
1912
|
# resp.covered_resources[0].resource_metadata.ec2.platform #=> String, one of "WINDOWS", "LINUX", "UNKNOWN"
|
@@ -2002,6 +2009,12 @@ module Aws::Inspector2
|
|
2002
2009
|
# value: "NonEmptyString",
|
2003
2010
|
# },
|
2004
2011
|
# ],
|
2012
|
+
# last_scanned_at: [
|
2013
|
+
# {
|
2014
|
+
# end_inclusive: Time.now,
|
2015
|
+
# start_inclusive: Time.now,
|
2016
|
+
# },
|
2017
|
+
# ],
|
2005
2018
|
# resource_id: [
|
2006
2019
|
# {
|
2007
2020
|
# comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
@@ -3747,7 +3760,7 @@ module Aws::Inspector2
|
|
3747
3760
|
params: params,
|
3748
3761
|
config: config)
|
3749
3762
|
context[:gem_name] = 'aws-sdk-inspector2'
|
3750
|
-
context[:gem_version] = '1.
|
3763
|
+
context[:gem_version] = '1.15.0'
|
3751
3764
|
Seahorse::Client::Request.new(handlers, context)
|
3752
3765
|
end
|
3753
3766
|
|
@@ -70,6 +70,8 @@ module Aws::Inspector2
|
|
70
70
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
71
71
|
Counts = Shapes::StructureShape.new(name: 'Counts')
|
72
72
|
CountsList = Shapes::ListShape.new(name: 'CountsList')
|
73
|
+
CoverageDateFilter = Shapes::StructureShape.new(name: 'CoverageDateFilter')
|
74
|
+
CoverageDateFilterList = Shapes::ListShape.new(name: 'CoverageDateFilterList')
|
73
75
|
CoverageFilterCriteria = Shapes::StructureShape.new(name: 'CoverageFilterCriteria')
|
74
76
|
CoverageMapComparison = Shapes::StringShape.new(name: 'CoverageMapComparison')
|
75
77
|
CoverageMapFilter = Shapes::StructureShape.new(name: 'CoverageMapFilter')
|
@@ -624,6 +626,12 @@ module Aws::Inspector2
|
|
624
626
|
|
625
627
|
CountsList.member = Shapes::ShapeRef.new(shape: Counts)
|
626
628
|
|
629
|
+
CoverageDateFilter.add_member(:end_inclusive, Shapes::ShapeRef.new(shape: DateTimeTimestamp, location_name: "endInclusive"))
|
630
|
+
CoverageDateFilter.add_member(:start_inclusive, Shapes::ShapeRef.new(shape: DateTimeTimestamp, location_name: "startInclusive"))
|
631
|
+
CoverageDateFilter.struct_class = Types::CoverageDateFilter
|
632
|
+
|
633
|
+
CoverageDateFilterList.member = Shapes::ShapeRef.new(shape: CoverageDateFilter)
|
634
|
+
|
627
635
|
CoverageFilterCriteria.add_member(:account_id, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "accountId"))
|
628
636
|
CoverageFilterCriteria.add_member(:ec2_instance_tags, Shapes::ShapeRef.new(shape: CoverageMapFilterList, location_name: "ec2InstanceTags"))
|
629
637
|
CoverageFilterCriteria.add_member(:ecr_image_tags, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "ecrImageTags"))
|
@@ -631,6 +639,7 @@ module Aws::Inspector2
|
|
631
639
|
CoverageFilterCriteria.add_member(:lambda_function_name, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "lambdaFunctionName"))
|
632
640
|
CoverageFilterCriteria.add_member(:lambda_function_runtime, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "lambdaFunctionRuntime"))
|
633
641
|
CoverageFilterCriteria.add_member(:lambda_function_tags, Shapes::ShapeRef.new(shape: CoverageMapFilterList, location_name: "lambdaFunctionTags"))
|
642
|
+
CoverageFilterCriteria.add_member(:last_scanned_at, Shapes::ShapeRef.new(shape: CoverageDateFilterList, location_name: "lastScannedAt"))
|
634
643
|
CoverageFilterCriteria.add_member(:resource_id, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "resourceId"))
|
635
644
|
CoverageFilterCriteria.add_member(:resource_type, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "resourceType"))
|
636
645
|
CoverageFilterCriteria.add_member(:scan_status_code, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "scanStatusCode"))
|
@@ -652,6 +661,7 @@ module Aws::Inspector2
|
|
652
661
|
CoverageStringFilterList.member = Shapes::ShapeRef.new(shape: CoverageStringFilter)
|
653
662
|
|
654
663
|
CoveredResource.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
664
|
+
CoveredResource.add_member(:last_scanned_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, location_name: "lastScannedAt"))
|
655
665
|
CoveredResource.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "resourceId"))
|
656
666
|
CoveredResource.add_member(:resource_metadata, Shapes::ShapeRef.new(shape: ResourceScanMetadata, location_name: "resourceMetadata"))
|
657
667
|
CoveredResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: CoverageResourceType, required: true, location_name: "resourceType"))
|
@@ -954,6 +954,27 @@ module Aws::Inspector2
|
|
954
954
|
include Aws::Structure
|
955
955
|
end
|
956
956
|
|
957
|
+
# Contains details of a coverage date filter.
|
958
|
+
#
|
959
|
+
# @!attribute [rw] end_inclusive
|
960
|
+
# A timestamp representing the end of the time period to filter
|
961
|
+
# results by.
|
962
|
+
# @return [Time]
|
963
|
+
#
|
964
|
+
# @!attribute [rw] start_inclusive
|
965
|
+
# A timestamp representing the start of the time period to filter
|
966
|
+
# results by.
|
967
|
+
# @return [Time]
|
968
|
+
#
|
969
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CoverageDateFilter AWS API Documentation
|
970
|
+
#
|
971
|
+
class CoverageDateFilter < Struct.new(
|
972
|
+
:end_inclusive,
|
973
|
+
:start_inclusive)
|
974
|
+
SENSITIVE = []
|
975
|
+
include Aws::Structure
|
976
|
+
end
|
977
|
+
|
957
978
|
# A structure that identifies filter criteria for
|
958
979
|
# `GetCoverageStatistics`.
|
959
980
|
#
|
@@ -989,6 +1010,12 @@ module Aws::Inspector2
|
|
989
1010
|
# tag.
|
990
1011
|
# @return [Array<Types::CoverageMapFilter>]
|
991
1012
|
#
|
1013
|
+
# @!attribute [rw] last_scanned_at
|
1014
|
+
# Filters Amazon Web Services resources based on whether Amazon
|
1015
|
+
# Inspector has checked them for vulnerabilities within the specified
|
1016
|
+
# time range.
|
1017
|
+
# @return [Array<Types::CoverageDateFilter>]
|
1018
|
+
#
|
992
1019
|
# @!attribute [rw] resource_id
|
993
1020
|
# An array of Amazon Web Services resource IDs to return coverage
|
994
1021
|
# statistics for.
|
@@ -996,8 +1023,8 @@ module Aws::Inspector2
|
|
996
1023
|
#
|
997
1024
|
# @!attribute [rw] resource_type
|
998
1025
|
# An array of Amazon Web Services resource types to return coverage
|
999
|
-
# statistics for. The values can be `AWS_EC2_INSTANCE
|
1000
|
-
# `AWS_ECR_REPOSITORY`.
|
1026
|
+
# statistics for. The values can be `AWS_EC2_INSTANCE`,
|
1027
|
+
# `AWS_LAMBDA_FUNCTION` or `AWS_ECR_REPOSITORY`.
|
1001
1028
|
# @return [Array<Types::CoverageStringFilter>]
|
1002
1029
|
#
|
1003
1030
|
# @!attribute [rw] scan_status_code
|
@@ -1023,6 +1050,7 @@ module Aws::Inspector2
|
|
1023
1050
|
:lambda_function_name,
|
1024
1051
|
:lambda_function_runtime,
|
1025
1052
|
:lambda_function_tags,
|
1053
|
+
:last_scanned_at,
|
1026
1054
|
:resource_id,
|
1027
1055
|
:resource_type,
|
1028
1056
|
:scan_status_code,
|
@@ -1082,6 +1110,10 @@ module Aws::Inspector2
|
|
1082
1110
|
# The Amazon Web Services account ID of the covered resource.
|
1083
1111
|
# @return [String]
|
1084
1112
|
#
|
1113
|
+
# @!attribute [rw] last_scanned_at
|
1114
|
+
# The date and time the resource was last checked for vulnerabilities.
|
1115
|
+
# @return [Time]
|
1116
|
+
#
|
1085
1117
|
# @!attribute [rw] resource_id
|
1086
1118
|
# The ID of the covered resource.
|
1087
1119
|
# @return [String]
|
@@ -1106,6 +1138,7 @@ module Aws::Inspector2
|
|
1106
1138
|
#
|
1107
1139
|
class CoveredResource < Struct.new(
|
1108
1140
|
:account_id,
|
1141
|
+
:last_scanned_at,
|
1109
1142
|
:resource_id,
|
1110
1143
|
:resource_metadata,
|
1111
1144
|
:resource_type,
|
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.15.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-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|