aws-sdk-securityhub 1.144.0 → 1.146.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-securityhub/client.rb +277 -61
- data/lib/aws-sdk-securityhub/client_api.rb +164 -1
- data/lib/aws-sdk-securityhub/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-securityhub/types.rb +460 -5
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +130 -26
- data/sig/types.rbs +129 -11
- metadata +1 -1
|
@@ -22577,6 +22577,21 @@ module Aws::SecurityHub
|
|
|
22577
22577
|
# Enables filtering based on map field values.
|
|
22578
22578
|
# @return [Array<Types::OcsfMapFilter>]
|
|
22579
22579
|
#
|
|
22580
|
+
# @!attribute [rw] ip_filters
|
|
22581
|
+
# A list of IP address filters that allowing you to filter findings
|
|
22582
|
+
# based on IP address properties.
|
|
22583
|
+
# @return [Array<Types::OcsfIpFilter>]
|
|
22584
|
+
#
|
|
22585
|
+
# @!attribute [rw] nested_composite_filters
|
|
22586
|
+
# Provides an additional level of filtering, creating a three-layer
|
|
22587
|
+
# nested structure. The first layer is a `CompositeFilters` array with
|
|
22588
|
+
# a `CompositeOperator` (`AND`/`OR`). The second layer is a
|
|
22589
|
+
# `CompositeFilter` object that contains direct filters and
|
|
22590
|
+
# `NestedCompositeFilters`. The third layer is
|
|
22591
|
+
# `NestedCompositeFilters`, which contains additional filter
|
|
22592
|
+
# conditions.
|
|
22593
|
+
# @return [Array<Types::CompositeFilter>]
|
|
22594
|
+
#
|
|
22580
22595
|
# @!attribute [rw] operator
|
|
22581
22596
|
# The logical operator used to combine multiple filter conditions.
|
|
22582
22597
|
# @return [String]
|
|
@@ -22589,6 +22604,8 @@ module Aws::SecurityHub
|
|
|
22589
22604
|
:boolean_filters,
|
|
22590
22605
|
:number_filters,
|
|
22591
22606
|
:map_filters,
|
|
22607
|
+
:ip_filters,
|
|
22608
|
+
:nested_composite_filters,
|
|
22592
22609
|
:operator)
|
|
22593
22610
|
SENSITIVE = []
|
|
22594
22611
|
include Aws::Structure
|
|
@@ -25008,6 +25025,73 @@ module Aws::SecurityHub
|
|
|
25008
25025
|
include Aws::Structure
|
|
25009
25026
|
end
|
|
25010
25027
|
|
|
25028
|
+
# A filter structure that contains a logical combination of string
|
|
25029
|
+
# filters and nested composite filters for findings trend data.
|
|
25030
|
+
#
|
|
25031
|
+
# @!attribute [rw] string_filters
|
|
25032
|
+
# A list of string filters that apply to findings trend data fields.
|
|
25033
|
+
# @return [Array<Types::FindingsTrendsStringFilter>]
|
|
25034
|
+
#
|
|
25035
|
+
# @!attribute [rw] nested_composite_filters
|
|
25036
|
+
# A list of nested composite filters that you can use to create
|
|
25037
|
+
# complex filter conditions for findings trend data.
|
|
25038
|
+
# @return [Array<Types::FindingsTrendsCompositeFilter>]
|
|
25039
|
+
#
|
|
25040
|
+
# @!attribute [rw] operator
|
|
25041
|
+
# The logical operator (AND, OR) to apply between the string filters
|
|
25042
|
+
# and nested composite filters.
|
|
25043
|
+
# @return [String]
|
|
25044
|
+
#
|
|
25045
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/FindingsTrendsCompositeFilter AWS API Documentation
|
|
25046
|
+
#
|
|
25047
|
+
class FindingsTrendsCompositeFilter < Struct.new(
|
|
25048
|
+
:string_filters,
|
|
25049
|
+
:nested_composite_filters,
|
|
25050
|
+
:operator)
|
|
25051
|
+
SENSITIVE = []
|
|
25052
|
+
include Aws::Structure
|
|
25053
|
+
end
|
|
25054
|
+
|
|
25055
|
+
# The structure that defines filters to apply to findings trend data
|
|
25056
|
+
# queries.
|
|
25057
|
+
#
|
|
25058
|
+
# @!attribute [rw] composite_filters
|
|
25059
|
+
# A list of composite filters to apply to the findings trend data.
|
|
25060
|
+
# @return [Array<Types::FindingsTrendsCompositeFilter>]
|
|
25061
|
+
#
|
|
25062
|
+
# @!attribute [rw] composite_operator
|
|
25063
|
+
# The logical operator (AND, OR) to apply between multiple composite
|
|
25064
|
+
# filters.
|
|
25065
|
+
# @return [String]
|
|
25066
|
+
#
|
|
25067
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/FindingsTrendsFilters AWS API Documentation
|
|
25068
|
+
#
|
|
25069
|
+
class FindingsTrendsFilters < Struct.new(
|
|
25070
|
+
:composite_filters,
|
|
25071
|
+
:composite_operator)
|
|
25072
|
+
SENSITIVE = []
|
|
25073
|
+
include Aws::Structure
|
|
25074
|
+
end
|
|
25075
|
+
|
|
25076
|
+
# A filter for string-based fields in findings trend data.
|
|
25077
|
+
#
|
|
25078
|
+
# @!attribute [rw] field_name
|
|
25079
|
+
# The name of the findings field to filter on.
|
|
25080
|
+
# @return [String]
|
|
25081
|
+
#
|
|
25082
|
+
# @!attribute [rw] filter
|
|
25083
|
+
# A string filter for filtering Security Hub findings.
|
|
25084
|
+
# @return [Types::StringFilter]
|
|
25085
|
+
#
|
|
25086
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/FindingsTrendsStringFilter AWS API Documentation
|
|
25087
|
+
#
|
|
25088
|
+
class FindingsTrendsStringFilter < Struct.new(
|
|
25089
|
+
:field_name,
|
|
25090
|
+
:filter)
|
|
25091
|
+
SENSITIVE = []
|
|
25092
|
+
include Aws::Structure
|
|
25093
|
+
end
|
|
25094
|
+
|
|
25011
25095
|
# Defines the behavior of the firewall.
|
|
25012
25096
|
#
|
|
25013
25097
|
# @!attribute [rw] stateful_rule_group_references
|
|
@@ -25760,6 +25844,66 @@ module Aws::SecurityHub
|
|
|
25760
25844
|
include Aws::Structure
|
|
25761
25845
|
end
|
|
25762
25846
|
|
|
25847
|
+
# @!attribute [rw] filters
|
|
25848
|
+
# The filters to apply to the findings trend data.
|
|
25849
|
+
# @return [Types::FindingsTrendsFilters]
|
|
25850
|
+
#
|
|
25851
|
+
# @!attribute [rw] start_time
|
|
25852
|
+
# The starting timestamp for the time period to analyze findings
|
|
25853
|
+
# trends, in ISO 8601 format.
|
|
25854
|
+
# @return [Time]
|
|
25855
|
+
#
|
|
25856
|
+
# @!attribute [rw] end_time
|
|
25857
|
+
# The ending timestamp for the time period to analyze findings trends,
|
|
25858
|
+
# in ISO 8601 format.
|
|
25859
|
+
# @return [Time]
|
|
25860
|
+
#
|
|
25861
|
+
# @!attribute [rw] next_token
|
|
25862
|
+
# The token to use for paginating results. This value is returned in
|
|
25863
|
+
# the response if more results are available.
|
|
25864
|
+
# @return [String]
|
|
25865
|
+
#
|
|
25866
|
+
# @!attribute [rw] max_results
|
|
25867
|
+
# The maximum number of trend data points to return in a single
|
|
25868
|
+
# response.
|
|
25869
|
+
# @return [Integer]
|
|
25870
|
+
#
|
|
25871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindingsTrendsV2Request AWS API Documentation
|
|
25872
|
+
#
|
|
25873
|
+
class GetFindingsTrendsV2Request < Struct.new(
|
|
25874
|
+
:filters,
|
|
25875
|
+
:start_time,
|
|
25876
|
+
:end_time,
|
|
25877
|
+
:next_token,
|
|
25878
|
+
:max_results)
|
|
25879
|
+
SENSITIVE = []
|
|
25880
|
+
include Aws::Structure
|
|
25881
|
+
end
|
|
25882
|
+
|
|
25883
|
+
# @!attribute [rw] granularity
|
|
25884
|
+
# The time interval granularity for the returned trend data.
|
|
25885
|
+
# @return [String]
|
|
25886
|
+
#
|
|
25887
|
+
# @!attribute [rw] trends_metrics
|
|
25888
|
+
# The collection of time-series trend metrics, including counts of
|
|
25889
|
+
# findings by severity across the specified time period.
|
|
25890
|
+
# @return [Array<Types::TrendsMetricsResult>]
|
|
25891
|
+
#
|
|
25892
|
+
# @!attribute [rw] next_token
|
|
25893
|
+
# The token to use for retrieving the next page of results, if more
|
|
25894
|
+
# trend data is available.
|
|
25895
|
+
# @return [String]
|
|
25896
|
+
#
|
|
25897
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindingsTrendsV2Response AWS API Documentation
|
|
25898
|
+
#
|
|
25899
|
+
class GetFindingsTrendsV2Response < Struct.new(
|
|
25900
|
+
:granularity,
|
|
25901
|
+
:trends_metrics,
|
|
25902
|
+
:next_token)
|
|
25903
|
+
SENSITIVE = []
|
|
25904
|
+
include Aws::Structure
|
|
25905
|
+
end
|
|
25906
|
+
|
|
25763
25907
|
# @!attribute [rw] filters
|
|
25764
25908
|
# The finding attributes used to define a condition to filter the
|
|
25765
25909
|
# returned OCSF findings. You can filter up to 10 composite filters.
|
|
@@ -25987,6 +26131,67 @@ module Aws::SecurityHub
|
|
|
25987
26131
|
include Aws::Structure
|
|
25988
26132
|
end
|
|
25989
26133
|
|
|
26134
|
+
# @!attribute [rw] filters
|
|
26135
|
+
# The filters to apply to the resources trend data.
|
|
26136
|
+
# @return [Types::ResourcesTrendsFilters]
|
|
26137
|
+
#
|
|
26138
|
+
# @!attribute [rw] start_time
|
|
26139
|
+
# The starting timestamp for the time period to analyze resources
|
|
26140
|
+
# trends, in ISO 8601 format.
|
|
26141
|
+
# @return [Time]
|
|
26142
|
+
#
|
|
26143
|
+
# @!attribute [rw] end_time
|
|
26144
|
+
# The ending timestamp for the time period to analyze resources
|
|
26145
|
+
# trends, in ISO 8601 format.
|
|
26146
|
+
# @return [Time]
|
|
26147
|
+
#
|
|
26148
|
+
# @!attribute [rw] next_token
|
|
26149
|
+
# The token to use for paginating results. This value is returned in
|
|
26150
|
+
# the response if more results are available.
|
|
26151
|
+
# @return [String]
|
|
26152
|
+
#
|
|
26153
|
+
# @!attribute [rw] max_results
|
|
26154
|
+
# The maximum number of trend data points to return in a single
|
|
26155
|
+
# response.
|
|
26156
|
+
# @return [Integer]
|
|
26157
|
+
#
|
|
26158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetResourcesTrendsV2Request AWS API Documentation
|
|
26159
|
+
#
|
|
26160
|
+
class GetResourcesTrendsV2Request < Struct.new(
|
|
26161
|
+
:filters,
|
|
26162
|
+
:start_time,
|
|
26163
|
+
:end_time,
|
|
26164
|
+
:next_token,
|
|
26165
|
+
:max_results)
|
|
26166
|
+
SENSITIVE = []
|
|
26167
|
+
include Aws::Structure
|
|
26168
|
+
end
|
|
26169
|
+
|
|
26170
|
+
# @!attribute [rw] granularity
|
|
26171
|
+
# The time interval granularity for the returned trend data (such as
|
|
26172
|
+
# DAILY or WEEKLY).
|
|
26173
|
+
# @return [String]
|
|
26174
|
+
#
|
|
26175
|
+
# @!attribute [rw] trends_metrics
|
|
26176
|
+
# The collection of time-series trend metrics, including counts of
|
|
26177
|
+
# resources across the specified time period.
|
|
26178
|
+
# @return [Array<Types::ResourcesTrendsMetricsResult>]
|
|
26179
|
+
#
|
|
26180
|
+
# @!attribute [rw] next_token
|
|
26181
|
+
# The token to use for retrieving the next page of results, if more
|
|
26182
|
+
# trend data is available.
|
|
26183
|
+
# @return [String]
|
|
26184
|
+
#
|
|
26185
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetResourcesTrendsV2Response AWS API Documentation
|
|
26186
|
+
#
|
|
26187
|
+
class GetResourcesTrendsV2Response < Struct.new(
|
|
26188
|
+
:granularity,
|
|
26189
|
+
:trends_metrics,
|
|
26190
|
+
:next_token)
|
|
26191
|
+
SENSITIVE = []
|
|
26192
|
+
include Aws::Structure
|
|
26193
|
+
end
|
|
26194
|
+
|
|
25990
26195
|
# @!attribute [rw] filters
|
|
25991
26196
|
# Filters resources based on a set of criteria.
|
|
25992
26197
|
# @return [Types::ResourcesFilters]
|
|
@@ -28109,6 +28314,25 @@ module Aws::SecurityHub
|
|
|
28109
28314
|
include Aws::Structure
|
|
28110
28315
|
end
|
|
28111
28316
|
|
|
28317
|
+
# The structure for filtering findings based on IP address attributes.
|
|
28318
|
+
#
|
|
28319
|
+
# @!attribute [rw] field_name
|
|
28320
|
+
# The name of the IP address field to filter on.
|
|
28321
|
+
# @return [String]
|
|
28322
|
+
#
|
|
28323
|
+
# @!attribute [rw] filter
|
|
28324
|
+
# The IP filter for querying findings.
|
|
28325
|
+
# @return [Types::IpFilter]
|
|
28326
|
+
#
|
|
28327
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/OcsfIpFilter AWS API Documentation
|
|
28328
|
+
#
|
|
28329
|
+
class OcsfIpFilter < Struct.new(
|
|
28330
|
+
:field_name,
|
|
28331
|
+
:filter)
|
|
28332
|
+
SENSITIVE = []
|
|
28333
|
+
include Aws::Structure
|
|
28334
|
+
end
|
|
28335
|
+
|
|
28112
28336
|
# Enables filtering of security findings based on map field values in
|
|
28113
28337
|
# OCSF.
|
|
28114
28338
|
#
|
|
@@ -29757,8 +29981,8 @@ module Aws::SecurityHub
|
|
|
29757
29981
|
# Provides comprehensive details about an Amazon Web Services resource
|
|
29758
29982
|
# and its associated security findings.
|
|
29759
29983
|
#
|
|
29760
|
-
# @!attribute [rw]
|
|
29761
|
-
#
|
|
29984
|
+
# @!attribute [rw] resource_guid
|
|
29985
|
+
# The global identifier used to identify a resource.
|
|
29762
29986
|
# @return [String]
|
|
29763
29987
|
#
|
|
29764
29988
|
# @!attribute [rw] resource_id
|
|
@@ -29808,7 +30032,7 @@ module Aws::SecurityHub
|
|
|
29808
30032
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ResourceResult AWS API Documentation
|
|
29809
30033
|
#
|
|
29810
30034
|
class ResourceResult < Struct.new(
|
|
29811
|
-
:
|
|
30035
|
+
:resource_guid,
|
|
29812
30036
|
:resource_id,
|
|
29813
30037
|
:account_id,
|
|
29814
30038
|
:region,
|
|
@@ -29913,6 +30137,16 @@ module Aws::SecurityHub
|
|
|
29913
30137
|
# Enables filtering based on map-based field values.
|
|
29914
30138
|
# @return [Array<Types::ResourcesMapFilter>]
|
|
29915
30139
|
#
|
|
30140
|
+
# @!attribute [rw] nested_composite_filters
|
|
30141
|
+
# Provides an additional level of filtering, creating a three-layer
|
|
30142
|
+
# nested structure. The first layer is a `CompositeFilters` array with
|
|
30143
|
+
# a `CompositeOperator` (`AND`/`OR`). The second layer is a
|
|
30144
|
+
# `CompositeFilter` object that contains direct filters and
|
|
30145
|
+
# `NestedCompositeFilters`. The third layer is
|
|
30146
|
+
# `NestedCompositeFilters`, which contains additional filter
|
|
30147
|
+
# conditions.
|
|
30148
|
+
# @return [Array<Types::ResourcesCompositeFilter>]
|
|
30149
|
+
#
|
|
29916
30150
|
# @!attribute [rw] operator
|
|
29917
30151
|
# The logical operator used to combine multiple filter conditions.
|
|
29918
30152
|
# @return [String]
|
|
@@ -29924,11 +30158,26 @@ module Aws::SecurityHub
|
|
|
29924
30158
|
:date_filters,
|
|
29925
30159
|
:number_filters,
|
|
29926
30160
|
:map_filters,
|
|
30161
|
+
:nested_composite_filters,
|
|
29927
30162
|
:operator)
|
|
29928
30163
|
SENSITIVE = []
|
|
29929
30164
|
include Aws::Structure
|
|
29930
30165
|
end
|
|
29931
30166
|
|
|
30167
|
+
# Contains counts of resources for trend analysis.
|
|
30168
|
+
#
|
|
30169
|
+
# @!attribute [rw] all_resources
|
|
30170
|
+
# The total count of all resources for the given time interval.
|
|
30171
|
+
# @return [Integer]
|
|
30172
|
+
#
|
|
30173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ResourcesCount AWS API Documentation
|
|
30174
|
+
#
|
|
30175
|
+
class ResourcesCount < Struct.new(
|
|
30176
|
+
:all_resources)
|
|
30177
|
+
SENSITIVE = []
|
|
30178
|
+
include Aws::Structure
|
|
30179
|
+
end
|
|
30180
|
+
|
|
29932
30181
|
# Enables the filtering of Amazon Web Services resources based on date
|
|
29933
30182
|
# and timestamp attributes.
|
|
29934
30183
|
#
|
|
@@ -30032,6 +30281,112 @@ module Aws::SecurityHub
|
|
|
30032
30281
|
include Aws::Structure
|
|
30033
30282
|
end
|
|
30034
30283
|
|
|
30284
|
+
# A filter structure that contains a logical combination of string
|
|
30285
|
+
# filters and nested composite filters for resources trend data.
|
|
30286
|
+
#
|
|
30287
|
+
# @!attribute [rw] string_filters
|
|
30288
|
+
# A list of string filters that apply to resources trend data fields.
|
|
30289
|
+
# @return [Array<Types::ResourcesTrendsStringFilter>]
|
|
30290
|
+
#
|
|
30291
|
+
# @!attribute [rw] nested_composite_filters
|
|
30292
|
+
# A list of nested composite filters that you can use to create
|
|
30293
|
+
# complex filter conditions for resources trend data.
|
|
30294
|
+
# @return [Array<Types::ResourcesTrendsCompositeFilter>]
|
|
30295
|
+
#
|
|
30296
|
+
# @!attribute [rw] operator
|
|
30297
|
+
# The logical operator (AND, OR) to apply between the string filters
|
|
30298
|
+
# and nested composite filters.
|
|
30299
|
+
# @return [String]
|
|
30300
|
+
#
|
|
30301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ResourcesTrendsCompositeFilter AWS API Documentation
|
|
30302
|
+
#
|
|
30303
|
+
class ResourcesTrendsCompositeFilter < Struct.new(
|
|
30304
|
+
:string_filters,
|
|
30305
|
+
:nested_composite_filters,
|
|
30306
|
+
:operator)
|
|
30307
|
+
SENSITIVE = []
|
|
30308
|
+
include Aws::Structure
|
|
30309
|
+
end
|
|
30310
|
+
|
|
30311
|
+
# The structure that defines filters to apply to resources trend data
|
|
30312
|
+
# queries.
|
|
30313
|
+
#
|
|
30314
|
+
# @!attribute [rw] composite_filters
|
|
30315
|
+
# A list of composite filters to apply to the resources trend data.
|
|
30316
|
+
# @return [Array<Types::ResourcesTrendsCompositeFilter>]
|
|
30317
|
+
#
|
|
30318
|
+
# @!attribute [rw] composite_operator
|
|
30319
|
+
# The logical operator (AND, OR) to apply between multiple composite
|
|
30320
|
+
# filters.
|
|
30321
|
+
# @return [String]
|
|
30322
|
+
#
|
|
30323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ResourcesTrendsFilters AWS API Documentation
|
|
30324
|
+
#
|
|
30325
|
+
class ResourcesTrendsFilters < Struct.new(
|
|
30326
|
+
:composite_filters,
|
|
30327
|
+
:composite_operator)
|
|
30328
|
+
SENSITIVE = []
|
|
30329
|
+
include Aws::Structure
|
|
30330
|
+
end
|
|
30331
|
+
|
|
30332
|
+
# Contains the resource trend metrics data for a specific time point in
|
|
30333
|
+
# the requested time period.
|
|
30334
|
+
#
|
|
30335
|
+
# @!attribute [rw] timestamp
|
|
30336
|
+
# The timestamp for this data point in the resources trend metrics.
|
|
30337
|
+
# @return [Time]
|
|
30338
|
+
#
|
|
30339
|
+
# @!attribute [rw] trends_values
|
|
30340
|
+
# The resource trend metric values associated with this timestamp,
|
|
30341
|
+
# including resource counts.
|
|
30342
|
+
# @return [Types::ResourcesTrendsValues]
|
|
30343
|
+
#
|
|
30344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ResourcesTrendsMetricsResult AWS API Documentation
|
|
30345
|
+
#
|
|
30346
|
+
class ResourcesTrendsMetricsResult < Struct.new(
|
|
30347
|
+
:timestamp,
|
|
30348
|
+
:trends_values)
|
|
30349
|
+
SENSITIVE = []
|
|
30350
|
+
include Aws::Structure
|
|
30351
|
+
end
|
|
30352
|
+
|
|
30353
|
+
# A filter for string-based fields in resources trend data, such as
|
|
30354
|
+
# resource type or account ID.
|
|
30355
|
+
#
|
|
30356
|
+
# @!attribute [rw] field_name
|
|
30357
|
+
# The name of the resources field to filter on, such as resourceType,
|
|
30358
|
+
# accountId, or region.
|
|
30359
|
+
# @return [String]
|
|
30360
|
+
#
|
|
30361
|
+
# @!attribute [rw] filter
|
|
30362
|
+
# A string filter for filtering Security Hub findings.
|
|
30363
|
+
# @return [Types::StringFilter]
|
|
30364
|
+
#
|
|
30365
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ResourcesTrendsStringFilter AWS API Documentation
|
|
30366
|
+
#
|
|
30367
|
+
class ResourcesTrendsStringFilter < Struct.new(
|
|
30368
|
+
:field_name,
|
|
30369
|
+
:filter)
|
|
30370
|
+
SENSITIVE = []
|
|
30371
|
+
include Aws::Structure
|
|
30372
|
+
end
|
|
30373
|
+
|
|
30374
|
+
# Contains the aggregated resource count values for a specific point in
|
|
30375
|
+
# the resources trend timeline.
|
|
30376
|
+
#
|
|
30377
|
+
# @!attribute [rw] resources_count
|
|
30378
|
+
# The resource count statistics for this data point in the trend
|
|
30379
|
+
# timeline.
|
|
30380
|
+
# @return [Types::ResourcesCount]
|
|
30381
|
+
#
|
|
30382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ResourcesTrendsValues AWS API Documentation
|
|
30383
|
+
#
|
|
30384
|
+
class ResourcesTrendsValues < Struct.new(
|
|
30385
|
+
:resources_count)
|
|
30386
|
+
SENSITIVE = []
|
|
30387
|
+
include Aws::Structure
|
|
30388
|
+
end
|
|
30389
|
+
|
|
30035
30390
|
# Details about the account that was not processed.
|
|
30036
30391
|
#
|
|
30037
30392
|
# @!attribute [rw] account_id
|
|
@@ -31094,6 +31449,64 @@ module Aws::SecurityHub
|
|
|
31094
31449
|
include Aws::Structure
|
|
31095
31450
|
end
|
|
31096
31451
|
|
|
31452
|
+
# Contains counts of findings grouped by severity level for trend
|
|
31453
|
+
# analysis.
|
|
31454
|
+
#
|
|
31455
|
+
# @!attribute [rw] unknown
|
|
31456
|
+
# The count of findings with Unknown severity level at this point in
|
|
31457
|
+
# the trend timeline.
|
|
31458
|
+
# @return [Integer]
|
|
31459
|
+
#
|
|
31460
|
+
# @!attribute [rw] informational
|
|
31461
|
+
# The count of findings with Informational severity level at this
|
|
31462
|
+
# point in the trend timeline.
|
|
31463
|
+
# @return [Integer]
|
|
31464
|
+
#
|
|
31465
|
+
# @!attribute [rw] low
|
|
31466
|
+
# The count of findings with Low severity level at this point in the
|
|
31467
|
+
# trend timeline.
|
|
31468
|
+
# @return [Integer]
|
|
31469
|
+
#
|
|
31470
|
+
# @!attribute [rw] medium
|
|
31471
|
+
# The count of findings with Medium severity level at this point in
|
|
31472
|
+
# the trend timeline.
|
|
31473
|
+
# @return [Integer]
|
|
31474
|
+
#
|
|
31475
|
+
# @!attribute [rw] high
|
|
31476
|
+
# The count of findings with High severity level at this point in the
|
|
31477
|
+
# trend timeline.
|
|
31478
|
+
# @return [Integer]
|
|
31479
|
+
#
|
|
31480
|
+
# @!attribute [rw] critical
|
|
31481
|
+
# The count of findings with Critical severity level at this point in
|
|
31482
|
+
# the trend timeline.
|
|
31483
|
+
# @return [Integer]
|
|
31484
|
+
#
|
|
31485
|
+
# @!attribute [rw] fatal
|
|
31486
|
+
# The count of findings with Fatal severity level at this point in the
|
|
31487
|
+
# trend timeline.
|
|
31488
|
+
# @return [Integer]
|
|
31489
|
+
#
|
|
31490
|
+
# @!attribute [rw] other
|
|
31491
|
+
# The count of findings with severity levels not fitting into the
|
|
31492
|
+
# standard categories at this point in the trend timeline.
|
|
31493
|
+
# @return [Integer]
|
|
31494
|
+
#
|
|
31495
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/SeverityTrendsCount AWS API Documentation
|
|
31496
|
+
#
|
|
31497
|
+
class SeverityTrendsCount < Struct.new(
|
|
31498
|
+
:unknown,
|
|
31499
|
+
:informational,
|
|
31500
|
+
:low,
|
|
31501
|
+
:medium,
|
|
31502
|
+
:high,
|
|
31503
|
+
:critical,
|
|
31504
|
+
:fatal,
|
|
31505
|
+
:other)
|
|
31506
|
+
SENSITIVE = []
|
|
31507
|
+
include Aws::Structure
|
|
31508
|
+
end
|
|
31509
|
+
|
|
31097
31510
|
# Updates to the severity information for a finding.
|
|
31098
31511
|
#
|
|
31099
31512
|
# @!attribute [rw] normalized
|
|
@@ -32299,6 +32712,43 @@ module Aws::SecurityHub
|
|
|
32299
32712
|
include Aws::Structure
|
|
32300
32713
|
end
|
|
32301
32714
|
|
|
32715
|
+
# Contains the findings trend metrics data for a specific time point in
|
|
32716
|
+
# the requested time period.
|
|
32717
|
+
#
|
|
32718
|
+
# @!attribute [rw] timestamp
|
|
32719
|
+
# The timestamp for this data point in the findings trend metrics.
|
|
32720
|
+
# @return [Time]
|
|
32721
|
+
#
|
|
32722
|
+
# @!attribute [rw] trends_values
|
|
32723
|
+
# The finding trend metric values associated with this timestamp,
|
|
32724
|
+
# including severity counts.
|
|
32725
|
+
# @return [Types::TrendsValues]
|
|
32726
|
+
#
|
|
32727
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/TrendsMetricsResult AWS API Documentation
|
|
32728
|
+
#
|
|
32729
|
+
class TrendsMetricsResult < Struct.new(
|
|
32730
|
+
:timestamp,
|
|
32731
|
+
:trends_values)
|
|
32732
|
+
SENSITIVE = []
|
|
32733
|
+
include Aws::Structure
|
|
32734
|
+
end
|
|
32735
|
+
|
|
32736
|
+
# Contains the aggregated finding values for a specific point in the
|
|
32737
|
+
# findings trend timeline.
|
|
32738
|
+
#
|
|
32739
|
+
# @!attribute [rw] severity_trends
|
|
32740
|
+
# The count of findings organized by severity level for this data
|
|
32741
|
+
# point in the trend timeline.
|
|
32742
|
+
# @return [Types::SeverityTrendsCount]
|
|
32743
|
+
#
|
|
32744
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/TrendsValues AWS API Documentation
|
|
32745
|
+
#
|
|
32746
|
+
class TrendsValues < Struct.new(
|
|
32747
|
+
:severity_trends)
|
|
32748
|
+
SENSITIVE = []
|
|
32749
|
+
include Aws::Structure
|
|
32750
|
+
end
|
|
32751
|
+
|
|
32302
32752
|
# A list of objects containing `RuleArn`, `ErrorCode`, and
|
|
32303
32753
|
# `ErrorMessage`. This parameter tells you which automation rules the
|
|
32304
32754
|
# request didn't process and why.
|
|
@@ -32367,7 +32817,9 @@ module Aws::SecurityHub
|
|
|
32367
32817
|
# @return [String]
|
|
32368
32818
|
#
|
|
32369
32819
|
# @!attribute [rw] error_code
|
|
32370
|
-
# The error code for the unprocessed security control.
|
|
32820
|
+
# The error code for the unprocessed security control. The `NOT_FOUND`
|
|
32821
|
+
# value has been deprecated and replaced by the `RESOURCE_NOT_FOUND`
|
|
32822
|
+
# value.
|
|
32371
32823
|
# @return [String]
|
|
32372
32824
|
#
|
|
32373
32825
|
# @!attribute [rw] error_reason
|
|
@@ -32408,6 +32860,8 @@ module Aws::SecurityHub
|
|
|
32408
32860
|
#
|
|
32409
32861
|
# @!attribute [rw] error_code
|
|
32410
32862
|
# The error code for the unprocessed standard and control association.
|
|
32863
|
+
# The `NOT_FOUND` value has been deprecated and replaced by the
|
|
32864
|
+
# `RESOURCE_NOT_FOUND` value.
|
|
32411
32865
|
# @return [String]
|
|
32412
32866
|
#
|
|
32413
32867
|
# @!attribute [rw] error_reason
|
|
@@ -32444,7 +32898,8 @@ module Aws::SecurityHub
|
|
|
32444
32898
|
#
|
|
32445
32899
|
# @!attribute [rw] error_code
|
|
32446
32900
|
# The error code for the unprocessed update of the control's
|
|
32447
|
-
# enablement status in the specified standard.
|
|
32901
|
+
# enablement status in the specified standard. The `NOT_FOUND` value
|
|
32902
|
+
# has been deprecated and replaced by the `RESOURCE_NOT_FOUND` value.
|
|
32448
32903
|
# @return [String]
|
|
32449
32904
|
#
|
|
32450
32905
|
# @!attribute [rw] error_reason
|
data/lib/aws-sdk-securityhub.rb
CHANGED