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
|
@@ -912,6 +912,12 @@ module Aws::SecurityHub
|
|
|
912
912
|
FindingHistoryUpdatesList = Shapes::ListShape.new(name: 'FindingHistoryUpdatesList')
|
|
913
913
|
FindingProviderFields = Shapes::StructureShape.new(name: 'FindingProviderFields')
|
|
914
914
|
FindingProviderSeverity = Shapes::StructureShape.new(name: 'FindingProviderSeverity')
|
|
915
|
+
FindingsTrendsCompositeFilter = Shapes::StructureShape.new(name: 'FindingsTrendsCompositeFilter')
|
|
916
|
+
FindingsTrendsCompositeFilterList = Shapes::ListShape.new(name: 'FindingsTrendsCompositeFilterList')
|
|
917
|
+
FindingsTrendsFilters = Shapes::StructureShape.new(name: 'FindingsTrendsFilters')
|
|
918
|
+
FindingsTrendsStringField = Shapes::StringShape.new(name: 'FindingsTrendsStringField')
|
|
919
|
+
FindingsTrendsStringFilter = Shapes::StructureShape.new(name: 'FindingsTrendsStringFilter')
|
|
920
|
+
FindingsTrendsStringFilterList = Shapes::ListShape.new(name: 'FindingsTrendsStringFilterList')
|
|
915
921
|
FirewallPolicyDetails = Shapes::StructureShape.new(name: 'FirewallPolicyDetails')
|
|
916
922
|
FirewallPolicyStatefulRuleGroupReferencesDetails = Shapes::StructureShape.new(name: 'FirewallPolicyStatefulRuleGroupReferencesDetails')
|
|
917
923
|
FirewallPolicyStatefulRuleGroupReferencesList = Shapes::ListShape.new(name: 'FirewallPolicyStatefulRuleGroupReferencesList')
|
|
@@ -943,6 +949,8 @@ module Aws::SecurityHub
|
|
|
943
949
|
GetFindingStatisticsV2Response = Shapes::StructureShape.new(name: 'GetFindingStatisticsV2Response')
|
|
944
950
|
GetFindingsRequest = Shapes::StructureShape.new(name: 'GetFindingsRequest')
|
|
945
951
|
GetFindingsResponse = Shapes::StructureShape.new(name: 'GetFindingsResponse')
|
|
952
|
+
GetFindingsTrendsV2Request = Shapes::StructureShape.new(name: 'GetFindingsTrendsV2Request')
|
|
953
|
+
GetFindingsTrendsV2Response = Shapes::StructureShape.new(name: 'GetFindingsTrendsV2Response')
|
|
946
954
|
GetFindingsV2Request = Shapes::StructureShape.new(name: 'GetFindingsV2Request')
|
|
947
955
|
GetFindingsV2Response = Shapes::StructureShape.new(name: 'GetFindingsV2Response')
|
|
948
956
|
GetInsightResultsRequest = Shapes::StructureShape.new(name: 'GetInsightResultsRequest')
|
|
@@ -957,10 +965,13 @@ module Aws::SecurityHub
|
|
|
957
965
|
GetMembersResponse = Shapes::StructureShape.new(name: 'GetMembersResponse')
|
|
958
966
|
GetResourcesStatisticsV2Request = Shapes::StructureShape.new(name: 'GetResourcesStatisticsV2Request')
|
|
959
967
|
GetResourcesStatisticsV2Response = Shapes::StructureShape.new(name: 'GetResourcesStatisticsV2Response')
|
|
968
|
+
GetResourcesTrendsV2Request = Shapes::StructureShape.new(name: 'GetResourcesTrendsV2Request')
|
|
969
|
+
GetResourcesTrendsV2Response = Shapes::StructureShape.new(name: 'GetResourcesTrendsV2Response')
|
|
960
970
|
GetResourcesV2Request = Shapes::StructureShape.new(name: 'GetResourcesV2Request')
|
|
961
971
|
GetResourcesV2Response = Shapes::StructureShape.new(name: 'GetResourcesV2Response')
|
|
962
972
|
GetSecurityControlDefinitionRequest = Shapes::StructureShape.new(name: 'GetSecurityControlDefinitionRequest')
|
|
963
973
|
GetSecurityControlDefinitionResponse = Shapes::StructureShape.new(name: 'GetSecurityControlDefinitionResponse')
|
|
974
|
+
GranularityField = Shapes::StringShape.new(name: 'GranularityField')
|
|
964
975
|
GroupByField = Shapes::StringShape.new(name: 'GroupByField')
|
|
965
976
|
GroupByResult = Shapes::StructureShape.new(name: 'GroupByResult')
|
|
966
977
|
GroupByResults = Shapes::ListShape.new(name: 'GroupByResults')
|
|
@@ -1079,6 +1090,9 @@ module Aws::SecurityHub
|
|
|
1079
1090
|
OcsfFindingIdentifier = Shapes::StructureShape.new(name: 'OcsfFindingIdentifier')
|
|
1080
1091
|
OcsfFindingIdentifierList = Shapes::ListShape.new(name: 'OcsfFindingIdentifierList')
|
|
1081
1092
|
OcsfFindingsList = Shapes::ListShape.new(name: 'OcsfFindingsList')
|
|
1093
|
+
OcsfIpField = Shapes::StringShape.new(name: 'OcsfIpField')
|
|
1094
|
+
OcsfIpFilter = Shapes::StructureShape.new(name: 'OcsfIpFilter')
|
|
1095
|
+
OcsfIpFilterList = Shapes::ListShape.new(name: 'OcsfIpFilterList')
|
|
1082
1096
|
OcsfMapField = Shapes::StringShape.new(name: 'OcsfMapField')
|
|
1083
1097
|
OcsfMapFilter = Shapes::StructureShape.new(name: 'OcsfMapFilter')
|
|
1084
1098
|
OcsfMapFilterList = Shapes::ListShape.new(name: 'OcsfMapFilterList')
|
|
@@ -1153,6 +1167,7 @@ module Aws::SecurityHub
|
|
|
1153
1167
|
Resources = Shapes::ListShape.new(name: 'Resources')
|
|
1154
1168
|
ResourcesCompositeFilter = Shapes::StructureShape.new(name: 'ResourcesCompositeFilter')
|
|
1155
1169
|
ResourcesCompositeFilterList = Shapes::ListShape.new(name: 'ResourcesCompositeFilterList')
|
|
1170
|
+
ResourcesCount = Shapes::StructureShape.new(name: 'ResourcesCount')
|
|
1156
1171
|
ResourcesDateField = Shapes::StringShape.new(name: 'ResourcesDateField')
|
|
1157
1172
|
ResourcesDateFilter = Shapes::StructureShape.new(name: 'ResourcesDateFilter')
|
|
1158
1173
|
ResourcesDateFilterList = Shapes::ListShape.new(name: 'ResourcesDateFilterList')
|
|
@@ -1166,6 +1181,15 @@ module Aws::SecurityHub
|
|
|
1166
1181
|
ResourcesStringField = Shapes::StringShape.new(name: 'ResourcesStringField')
|
|
1167
1182
|
ResourcesStringFilter = Shapes::StructureShape.new(name: 'ResourcesStringFilter')
|
|
1168
1183
|
ResourcesStringFilterList = Shapes::ListShape.new(name: 'ResourcesStringFilterList')
|
|
1184
|
+
ResourcesTrendsCompositeFilter = Shapes::StructureShape.new(name: 'ResourcesTrendsCompositeFilter')
|
|
1185
|
+
ResourcesTrendsCompositeFilterList = Shapes::ListShape.new(name: 'ResourcesTrendsCompositeFilterList')
|
|
1186
|
+
ResourcesTrendsFilters = Shapes::StructureShape.new(name: 'ResourcesTrendsFilters')
|
|
1187
|
+
ResourcesTrendsMetrics = Shapes::ListShape.new(name: 'ResourcesTrendsMetrics')
|
|
1188
|
+
ResourcesTrendsMetricsResult = Shapes::StructureShape.new(name: 'ResourcesTrendsMetricsResult')
|
|
1189
|
+
ResourcesTrendsStringField = Shapes::StringShape.new(name: 'ResourcesTrendsStringField')
|
|
1190
|
+
ResourcesTrendsStringFilter = Shapes::StructureShape.new(name: 'ResourcesTrendsStringFilter')
|
|
1191
|
+
ResourcesTrendsStringFilterList = Shapes::ListShape.new(name: 'ResourcesTrendsStringFilterList')
|
|
1192
|
+
ResourcesTrendsValues = Shapes::StructureShape.new(name: 'ResourcesTrendsValues')
|
|
1169
1193
|
Result = Shapes::StructureShape.new(name: 'Result')
|
|
1170
1194
|
ResultList = Shapes::ListShape.new(name: 'ResultList')
|
|
1171
1195
|
RouteSetDetails = Shapes::StructureShape.new(name: 'RouteSetDetails')
|
|
@@ -1228,6 +1252,7 @@ module Aws::SecurityHub
|
|
|
1228
1252
|
Severity = Shapes::StructureShape.new(name: 'Severity')
|
|
1229
1253
|
SeverityLabel = Shapes::StringShape.new(name: 'SeverityLabel')
|
|
1230
1254
|
SeverityRating = Shapes::StringShape.new(name: 'SeverityRating')
|
|
1255
|
+
SeverityTrendsCount = Shapes::StructureShape.new(name: 'SeverityTrendsCount')
|
|
1231
1256
|
SeverityUpdate = Shapes::StructureShape.new(name: 'SeverityUpdate')
|
|
1232
1257
|
Signal = Shapes::StructureShape.new(name: 'Signal')
|
|
1233
1258
|
SignalsList = Shapes::ListShape.new(name: 'SignalsList')
|
|
@@ -1293,6 +1318,10 @@ module Aws::SecurityHub
|
|
|
1293
1318
|
ThreatList = Shapes::ListShape.new(name: 'ThreatList')
|
|
1294
1319
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
1295
1320
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
|
1321
|
+
TrendsMetrics = Shapes::ListShape.new(name: 'TrendsMetrics')
|
|
1322
|
+
TrendsMetricsResult = Shapes::StructureShape.new(name: 'TrendsMetricsResult')
|
|
1323
|
+
TrendsValueCount = Shapes::IntegerShape.new(name: 'TrendsValueCount')
|
|
1324
|
+
TrendsValues = Shapes::StructureShape.new(name: 'TrendsValues')
|
|
1296
1325
|
TypeList = Shapes::ListShape.new(name: 'TypeList')
|
|
1297
1326
|
UnprocessedAutomationRule = Shapes::StructureShape.new(name: 'UnprocessedAutomationRule')
|
|
1298
1327
|
UnprocessedAutomationRulesList = Shapes::ListShape.new(name: 'UnprocessedAutomationRulesList')
|
|
@@ -5502,6 +5531,8 @@ module Aws::SecurityHub
|
|
|
5502
5531
|
CompositeFilter.add_member(:boolean_filters, Shapes::ShapeRef.new(shape: OcsfBooleanFilterList, location_name: "BooleanFilters"))
|
|
5503
5532
|
CompositeFilter.add_member(:number_filters, Shapes::ShapeRef.new(shape: OcsfNumberFilterList, location_name: "NumberFilters"))
|
|
5504
5533
|
CompositeFilter.add_member(:map_filters, Shapes::ShapeRef.new(shape: OcsfMapFilterList, location_name: "MapFilters"))
|
|
5534
|
+
CompositeFilter.add_member(:ip_filters, Shapes::ShapeRef.new(shape: OcsfIpFilterList, location_name: "IpFilters"))
|
|
5535
|
+
CompositeFilter.add_member(:nested_composite_filters, Shapes::ShapeRef.new(shape: CompositeFilterList, location_name: "NestedCompositeFilters"))
|
|
5505
5536
|
CompositeFilter.add_member(:operator, Shapes::ShapeRef.new(shape: AllowedOperators, location_name: "Operator"))
|
|
5506
5537
|
CompositeFilter.struct_class = Types::CompositeFilter
|
|
5507
5538
|
|
|
@@ -6001,6 +6032,23 @@ module Aws::SecurityHub
|
|
|
6001
6032
|
FindingProviderSeverity.add_member(:original, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Original"))
|
|
6002
6033
|
FindingProviderSeverity.struct_class = Types::FindingProviderSeverity
|
|
6003
6034
|
|
|
6035
|
+
FindingsTrendsCompositeFilter.add_member(:string_filters, Shapes::ShapeRef.new(shape: FindingsTrendsStringFilterList, location_name: "StringFilters"))
|
|
6036
|
+
FindingsTrendsCompositeFilter.add_member(:nested_composite_filters, Shapes::ShapeRef.new(shape: FindingsTrendsCompositeFilterList, location_name: "NestedCompositeFilters"))
|
|
6037
|
+
FindingsTrendsCompositeFilter.add_member(:operator, Shapes::ShapeRef.new(shape: AllowedOperators, location_name: "Operator"))
|
|
6038
|
+
FindingsTrendsCompositeFilter.struct_class = Types::FindingsTrendsCompositeFilter
|
|
6039
|
+
|
|
6040
|
+
FindingsTrendsCompositeFilterList.member = Shapes::ShapeRef.new(shape: FindingsTrendsCompositeFilter)
|
|
6041
|
+
|
|
6042
|
+
FindingsTrendsFilters.add_member(:composite_filters, Shapes::ShapeRef.new(shape: FindingsTrendsCompositeFilterList, location_name: "CompositeFilters"))
|
|
6043
|
+
FindingsTrendsFilters.add_member(:composite_operator, Shapes::ShapeRef.new(shape: AllowedOperators, location_name: "CompositeOperator"))
|
|
6044
|
+
FindingsTrendsFilters.struct_class = Types::FindingsTrendsFilters
|
|
6045
|
+
|
|
6046
|
+
FindingsTrendsStringFilter.add_member(:field_name, Shapes::ShapeRef.new(shape: FindingsTrendsStringField, location_name: "FieldName"))
|
|
6047
|
+
FindingsTrendsStringFilter.add_member(:filter, Shapes::ShapeRef.new(shape: StringFilter, location_name: "Filter"))
|
|
6048
|
+
FindingsTrendsStringFilter.struct_class = Types::FindingsTrendsStringFilter
|
|
6049
|
+
|
|
6050
|
+
FindingsTrendsStringFilterList.member = Shapes::ShapeRef.new(shape: FindingsTrendsStringFilter)
|
|
6051
|
+
|
|
6004
6052
|
FirewallPolicyDetails.add_member(:stateful_rule_group_references, Shapes::ShapeRef.new(shape: FirewallPolicyStatefulRuleGroupReferencesList, location_name: "StatefulRuleGroupReferences"))
|
|
6005
6053
|
FirewallPolicyDetails.add_member(:stateless_custom_actions, Shapes::ShapeRef.new(shape: FirewallPolicyStatelessCustomActionsList, location_name: "StatelessCustomActions"))
|
|
6006
6054
|
FirewallPolicyDetails.add_member(:stateless_default_actions, Shapes::ShapeRef.new(shape: NonEmptyStringList, location_name: "StatelessDefaultActions"))
|
|
@@ -6148,6 +6196,18 @@ module Aws::SecurityHub
|
|
|
6148
6196
|
GetFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6149
6197
|
GetFindingsResponse.struct_class = Types::GetFindingsResponse
|
|
6150
6198
|
|
|
6199
|
+
GetFindingsTrendsV2Request.add_member(:filters, Shapes::ShapeRef.new(shape: FindingsTrendsFilters, location_name: "Filters"))
|
|
6200
|
+
GetFindingsTrendsV2Request.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
|
|
6201
|
+
GetFindingsTrendsV2Request.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
|
|
6202
|
+
GetFindingsTrendsV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6203
|
+
GetFindingsTrendsV2Request.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
|
6204
|
+
GetFindingsTrendsV2Request.struct_class = Types::GetFindingsTrendsV2Request
|
|
6205
|
+
|
|
6206
|
+
GetFindingsTrendsV2Response.add_member(:granularity, Shapes::ShapeRef.new(shape: GranularityField, required: true, location_name: "Granularity"))
|
|
6207
|
+
GetFindingsTrendsV2Response.add_member(:trends_metrics, Shapes::ShapeRef.new(shape: TrendsMetrics, required: true, location_name: "TrendsMetrics"))
|
|
6208
|
+
GetFindingsTrendsV2Response.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6209
|
+
GetFindingsTrendsV2Response.struct_class = Types::GetFindingsTrendsV2Response
|
|
6210
|
+
|
|
6151
6211
|
GetFindingsV2Request.add_member(:filters, Shapes::ShapeRef.new(shape: OcsfFindingFilters, location_name: "Filters"))
|
|
6152
6212
|
GetFindingsV2Request.add_member(:sort_criteria, Shapes::ShapeRef.new(shape: SortCriteria, location_name: "SortCriteria"))
|
|
6153
6213
|
GetFindingsV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
@@ -6198,6 +6258,18 @@ module Aws::SecurityHub
|
|
|
6198
6258
|
GetResourcesStatisticsV2Response.add_member(:group_by_results, Shapes::ShapeRef.new(shape: GroupByResults, required: true, location_name: "GroupByResults"))
|
|
6199
6259
|
GetResourcesStatisticsV2Response.struct_class = Types::GetResourcesStatisticsV2Response
|
|
6200
6260
|
|
|
6261
|
+
GetResourcesTrendsV2Request.add_member(:filters, Shapes::ShapeRef.new(shape: ResourcesTrendsFilters, location_name: "Filters"))
|
|
6262
|
+
GetResourcesTrendsV2Request.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
|
|
6263
|
+
GetResourcesTrendsV2Request.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
|
|
6264
|
+
GetResourcesTrendsV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6265
|
+
GetResourcesTrendsV2Request.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
|
6266
|
+
GetResourcesTrendsV2Request.struct_class = Types::GetResourcesTrendsV2Request
|
|
6267
|
+
|
|
6268
|
+
GetResourcesTrendsV2Response.add_member(:granularity, Shapes::ShapeRef.new(shape: GranularityField, required: true, location_name: "Granularity"))
|
|
6269
|
+
GetResourcesTrendsV2Response.add_member(:trends_metrics, Shapes::ShapeRef.new(shape: ResourcesTrendsMetrics, required: true, location_name: "TrendsMetrics"))
|
|
6270
|
+
GetResourcesTrendsV2Response.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6271
|
+
GetResourcesTrendsV2Response.struct_class = Types::GetResourcesTrendsV2Response
|
|
6272
|
+
|
|
6201
6273
|
GetResourcesV2Request.add_member(:filters, Shapes::ShapeRef.new(shape: ResourcesFilters, location_name: "Filters"))
|
|
6202
6274
|
GetResourcesV2Request.add_member(:sort_criteria, Shapes::ShapeRef.new(shape: SortCriteria, location_name: "SortCriteria"))
|
|
6203
6275
|
GetResourcesV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
@@ -6627,6 +6699,12 @@ module Aws::SecurityHub
|
|
|
6627
6699
|
|
|
6628
6700
|
OcsfFindingsList.member = Shapes::ShapeRef.new(shape: OcsfFinding)
|
|
6629
6701
|
|
|
6702
|
+
OcsfIpFilter.add_member(:field_name, Shapes::ShapeRef.new(shape: OcsfIpField, location_name: "FieldName"))
|
|
6703
|
+
OcsfIpFilter.add_member(:filter, Shapes::ShapeRef.new(shape: IpFilter, location_name: "Filter"))
|
|
6704
|
+
OcsfIpFilter.struct_class = Types::OcsfIpFilter
|
|
6705
|
+
|
|
6706
|
+
OcsfIpFilterList.member = Shapes::ShapeRef.new(shape: OcsfIpFilter)
|
|
6707
|
+
|
|
6630
6708
|
OcsfMapFilter.add_member(:field_name, Shapes::ShapeRef.new(shape: OcsfMapField, location_name: "FieldName"))
|
|
6631
6709
|
OcsfMapFilter.add_member(:filter, Shapes::ShapeRef.new(shape: MapFilter, location_name: "Filter"))
|
|
6632
6710
|
OcsfMapFilter.struct_class = Types::OcsfMapFilter
|
|
@@ -6966,7 +7044,7 @@ module Aws::SecurityHub
|
|
|
6966
7044
|
ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Code"))
|
|
6967
7045
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
6968
7046
|
|
|
6969
|
-
ResourceResult.add_member(:
|
|
7047
|
+
ResourceResult.add_member(:resource_guid, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ResourceGuid"))
|
|
6970
7048
|
ResourceResult.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
|
|
6971
7049
|
ResourceResult.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "AccountId"))
|
|
6972
7050
|
ResourceResult.add_member(:region, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Region"))
|
|
@@ -7002,11 +7080,15 @@ module Aws::SecurityHub
|
|
|
7002
7080
|
ResourcesCompositeFilter.add_member(:date_filters, Shapes::ShapeRef.new(shape: ResourcesDateFilterList, location_name: "DateFilters"))
|
|
7003
7081
|
ResourcesCompositeFilter.add_member(:number_filters, Shapes::ShapeRef.new(shape: ResourcesNumberFilterList, location_name: "NumberFilters"))
|
|
7004
7082
|
ResourcesCompositeFilter.add_member(:map_filters, Shapes::ShapeRef.new(shape: ResourcesMapFilterList, location_name: "MapFilters"))
|
|
7083
|
+
ResourcesCompositeFilter.add_member(:nested_composite_filters, Shapes::ShapeRef.new(shape: ResourcesCompositeFilterList, location_name: "NestedCompositeFilters"))
|
|
7005
7084
|
ResourcesCompositeFilter.add_member(:operator, Shapes::ShapeRef.new(shape: AllowedOperators, location_name: "Operator"))
|
|
7006
7085
|
ResourcesCompositeFilter.struct_class = Types::ResourcesCompositeFilter
|
|
7007
7086
|
|
|
7008
7087
|
ResourcesCompositeFilterList.member = Shapes::ShapeRef.new(shape: ResourcesCompositeFilter)
|
|
7009
7088
|
|
|
7089
|
+
ResourcesCount.add_member(:all_resources, Shapes::ShapeRef.new(shape: TrendsValueCount, required: true, location_name: "AllResources"))
|
|
7090
|
+
ResourcesCount.struct_class = Types::ResourcesCount
|
|
7091
|
+
|
|
7010
7092
|
ResourcesDateFilter.add_member(:field_name, Shapes::ShapeRef.new(shape: ResourcesDateField, location_name: "FieldName"))
|
|
7011
7093
|
ResourcesDateFilter.add_member(:filter, Shapes::ShapeRef.new(shape: DateFilter, location_name: "Filter"))
|
|
7012
7094
|
ResourcesDateFilter.struct_class = Types::ResourcesDateFilter
|
|
@@ -7035,6 +7117,32 @@ module Aws::SecurityHub
|
|
|
7035
7117
|
|
|
7036
7118
|
ResourcesStringFilterList.member = Shapes::ShapeRef.new(shape: ResourcesStringFilter)
|
|
7037
7119
|
|
|
7120
|
+
ResourcesTrendsCompositeFilter.add_member(:string_filters, Shapes::ShapeRef.new(shape: ResourcesTrendsStringFilterList, location_name: "StringFilters"))
|
|
7121
|
+
ResourcesTrendsCompositeFilter.add_member(:nested_composite_filters, Shapes::ShapeRef.new(shape: ResourcesTrendsCompositeFilterList, location_name: "NestedCompositeFilters"))
|
|
7122
|
+
ResourcesTrendsCompositeFilter.add_member(:operator, Shapes::ShapeRef.new(shape: AllowedOperators, location_name: "Operator"))
|
|
7123
|
+
ResourcesTrendsCompositeFilter.struct_class = Types::ResourcesTrendsCompositeFilter
|
|
7124
|
+
|
|
7125
|
+
ResourcesTrendsCompositeFilterList.member = Shapes::ShapeRef.new(shape: ResourcesTrendsCompositeFilter)
|
|
7126
|
+
|
|
7127
|
+
ResourcesTrendsFilters.add_member(:composite_filters, Shapes::ShapeRef.new(shape: ResourcesTrendsCompositeFilterList, location_name: "CompositeFilters"))
|
|
7128
|
+
ResourcesTrendsFilters.add_member(:composite_operator, Shapes::ShapeRef.new(shape: AllowedOperators, location_name: "CompositeOperator"))
|
|
7129
|
+
ResourcesTrendsFilters.struct_class = Types::ResourcesTrendsFilters
|
|
7130
|
+
|
|
7131
|
+
ResourcesTrendsMetrics.member = Shapes::ShapeRef.new(shape: ResourcesTrendsMetricsResult)
|
|
7132
|
+
|
|
7133
|
+
ResourcesTrendsMetricsResult.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
|
|
7134
|
+
ResourcesTrendsMetricsResult.add_member(:trends_values, Shapes::ShapeRef.new(shape: ResourcesTrendsValues, required: true, location_name: "TrendsValues"))
|
|
7135
|
+
ResourcesTrendsMetricsResult.struct_class = Types::ResourcesTrendsMetricsResult
|
|
7136
|
+
|
|
7137
|
+
ResourcesTrendsStringFilter.add_member(:field_name, Shapes::ShapeRef.new(shape: ResourcesTrendsStringField, location_name: "FieldName"))
|
|
7138
|
+
ResourcesTrendsStringFilter.add_member(:filter, Shapes::ShapeRef.new(shape: StringFilter, location_name: "Filter"))
|
|
7139
|
+
ResourcesTrendsStringFilter.struct_class = Types::ResourcesTrendsStringFilter
|
|
7140
|
+
|
|
7141
|
+
ResourcesTrendsStringFilterList.member = Shapes::ShapeRef.new(shape: ResourcesTrendsStringFilter)
|
|
7142
|
+
|
|
7143
|
+
ResourcesTrendsValues.add_member(:resources_count, Shapes::ShapeRef.new(shape: ResourcesCount, required: true, location_name: "ResourcesCount"))
|
|
7144
|
+
ResourcesTrendsValues.struct_class = Types::ResourcesTrendsValues
|
|
7145
|
+
|
|
7038
7146
|
Result.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
|
7039
7147
|
Result.add_member(:processing_result, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ProcessingResult"))
|
|
7040
7148
|
Result.struct_class = Types::Result
|
|
@@ -7254,6 +7362,16 @@ module Aws::SecurityHub
|
|
|
7254
7362
|
Severity.add_member(:original, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Original"))
|
|
7255
7363
|
Severity.struct_class = Types::Severity
|
|
7256
7364
|
|
|
7365
|
+
SeverityTrendsCount.add_member(:unknown, Shapes::ShapeRef.new(shape: TrendsValueCount, required: true, location_name: "Unknown"))
|
|
7366
|
+
SeverityTrendsCount.add_member(:informational, Shapes::ShapeRef.new(shape: TrendsValueCount, required: true, location_name: "Informational"))
|
|
7367
|
+
SeverityTrendsCount.add_member(:low, Shapes::ShapeRef.new(shape: TrendsValueCount, required: true, location_name: "Low"))
|
|
7368
|
+
SeverityTrendsCount.add_member(:medium, Shapes::ShapeRef.new(shape: TrendsValueCount, required: true, location_name: "Medium"))
|
|
7369
|
+
SeverityTrendsCount.add_member(:high, Shapes::ShapeRef.new(shape: TrendsValueCount, required: true, location_name: "High"))
|
|
7370
|
+
SeverityTrendsCount.add_member(:critical, Shapes::ShapeRef.new(shape: TrendsValueCount, required: true, location_name: "Critical"))
|
|
7371
|
+
SeverityTrendsCount.add_member(:fatal, Shapes::ShapeRef.new(shape: TrendsValueCount, required: true, location_name: "Fatal"))
|
|
7372
|
+
SeverityTrendsCount.add_member(:other, Shapes::ShapeRef.new(shape: TrendsValueCount, required: true, location_name: "Other"))
|
|
7373
|
+
SeverityTrendsCount.struct_class = Types::SeverityTrendsCount
|
|
7374
|
+
|
|
7257
7375
|
SeverityUpdate.add_member(:normalized, Shapes::ShapeRef.new(shape: RatioScale, location_name: "Normalized"))
|
|
7258
7376
|
SeverityUpdate.add_member(:product, Shapes::ShapeRef.new(shape: Double, location_name: "Product"))
|
|
7259
7377
|
SeverityUpdate.add_member(:label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "Label"))
|
|
@@ -7491,6 +7609,15 @@ module Aws::SecurityHub
|
|
|
7491
7609
|
ThrottlingException.add_member(:code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Code"))
|
|
7492
7610
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
7493
7611
|
|
|
7612
|
+
TrendsMetrics.member = Shapes::ShapeRef.new(shape: TrendsMetricsResult)
|
|
7613
|
+
|
|
7614
|
+
TrendsMetricsResult.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
|
|
7615
|
+
TrendsMetricsResult.add_member(:trends_values, Shapes::ShapeRef.new(shape: TrendsValues, required: true, location_name: "TrendsValues"))
|
|
7616
|
+
TrendsMetricsResult.struct_class = Types::TrendsMetricsResult
|
|
7617
|
+
|
|
7618
|
+
TrendsValues.add_member(:severity_trends, Shapes::ShapeRef.new(shape: SeverityTrendsCount, required: true, location_name: "SeverityTrends"))
|
|
7619
|
+
TrendsValues.struct_class = Types::TrendsValues
|
|
7620
|
+
|
|
7494
7621
|
TypeList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
|
7495
7622
|
|
|
7496
7623
|
UnprocessedAutomationRule.add_member(:rule_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RuleArn"))
|
|
@@ -8645,6 +8772,24 @@ module Aws::SecurityHub
|
|
|
8645
8772
|
)
|
|
8646
8773
|
end)
|
|
8647
8774
|
|
|
8775
|
+
api.add_operation(:get_findings_trends_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
8776
|
+
o.name = "GetFindingsTrendsV2"
|
|
8777
|
+
o.http_method = "POST"
|
|
8778
|
+
o.http_request_uri = "/findingsTrendsv2"
|
|
8779
|
+
o.input = Shapes::ShapeRef.new(shape: GetFindingsTrendsV2Request)
|
|
8780
|
+
o.output = Shapes::ShapeRef.new(shape: GetFindingsTrendsV2Response)
|
|
8781
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
8782
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
8783
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
8784
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
8785
|
+
o[:pager] = Aws::Pager.new(
|
|
8786
|
+
limit_key: "max_results",
|
|
8787
|
+
tokens: {
|
|
8788
|
+
"next_token" => "next_token"
|
|
8789
|
+
}
|
|
8790
|
+
)
|
|
8791
|
+
end)
|
|
8792
|
+
|
|
8648
8793
|
api.add_operation(:get_findings_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
8649
8794
|
o.name = "GetFindingsV2"
|
|
8650
8795
|
o.http_method = "POST"
|
|
@@ -8749,6 +8894,24 @@ module Aws::SecurityHub
|
|
|
8749
8894
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
8750
8895
|
end)
|
|
8751
8896
|
|
|
8897
|
+
api.add_operation(:get_resources_trends_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
8898
|
+
o.name = "GetResourcesTrendsV2"
|
|
8899
|
+
o.http_method = "POST"
|
|
8900
|
+
o.http_request_uri = "/resourcesTrendsv2"
|
|
8901
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourcesTrendsV2Request)
|
|
8902
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourcesTrendsV2Response)
|
|
8903
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
8904
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
8905
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
8906
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
8907
|
+
o[:pager] = Aws::Pager.new(
|
|
8908
|
+
limit_key: "max_results",
|
|
8909
|
+
tokens: {
|
|
8910
|
+
"next_token" => "next_token"
|
|
8911
|
+
}
|
|
8912
|
+
)
|
|
8913
|
+
end)
|
|
8914
|
+
|
|
8752
8915
|
api.add_operation(:get_resources_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
8753
8916
|
o.name = "GetResourcesV2"
|
|
8754
8917
|
o.http_method = "POST"
|
|
@@ -13,22 +13,22 @@ module Aws::SecurityHub
|
|
|
13
13
|
# @!attribute region
|
|
14
14
|
# The AWS region used to dispatch the request.
|
|
15
15
|
#
|
|
16
|
-
# @return [
|
|
16
|
+
# @return [string]
|
|
17
17
|
#
|
|
18
18
|
# @!attribute use_dual_stack
|
|
19
19
|
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
|
20
20
|
#
|
|
21
|
-
# @return [
|
|
21
|
+
# @return [boolean]
|
|
22
22
|
#
|
|
23
23
|
# @!attribute use_fips
|
|
24
24
|
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
|
25
25
|
#
|
|
26
|
-
# @return [
|
|
26
|
+
# @return [boolean]
|
|
27
27
|
#
|
|
28
28
|
# @!attribute endpoint
|
|
29
29
|
# Override the endpoint used to send this request
|
|
30
30
|
#
|
|
31
|
-
# @return [
|
|
31
|
+
# @return [string]
|
|
32
32
|
#
|
|
33
33
|
EndpointParameters = Struct.new(
|
|
34
34
|
:region,
|