aws-sdk-securityhub 1.166.0 → 1.168.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 +859 -14
- data/lib/aws-sdk-securityhub/client_api.rb +201 -0
- data/lib/aws-sdk-securityhub/types.rb +606 -4
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +80 -2
- data/sig/params.rbs +86 -82
- data/sig/types.rbs +154 -6
- metadata +1 -1
|
@@ -76,6 +76,7 @@ module Aws::SecurityHub
|
|
|
76
76
|
AutomationRulesMetadataList = Shapes::ListShape.new(name: 'AutomationRulesMetadataList')
|
|
77
77
|
AutomationRulesMetadataListV2 = Shapes::ListShape.new(name: 'AutomationRulesMetadataListV2')
|
|
78
78
|
AutomationRulesMetadataV2 = Shapes::StructureShape.new(name: 'AutomationRulesMetadataV2')
|
|
79
|
+
AutomationRulesResourceFieldsUpdateV2 = Shapes::StructureShape.new(name: 'AutomationRulesResourceFieldsUpdateV2')
|
|
79
80
|
AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
|
|
80
81
|
AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
|
|
81
82
|
AwsAmazonMqBrokerDetails = Shapes::StructureShape.new(name: 'AwsAmazonMqBrokerDetails')
|
|
@@ -771,6 +772,8 @@ module Aws::SecurityHub
|
|
|
771
772
|
BooleanConfigurationOptions = Shapes::StructureShape.new(name: 'BooleanConfigurationOptions')
|
|
772
773
|
BooleanFilter = Shapes::StructureShape.new(name: 'BooleanFilter')
|
|
773
774
|
BooleanFilterList = Shapes::ListShape.new(name: 'BooleanFilterList')
|
|
775
|
+
CancelExportJobV2Request = Shapes::StructureShape.new(name: 'CancelExportJobV2Request')
|
|
776
|
+
CancelExportJobV2Response = Shapes::StructureShape.new(name: 'CancelExportJobV2Response')
|
|
774
777
|
CategoryList = Shapes::ListShape.new(name: 'CategoryList')
|
|
775
778
|
Cell = Shapes::StructureShape.new(name: 'Cell')
|
|
776
779
|
Cells = Shapes::ListShape.new(name: 'Cells')
|
|
@@ -831,6 +834,9 @@ module Aws::SecurityHub
|
|
|
831
834
|
CreateTicketV2Request = Shapes::StructureShape.new(name: 'CreateTicketV2Request')
|
|
832
835
|
CreateTicketV2Response = Shapes::StructureShape.new(name: 'CreateTicketV2Response')
|
|
833
836
|
Criteria = Shapes::UnionShape.new(name: 'Criteria')
|
|
837
|
+
CriticalitySource = Shapes::StructureShape.new(name: 'CriticalitySource')
|
|
838
|
+
CriticalitySourceList = Shapes::ListShape.new(name: 'CriticalitySourceList')
|
|
839
|
+
CriticalitySourceType = Shapes::StringShape.new(name: 'CriticalitySourceType')
|
|
834
840
|
CrossAccountMaxResults = Shapes::IntegerShape.new(name: 'CrossAccountMaxResults')
|
|
835
841
|
CspmConnectorProviderName = Shapes::StringShape.new(name: 'CspmConnectorProviderName')
|
|
836
842
|
CspmConnectorStatus = Shapes::StringShape.new(name: 'CspmConnectorStatus')
|
|
@@ -929,6 +935,18 @@ module Aws::SecurityHub
|
|
|
929
935
|
EnablementStatus = Shapes::StringShape.new(name: 'EnablementStatus')
|
|
930
936
|
EnumConfigurationOptions = Shapes::StructureShape.new(name: 'EnumConfigurationOptions')
|
|
931
937
|
EnumListConfigurationOptions = Shapes::StructureShape.new(name: 'EnumListConfigurationOptions')
|
|
938
|
+
ExportDataType = Shapes::StringShape.new(name: 'ExportDataType')
|
|
939
|
+
ExportDestination = Shapes::UnionShape.new(name: 'ExportDestination')
|
|
940
|
+
ExportFailureCode = Shapes::StringShape.new(name: 'ExportFailureCode')
|
|
941
|
+
ExportJobId = Shapes::StringShape.new(name: 'ExportJobId')
|
|
942
|
+
ExportMaxResults = Shapes::IntegerShape.new(name: 'ExportMaxResults')
|
|
943
|
+
ExportName = Shapes::StringShape.new(name: 'ExportName')
|
|
944
|
+
ExportOutput = Shapes::UnionShape.new(name: 'ExportOutput')
|
|
945
|
+
ExportOutputSummary = Shapes::UnionShape.new(name: 'ExportOutputSummary')
|
|
946
|
+
ExportScopes = Shapes::StructureShape.new(name: 'ExportScopes')
|
|
947
|
+
ExportStatus = Shapes::StringShape.new(name: 'ExportStatus')
|
|
948
|
+
ExportSummary = Shapes::StructureShape.new(name: 'ExportSummary')
|
|
949
|
+
ExportSummaryList = Shapes::ListShape.new(name: 'ExportSummaryList')
|
|
932
950
|
ExposureFinding = Shapes::StructureShape.new(name: 'ExposureFinding')
|
|
933
951
|
ExposureFindingItemsList = Shapes::ListShape.new(name: 'ExposureFindingItemsList')
|
|
934
952
|
ExposureImpact = Shapes::StringShape.new(name: 'ExposureImpact')
|
|
@@ -953,6 +971,11 @@ module Aws::SecurityHub
|
|
|
953
971
|
FindingProviderFields = Shapes::StructureShape.new(name: 'FindingProviderFields')
|
|
954
972
|
FindingProviderSeverity = Shapes::StructureShape.new(name: 'FindingProviderSeverity')
|
|
955
973
|
FindingScopes = Shapes::StructureShape.new(name: 'FindingScopes')
|
|
974
|
+
FindingsExportFormat = Shapes::StringShape.new(name: 'FindingsExportFormat')
|
|
975
|
+
FindingsOutput = Shapes::StructureShape.new(name: 'FindingsOutput')
|
|
976
|
+
FindingsOutputSummary = Shapes::StructureShape.new(name: 'FindingsOutputSummary')
|
|
977
|
+
FindingsSelectableField = Shapes::StringShape.new(name: 'FindingsSelectableField')
|
|
978
|
+
FindingsSelectedFieldList = Shapes::ListShape.new(name: 'FindingsSelectedFieldList')
|
|
956
979
|
FindingsTrendsCompositeFilter = Shapes::StructureShape.new(name: 'FindingsTrendsCompositeFilter')
|
|
957
980
|
FindingsTrendsCompositeFilterList = Shapes::ListShape.new(name: 'FindingsTrendsCompositeFilterList')
|
|
958
981
|
FindingsTrendsFilters = Shapes::StructureShape.new(name: 'FindingsTrendsFilters')
|
|
@@ -993,6 +1016,8 @@ module Aws::SecurityHub
|
|
|
993
1016
|
GetConnectorV2Response = Shapes::StructureShape.new(name: 'GetConnectorV2Response')
|
|
994
1017
|
GetEnabledStandardsRequest = Shapes::StructureShape.new(name: 'GetEnabledStandardsRequest')
|
|
995
1018
|
GetEnabledStandardsResponse = Shapes::StructureShape.new(name: 'GetEnabledStandardsResponse')
|
|
1019
|
+
GetExportJobV2Request = Shapes::StructureShape.new(name: 'GetExportJobV2Request')
|
|
1020
|
+
GetExportJobV2Response = Shapes::StructureShape.new(name: 'GetExportJobV2Response')
|
|
996
1021
|
GetFindingAggregatorRequest = Shapes::StructureShape.new(name: 'GetFindingAggregatorRequest')
|
|
997
1022
|
GetFindingAggregatorResponse = Shapes::StructureShape.new(name: 'GetFindingAggregatorResponse')
|
|
998
1023
|
GetFindingHistoryRequest = Shapes::StructureShape.new(name: 'GetFindingHistoryRequest')
|
|
@@ -1096,6 +1121,8 @@ module Aws::SecurityHub
|
|
|
1096
1121
|
ListConnectorsV2Response = Shapes::StructureShape.new(name: 'ListConnectorsV2Response')
|
|
1097
1122
|
ListEnabledProductsForImportRequest = Shapes::StructureShape.new(name: 'ListEnabledProductsForImportRequest')
|
|
1098
1123
|
ListEnabledProductsForImportResponse = Shapes::StructureShape.new(name: 'ListEnabledProductsForImportResponse')
|
|
1124
|
+
ListExportJobsV2Request = Shapes::StructureShape.new(name: 'ListExportJobsV2Request')
|
|
1125
|
+
ListExportJobsV2Response = Shapes::StructureShape.new(name: 'ListExportJobsV2Response')
|
|
1099
1126
|
ListExposuresByRemediationV2Request = Shapes::StructureShape.new(name: 'ListExposuresByRemediationV2Request')
|
|
1100
1127
|
ListExposuresByRemediationV2Response = Shapes::StructureShape.new(name: 'ListExposuresByRemediationV2Response')
|
|
1101
1128
|
ListFindingAggregatorsRequest = Shapes::StructureShape.new(name: 'ListFindingAggregatorsRequest')
|
|
@@ -1255,6 +1282,7 @@ module Aws::SecurityHub
|
|
|
1255
1282
|
ResourceCategory = Shapes::StringShape.new(name: 'ResourceCategory')
|
|
1256
1283
|
ResourceConfig = Shapes::DocumentShape.new(name: 'ResourceConfig', document: true)
|
|
1257
1284
|
ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
|
|
1285
|
+
ResourceCriticality = Shapes::StringShape.new(name: 'ResourceCriticality')
|
|
1258
1286
|
ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
|
|
1259
1287
|
ResourceFindingsSummary = Shapes::StructureShape.new(name: 'ResourceFindingsSummary')
|
|
1260
1288
|
ResourceFindingsSummaryList = Shapes::ListShape.new(name: 'ResourceFindingsSummaryList')
|
|
@@ -1338,6 +1366,8 @@ module Aws::SecurityHub
|
|
|
1338
1366
|
RuleOrderValueV2 = Shapes::FloatShape.new(name: 'RuleOrderValueV2')
|
|
1339
1367
|
RuleStatus = Shapes::StringShape.new(name: 'RuleStatus')
|
|
1340
1368
|
RuleStatusV2 = Shapes::StringShape.new(name: 'RuleStatusV2')
|
|
1369
|
+
S3ExportDestination = Shapes::StructureShape.new(name: 'S3ExportDestination')
|
|
1370
|
+
S3ObjectPrefix = Shapes::StringShape.new(name: 'S3ObjectPrefix')
|
|
1341
1371
|
ScopeType = Shapes::StringShape.new(name: 'ScopeType')
|
|
1342
1372
|
ScopeValueList = Shapes::ListShape.new(name: 'ScopeValueList')
|
|
1343
1373
|
SecurityControl = Shapes::StructureShape.new(name: 'SecurityControl')
|
|
@@ -1406,6 +1436,8 @@ module Aws::SecurityHub
|
|
|
1406
1436
|
StartConfigurationPolicyAssociationResponse = Shapes::StructureShape.new(name: 'StartConfigurationPolicyAssociationResponse')
|
|
1407
1437
|
StartConfigurationPolicyDisassociationRequest = Shapes::StructureShape.new(name: 'StartConfigurationPolicyDisassociationRequest')
|
|
1408
1438
|
StartConfigurationPolicyDisassociationResponse = Shapes::StructureShape.new(name: 'StartConfigurationPolicyDisassociationResponse')
|
|
1439
|
+
StartExportJobV2Request = Shapes::StructureShape.new(name: 'StartExportJobV2Request')
|
|
1440
|
+
StartExportJobV2Response = Shapes::StructureShape.new(name: 'StartExportJobV2Response')
|
|
1409
1441
|
StatelessCustomActionDefinition = Shapes::StructureShape.new(name: 'StatelessCustomActionDefinition')
|
|
1410
1442
|
StatelessCustomPublishMetricAction = Shapes::StructureShape.new(name: 'StatelessCustomPublishMetricAction')
|
|
1411
1443
|
StatelessCustomPublishMetricActionDimension = Shapes::StructureShape.new(name: 'StatelessCustomPublishMetricActionDimension')
|
|
@@ -1665,6 +1697,7 @@ module Aws::SecurityHub
|
|
|
1665
1697
|
AutomationRulesActionV2.add_member(:type, Shapes::ShapeRef.new(shape: AutomationRulesActionTypeV2, required: true, location_name: "Type"))
|
|
1666
1698
|
AutomationRulesActionV2.add_member(:finding_fields_update, Shapes::ShapeRef.new(shape: AutomationRulesFindingFieldsUpdateV2, location_name: "FindingFieldsUpdate"))
|
|
1667
1699
|
AutomationRulesActionV2.add_member(:external_integration_configuration, Shapes::ShapeRef.new(shape: ExternalIntegrationConfiguration, location_name: "ExternalIntegrationConfiguration"))
|
|
1700
|
+
AutomationRulesActionV2.add_member(:resource_fields_update, Shapes::ShapeRef.new(shape: AutomationRulesResourceFieldsUpdateV2, location_name: "ResourceFieldsUpdate"))
|
|
1668
1701
|
AutomationRulesActionV2.struct_class = Types::AutomationRulesActionV2
|
|
1669
1702
|
|
|
1670
1703
|
AutomationRulesArnsList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
|
@@ -1769,6 +1802,9 @@ module Aws::SecurityHub
|
|
|
1769
1802
|
AutomationRulesMetadataV2.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
|
1770
1803
|
AutomationRulesMetadataV2.struct_class = Types::AutomationRulesMetadataV2
|
|
1771
1804
|
|
|
1805
|
+
AutomationRulesResourceFieldsUpdateV2.add_member(:criticality, Shapes::ShapeRef.new(shape: ResourceCriticality, required: true, location_name: "Criticality"))
|
|
1806
|
+
AutomationRulesResourceFieldsUpdateV2.struct_class = Types::AutomationRulesResourceFieldsUpdateV2
|
|
1807
|
+
|
|
1772
1808
|
AvailabilityZone.add_member(:zone_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ZoneName"))
|
|
1773
1809
|
AvailabilityZone.add_member(:subnet_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SubnetId"))
|
|
1774
1810
|
AvailabilityZone.struct_class = Types::AvailabilityZone
|
|
@@ -5643,6 +5679,13 @@ module Aws::SecurityHub
|
|
|
5643
5679
|
|
|
5644
5680
|
BooleanFilterList.member = Shapes::ShapeRef.new(shape: BooleanFilter)
|
|
5645
5681
|
|
|
5682
|
+
CancelExportJobV2Request.add_member(:export_job_id, Shapes::ShapeRef.new(shape: ExportJobId, required: true, location: "uri", location_name: "ExportJobId"))
|
|
5683
|
+
CancelExportJobV2Request.struct_class = Types::CancelExportJobV2Request
|
|
5684
|
+
|
|
5685
|
+
CancelExportJobV2Response.add_member(:export_job_id, Shapes::ShapeRef.new(shape: ExportJobId, required: true, location_name: "ExportJobId"))
|
|
5686
|
+
CancelExportJobV2Response.add_member(:status, Shapes::ShapeRef.new(shape: ExportStatus, required: true, location_name: "Status"))
|
|
5687
|
+
CancelExportJobV2Response.struct_class = Types::CancelExportJobV2Response
|
|
5688
|
+
|
|
5646
5689
|
CategoryList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
|
5647
5690
|
|
|
5648
5691
|
Cell.add_member(:column, Shapes::ShapeRef.new(shape: Long, location_name: "Column"))
|
|
@@ -5913,11 +5956,19 @@ module Aws::SecurityHub
|
|
|
5913
5956
|
CreateTicketV2Response.struct_class = Types::CreateTicketV2Response
|
|
5914
5957
|
|
|
5915
5958
|
Criteria.add_member(:ocsf_finding_criteria, Shapes::ShapeRef.new(shape: OcsfFindingFilters, location_name: "OcsfFindingCriteria"))
|
|
5959
|
+
Criteria.add_member(:resource_criteria, Shapes::ShapeRef.new(shape: ResourcesFilters, location_name: "ResourceCriteria"))
|
|
5916
5960
|
Criteria.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
5917
5961
|
Criteria.add_member_subclass(:ocsf_finding_criteria, Types::Criteria::OcsfFindingCriteria)
|
|
5962
|
+
Criteria.add_member_subclass(:resource_criteria, Types::Criteria::ResourceCriteria)
|
|
5918
5963
|
Criteria.add_member_subclass(:unknown, Types::Criteria::Unknown)
|
|
5919
5964
|
Criteria.struct_class = Types::Criteria
|
|
5920
5965
|
|
|
5966
|
+
CriticalitySource.add_member(:source, Shapes::ShapeRef.new(shape: CriticalitySourceType, required: true, location_name: "Source"))
|
|
5967
|
+
CriticalitySource.add_member(:reason, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Reason"))
|
|
5968
|
+
CriticalitySource.struct_class = Types::CriticalitySource
|
|
5969
|
+
|
|
5970
|
+
CriticalitySourceList.member = Shapes::ShapeRef.new(shape: CriticalitySource)
|
|
5971
|
+
|
|
5921
5972
|
CspmConnectorSummary.add_member(:connector_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ConnectorArn"))
|
|
5922
5973
|
CspmConnectorSummary.add_member(:connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ConnectorId"))
|
|
5923
5974
|
CspmConnectorSummary.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
|
|
@@ -6225,6 +6276,42 @@ module Aws::SecurityHub
|
|
|
6225
6276
|
EnumListConfigurationOptions.add_member(:allowed_values, Shapes::ShapeRef.new(shape: StringList, location_name: "AllowedValues"))
|
|
6226
6277
|
EnumListConfigurationOptions.struct_class = Types::EnumListConfigurationOptions
|
|
6227
6278
|
|
|
6279
|
+
ExportDestination.add_member(:s3, Shapes::ShapeRef.new(shape: S3ExportDestination, location_name: "S3"))
|
|
6280
|
+
ExportDestination.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
6281
|
+
ExportDestination.add_member_subclass(:s3, Types::ExportDestination::S3)
|
|
6282
|
+
ExportDestination.add_member_subclass(:unknown, Types::ExportDestination::Unknown)
|
|
6283
|
+
ExportDestination.struct_class = Types::ExportDestination
|
|
6284
|
+
|
|
6285
|
+
ExportOutput.add_member(:findings, Shapes::ShapeRef.new(shape: FindingsOutput, location_name: "Findings"))
|
|
6286
|
+
ExportOutput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
6287
|
+
ExportOutput.add_member_subclass(:findings, Types::ExportOutput::Findings)
|
|
6288
|
+
ExportOutput.add_member_subclass(:unknown, Types::ExportOutput::Unknown)
|
|
6289
|
+
ExportOutput.struct_class = Types::ExportOutput
|
|
6290
|
+
|
|
6291
|
+
ExportOutputSummary.add_member(:findings, Shapes::ShapeRef.new(shape: FindingsOutputSummary, location_name: "Findings"))
|
|
6292
|
+
ExportOutputSummary.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
6293
|
+
ExportOutputSummary.add_member_subclass(:findings, Types::ExportOutputSummary::Findings)
|
|
6294
|
+
ExportOutputSummary.add_member_subclass(:unknown, Types::ExportOutputSummary::Unknown)
|
|
6295
|
+
ExportOutputSummary.struct_class = Types::ExportOutputSummary
|
|
6296
|
+
|
|
6297
|
+
ExportScopes.add_member(:aws_organizations, Shapes::ShapeRef.new(shape: AwsOrganizationScopeList, location_name: "AwsOrganizations"))
|
|
6298
|
+
ExportScopes.struct_class = Types::ExportScopes
|
|
6299
|
+
|
|
6300
|
+
ExportSummary.add_member(:export_job_id, Shapes::ShapeRef.new(shape: ExportJobId, required: true, location_name: "ExportJobId"))
|
|
6301
|
+
ExportSummary.add_member(:name, Shapes::ShapeRef.new(shape: ExportName, location_name: "Name"))
|
|
6302
|
+
ExportSummary.add_member(:status, Shapes::ShapeRef.new(shape: ExportStatus, required: true, location_name: "Status"))
|
|
6303
|
+
ExportSummary.add_member(:data_type, Shapes::ShapeRef.new(shape: ExportDataType, required: true, location_name: "DataType"))
|
|
6304
|
+
ExportSummary.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ExportOutputSummary, location_name: "OutputConfiguration"))
|
|
6305
|
+
ExportSummary.add_member(:scopes, Shapes::ShapeRef.new(shape: ExportScopes, location_name: "Scopes"))
|
|
6306
|
+
ExportSummary.add_member(:destination, Shapes::ShapeRef.new(shape: ExportDestination, required: true, location_name: "Destination"))
|
|
6307
|
+
ExportSummary.add_member(:failure_code, Shapes::ShapeRef.new(shape: ExportFailureCode, location_name: "FailureCode"))
|
|
6308
|
+
ExportSummary.add_member(:failure_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FailureMessage"))
|
|
6309
|
+
ExportSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartedAt"))
|
|
6310
|
+
ExportSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndedAt"))
|
|
6311
|
+
ExportSummary.struct_class = Types::ExportSummary
|
|
6312
|
+
|
|
6313
|
+
ExportSummaryList.member = Shapes::ShapeRef.new(shape: ExportSummary)
|
|
6314
|
+
|
|
6228
6315
|
ExposureFinding.add_member(:metadata_uid, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "MetadataUid"))
|
|
6229
6316
|
ExposureFinding.add_member(:title, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Title"))
|
|
6230
6317
|
ExposureFinding.add_member(:previous_severity, Shapes::ShapeRef.new(shape: ExposureSeverity, required: true, location_name: "PreviousSeverity"))
|
|
@@ -6295,6 +6382,16 @@ module Aws::SecurityHub
|
|
|
6295
6382
|
FindingScopes.add_member(:aws_organizations, Shapes::ShapeRef.new(shape: AwsOrganizationScopeList, location_name: "AwsOrganizations"))
|
|
6296
6383
|
FindingScopes.struct_class = Types::FindingScopes
|
|
6297
6384
|
|
|
6385
|
+
FindingsOutput.add_member(:format, Shapes::ShapeRef.new(shape: FindingsExportFormat, required: true, location_name: "Format"))
|
|
6386
|
+
FindingsOutput.add_member(:filters, Shapes::ShapeRef.new(shape: OcsfFindingFilters, location_name: "Filters"))
|
|
6387
|
+
FindingsOutput.add_member(:selected_fields, Shapes::ShapeRef.new(shape: FindingsSelectedFieldList, location_name: "SelectedFields"))
|
|
6388
|
+
FindingsOutput.struct_class = Types::FindingsOutput
|
|
6389
|
+
|
|
6390
|
+
FindingsOutputSummary.add_member(:format, Shapes::ShapeRef.new(shape: FindingsExportFormat, required: true, location_name: "Format"))
|
|
6391
|
+
FindingsOutputSummary.struct_class = Types::FindingsOutputSummary
|
|
6392
|
+
|
|
6393
|
+
FindingsSelectedFieldList.member = Shapes::ShapeRef.new(shape: FindingsSelectableField)
|
|
6394
|
+
|
|
6298
6395
|
FindingsTrendsCompositeFilter.add_member(:string_filters, Shapes::ShapeRef.new(shape: FindingsTrendsStringFilterList, location_name: "StringFilters"))
|
|
6299
6396
|
FindingsTrendsCompositeFilter.add_member(:nested_composite_filters, Shapes::ShapeRef.new(shape: FindingsTrendsCompositeFilterList, location_name: "NestedCompositeFilters"))
|
|
6300
6397
|
FindingsTrendsCompositeFilter.add_member(:operator, Shapes::ShapeRef.new(shape: AllowedOperators, location_name: "Operator"))
|
|
@@ -6456,6 +6553,22 @@ module Aws::SecurityHub
|
|
|
6456
6553
|
GetEnabledStandardsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6457
6554
|
GetEnabledStandardsResponse.struct_class = Types::GetEnabledStandardsResponse
|
|
6458
6555
|
|
|
6556
|
+
GetExportJobV2Request.add_member(:export_job_id, Shapes::ShapeRef.new(shape: ExportJobId, required: true, location: "uri", location_name: "ExportJobId"))
|
|
6557
|
+
GetExportJobV2Request.struct_class = Types::GetExportJobV2Request
|
|
6558
|
+
|
|
6559
|
+
GetExportJobV2Response.add_member(:export_job_id, Shapes::ShapeRef.new(shape: ExportJobId, required: true, location_name: "ExportJobId"))
|
|
6560
|
+
GetExportJobV2Response.add_member(:name, Shapes::ShapeRef.new(shape: ExportName, location_name: "Name"))
|
|
6561
|
+
GetExportJobV2Response.add_member(:status, Shapes::ShapeRef.new(shape: ExportStatus, required: true, location_name: "Status"))
|
|
6562
|
+
GetExportJobV2Response.add_member(:data_type, Shapes::ShapeRef.new(shape: ExportDataType, required: true, location_name: "DataType"))
|
|
6563
|
+
GetExportJobV2Response.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ExportOutput, location_name: "OutputConfiguration"))
|
|
6564
|
+
GetExportJobV2Response.add_member(:scopes, Shapes::ShapeRef.new(shape: ExportScopes, location_name: "Scopes"))
|
|
6565
|
+
GetExportJobV2Response.add_member(:destination, Shapes::ShapeRef.new(shape: ExportDestination, required: true, location_name: "Destination"))
|
|
6566
|
+
GetExportJobV2Response.add_member(:failure_code, Shapes::ShapeRef.new(shape: ExportFailureCode, location_name: "FailureCode"))
|
|
6567
|
+
GetExportJobV2Response.add_member(:failure_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FailureMessage"))
|
|
6568
|
+
GetExportJobV2Response.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartedAt"))
|
|
6569
|
+
GetExportJobV2Response.add_member(:ended_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndedAt"))
|
|
6570
|
+
GetExportJobV2Response.struct_class = Types::GetExportJobV2Response
|
|
6571
|
+
|
|
6459
6572
|
GetFindingAggregatorRequest.add_member(:finding_aggregator_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "FindingAggregatorArn"))
|
|
6460
6573
|
GetFindingAggregatorRequest.struct_class = Types::GetFindingAggregatorRequest
|
|
6461
6574
|
|
|
@@ -6846,6 +6959,16 @@ module Aws::SecurityHub
|
|
|
6846
6959
|
ListEnabledProductsForImportResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6847
6960
|
ListEnabledProductsForImportResponse.struct_class = Types::ListEnabledProductsForImportResponse
|
|
6848
6961
|
|
|
6962
|
+
ListExportJobsV2Request.add_member(:status, Shapes::ShapeRef.new(shape: ExportStatus, location: "querystring", location_name: "Status"))
|
|
6963
|
+
ListExportJobsV2Request.add_member(:data_type, Shapes::ShapeRef.new(shape: ExportDataType, location: "querystring", location_name: "DataType"))
|
|
6964
|
+
ListExportJobsV2Request.add_member(:max_results, Shapes::ShapeRef.new(shape: ExportMaxResults, location: "querystring", location_name: "MaxResults"))
|
|
6965
|
+
ListExportJobsV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
|
6966
|
+
ListExportJobsV2Request.struct_class = Types::ListExportJobsV2Request
|
|
6967
|
+
|
|
6968
|
+
ListExportJobsV2Response.add_member(:items, Shapes::ShapeRef.new(shape: ExportSummaryList, required: true, location_name: "Items"))
|
|
6969
|
+
ListExportJobsV2Response.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6970
|
+
ListExportJobsV2Response.struct_class = Types::ListExportJobsV2Response
|
|
6971
|
+
|
|
6849
6972
|
ListExposuresByRemediationV2Request.add_member(:target_uid, Shapes::ShapeRef.new(shape: RemediationStringUid, required: true, location_name: "TargetUid"))
|
|
6850
6973
|
ListExposuresByRemediationV2Request.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
|
6851
6974
|
ListExposuresByRemediationV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
@@ -7618,6 +7741,8 @@ module Aws::SecurityHub
|
|
|
7618
7741
|
ResourceResult.add_member(:resource_sub_category, Shapes::ShapeRef.new(shape: ResourceSubCategory, location_name: "ResourceSubCategory"))
|
|
7619
7742
|
ResourceResult.add_member(:discovery_type, Shapes::ShapeRef.new(shape: DiscoveryType, location_name: "DiscoveryType"))
|
|
7620
7743
|
ResourceResult.add_member(:resource_info, Shapes::ShapeRef.new(shape: ResourceInfo, location_name: "ResourceInfo"))
|
|
7744
|
+
ResourceResult.add_member(:resource_criticality, Shapes::ShapeRef.new(shape: ResourceCriticality, location_name: "ResourceCriticality"))
|
|
7745
|
+
ResourceResult.add_member(:criticality_sources, Shapes::ShapeRef.new(shape: CriticalitySourceList, location_name: "CriticalitySources"))
|
|
7621
7746
|
ResourceResult.struct_class = Types::ResourceResult
|
|
7622
7747
|
|
|
7623
7748
|
ResourceScopes.add_member(:aws_organizations, Shapes::ShapeRef.new(shape: AwsOrganizationScopeList, location_name: "AwsOrganizations"))
|
|
@@ -7840,6 +7965,11 @@ module Aws::SecurityHub
|
|
|
7840
7965
|
RuleGroupVariablesPortSetsDetails.add_member(:definition, Shapes::ShapeRef.new(shape: NonEmptyStringList, location_name: "Definition"))
|
|
7841
7966
|
RuleGroupVariablesPortSetsDetails.struct_class = Types::RuleGroupVariablesPortSetsDetails
|
|
7842
7967
|
|
|
7968
|
+
S3ExportDestination.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "BucketArn"))
|
|
7969
|
+
S3ExportDestination.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "KmsKeyArn"))
|
|
7970
|
+
S3ExportDestination.add_member(:object_prefix, Shapes::ShapeRef.new(shape: S3ObjectPrefix, location_name: "ObjectPrefix"))
|
|
7971
|
+
S3ExportDestination.struct_class = Types::S3ExportDestination
|
|
7972
|
+
|
|
7843
7973
|
ScopeValueList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
|
7844
7974
|
|
|
7845
7975
|
SecurityControl.add_member(:security_control_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "SecurityControlId"))
|
|
@@ -8111,6 +8241,16 @@ module Aws::SecurityHub
|
|
|
8111
8241
|
|
|
8112
8242
|
StartConfigurationPolicyDisassociationResponse.struct_class = Types::StartConfigurationPolicyDisassociationResponse
|
|
8113
8243
|
|
|
8244
|
+
StartExportJobV2Request.add_member(:name, Shapes::ShapeRef.new(shape: ExportName, location_name: "Name"))
|
|
8245
|
+
StartExportJobV2Request.add_member(:destination, Shapes::ShapeRef.new(shape: ExportDestination, required: true, location_name: "Destination"))
|
|
8246
|
+
StartExportJobV2Request.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ExportOutput, required: true, location_name: "OutputConfiguration"))
|
|
8247
|
+
StartExportJobV2Request.add_member(:scopes, Shapes::ShapeRef.new(shape: ExportScopes, location_name: "Scopes"))
|
|
8248
|
+
StartExportJobV2Request.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
8249
|
+
StartExportJobV2Request.struct_class = Types::StartExportJobV2Request
|
|
8250
|
+
|
|
8251
|
+
StartExportJobV2Response.add_member(:export_job_id, Shapes::ShapeRef.new(shape: ExportJobId, required: true, location_name: "ExportJobId"))
|
|
8252
|
+
StartExportJobV2Response.struct_class = Types::StartExportJobV2Response
|
|
8253
|
+
|
|
8114
8254
|
StatelessCustomActionDefinition.add_member(:publish_metric_action, Shapes::ShapeRef.new(shape: StatelessCustomPublishMetricAction, location_name: "PublishMetricAction"))
|
|
8115
8255
|
StatelessCustomActionDefinition.struct_class = Types::StatelessCustomActionDefinition
|
|
8116
8256
|
|
|
@@ -8653,6 +8793,20 @@ module Aws::SecurityHub
|
|
|
8653
8793
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
8654
8794
|
end)
|
|
8655
8795
|
|
|
8796
|
+
api.add_operation(:cancel_export_job_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
8797
|
+
o.name = "CancelExportJobV2"
|
|
8798
|
+
o.http_method = "POST"
|
|
8799
|
+
o.http_request_uri = "/exportjobsv2/{ExportJobId}/cancel"
|
|
8800
|
+
o.input = Shapes::ShapeRef.new(shape: CancelExportJobV2Request)
|
|
8801
|
+
o.output = Shapes::ShapeRef.new(shape: CancelExportJobV2Response)
|
|
8802
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
8803
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
8804
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
8805
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
8806
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
8807
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
8808
|
+
end)
|
|
8809
|
+
|
|
8656
8810
|
api.add_operation(:create_action_target, Seahorse::Model::Operation.new.tap do |o|
|
|
8657
8811
|
o.name = "CreateActionTarget"
|
|
8658
8812
|
o.http_method = "POST"
|
|
@@ -9382,6 +9536,19 @@ module Aws::SecurityHub
|
|
|
9382
9536
|
)
|
|
9383
9537
|
end)
|
|
9384
9538
|
|
|
9539
|
+
api.add_operation(:get_export_job_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
9540
|
+
o.name = "GetExportJobV2"
|
|
9541
|
+
o.http_method = "GET"
|
|
9542
|
+
o.http_request_uri = "/exportjobsv2/{ExportJobId}"
|
|
9543
|
+
o.input = Shapes::ShapeRef.new(shape: GetExportJobV2Request)
|
|
9544
|
+
o.output = Shapes::ShapeRef.new(shape: GetExportJobV2Response)
|
|
9545
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
9546
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
9547
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
9548
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
9549
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
9550
|
+
end)
|
|
9551
|
+
|
|
9385
9552
|
api.add_operation(:get_finding_aggregator, Seahorse::Model::Operation.new.tap do |o|
|
|
9386
9553
|
o.name = "GetFindingAggregator"
|
|
9387
9554
|
o.http_method = "GET"
|
|
@@ -9809,6 +9976,24 @@ module Aws::SecurityHub
|
|
|
9809
9976
|
)
|
|
9810
9977
|
end)
|
|
9811
9978
|
|
|
9979
|
+
api.add_operation(:list_export_jobs_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
9980
|
+
o.name = "ListExportJobsV2"
|
|
9981
|
+
o.http_method = "GET"
|
|
9982
|
+
o.http_request_uri = "/exportjobsv2"
|
|
9983
|
+
o.input = Shapes::ShapeRef.new(shape: ListExportJobsV2Request)
|
|
9984
|
+
o.output = Shapes::ShapeRef.new(shape: ListExportJobsV2Response)
|
|
9985
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
9986
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
9987
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
9988
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
9989
|
+
o[:pager] = Aws::Pager.new(
|
|
9990
|
+
limit_key: "max_results",
|
|
9991
|
+
tokens: {
|
|
9992
|
+
"next_token" => "next_token"
|
|
9993
|
+
}
|
|
9994
|
+
)
|
|
9995
|
+
end)
|
|
9996
|
+
|
|
9812
9997
|
api.add_operation(:list_exposures_by_remediation_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
9813
9998
|
o.name = "ListExposuresByRemediationV2"
|
|
9814
9999
|
o.http_method = "POST"
|
|
@@ -10009,6 +10194,22 @@ module Aws::SecurityHub
|
|
|
10009
10194
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
10010
10195
|
end)
|
|
10011
10196
|
|
|
10197
|
+
api.add_operation(:start_export_job_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
10198
|
+
o.name = "StartExportJobV2"
|
|
10199
|
+
o.http_method = "POST"
|
|
10200
|
+
o.http_request_uri = "/exportjobsv2"
|
|
10201
|
+
o.input = Shapes::ShapeRef.new(shape: StartExportJobV2Request)
|
|
10202
|
+
o.output = Shapes::ShapeRef.new(shape: StartExportJobV2Response)
|
|
10203
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
10204
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
10205
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
10206
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationalUnitNotFoundException)
|
|
10207
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
|
10208
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
10209
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
10210
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
10211
|
+
end)
|
|
10212
|
+
|
|
10012
10213
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
10013
10214
|
o.name = "TagResource"
|
|
10014
10215
|
o.http_method = "POST"
|