aws-sdk-securityhub 1.136.0 → 1.137.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.
data/sig/types.rbs CHANGED
@@ -116,6 +116,11 @@ module Aws::SecurityHub
116
116
  SENSITIVE: []
117
117
  end
118
118
 
119
+ class AggregatorV2
120
+ attr_accessor aggregator_v2_arn: ::String
121
+ SENSITIVE: []
122
+ end
123
+
119
124
  class AssociatedStandard
120
125
  attr_accessor standards_id: ::String
121
126
  SENSITIVE: []
@@ -150,6 +155,18 @@ module Aws::SecurityHub
150
155
  SENSITIVE: []
151
156
  end
152
157
 
158
+ class AutomationRulesActionTypeObjectV2
159
+ attr_accessor type: ("FINDING_FIELDS_UPDATE" | "EXTERNAL_INTEGRATION")
160
+ SENSITIVE: []
161
+ end
162
+
163
+ class AutomationRulesActionV2
164
+ attr_accessor type: ("FINDING_FIELDS_UPDATE" | "EXTERNAL_INTEGRATION")
165
+ attr_accessor finding_fields_update: Types::AutomationRulesFindingFieldsUpdateV2
166
+ attr_accessor external_integration_configuration: Types::ExternalIntegrationConfiguration
167
+ SENSITIVE: []
168
+ end
169
+
153
170
  class AutomationRulesConfig
154
171
  attr_accessor rule_arn: ::String
155
172
  attr_accessor rule_status: ("ENABLED" | "DISABLED")
@@ -178,6 +195,13 @@ module Aws::SecurityHub
178
195
  SENSITIVE: []
179
196
  end
180
197
 
198
+ class AutomationRulesFindingFieldsUpdateV2
199
+ attr_accessor severity_id: ::Integer
200
+ attr_accessor comment: ::String
201
+ attr_accessor status_id: ::Integer
202
+ SENSITIVE: []
203
+ end
204
+
181
205
  class AutomationRulesFindingFilters
182
206
  attr_accessor product_arn: ::Array[Types::StringFilter]
183
207
  attr_accessor aws_account_id: ::Array[Types::StringFilter]
@@ -233,6 +257,19 @@ module Aws::SecurityHub
233
257
  SENSITIVE: []
234
258
  end
235
259
 
260
+ class AutomationRulesMetadataV2
261
+ attr_accessor rule_arn: ::String
262
+ attr_accessor rule_id: ::String
263
+ attr_accessor rule_order: ::Float
264
+ attr_accessor rule_name: ::String
265
+ attr_accessor rule_status: ("ENABLED" | "DISABLED")
266
+ attr_accessor description: ::String
267
+ attr_accessor actions: ::Array[Types::AutomationRulesActionTypeObjectV2]
268
+ attr_accessor created_at: ::Time
269
+ attr_accessor updated_at: ::Time
270
+ SENSITIVE: []
271
+ end
272
+
236
273
  class AvailabilityZone
237
274
  attr_accessor zone_name: ::String
238
275
  attr_accessor subnet_id: ::String
@@ -4771,6 +4808,35 @@ module Aws::SecurityHub
4771
4808
  SENSITIVE: []
4772
4809
  end
4773
4810
 
4811
+ class BatchUpdateFindingsV2ProcessedFinding
4812
+ attr_accessor finding_identifier: Types::OcsfFindingIdentifier
4813
+ attr_accessor metadata_uid: ::String
4814
+ SENSITIVE: []
4815
+ end
4816
+
4817
+ class BatchUpdateFindingsV2Request
4818
+ attr_accessor metadata_uids: ::Array[::String]
4819
+ attr_accessor finding_identifiers: ::Array[Types::OcsfFindingIdentifier]
4820
+ attr_accessor comment: ::String
4821
+ attr_accessor severity_id: ::Integer
4822
+ attr_accessor status_id: ::Integer
4823
+ SENSITIVE: []
4824
+ end
4825
+
4826
+ class BatchUpdateFindingsV2Response
4827
+ attr_accessor processed_findings: ::Array[Types::BatchUpdateFindingsV2ProcessedFinding]
4828
+ attr_accessor unprocessed_findings: ::Array[Types::BatchUpdateFindingsV2UnprocessedFinding]
4829
+ SENSITIVE: []
4830
+ end
4831
+
4832
+ class BatchUpdateFindingsV2UnprocessedFinding
4833
+ attr_accessor finding_identifier: Types::OcsfFindingIdentifier
4834
+ attr_accessor metadata_uid: ::String
4835
+ attr_accessor error_code: ("ResourceNotFoundException" | "ValidationException" | "InternalServerException" | "ConflictException")
4836
+ attr_accessor error_message: ::String
4837
+ SENSITIVE: []
4838
+ end
4839
+
4774
4840
  class BatchUpdateStandardsControlAssociationsRequest
4775
4841
  attr_accessor standards_control_association_updates: ::Array[Types::StandardsControlAssociationUpdate]
4776
4842
  SENSITIVE: []
@@ -4852,6 +4918,16 @@ module Aws::SecurityHub
4852
4918
  SENSITIVE: []
4853
4919
  end
4854
4920
 
4921
+ class CompositeFilter
4922
+ attr_accessor string_filters: ::Array[Types::OcsfStringFilter]
4923
+ attr_accessor date_filters: ::Array[Types::OcsfDateFilter]
4924
+ attr_accessor boolean_filters: ::Array[Types::OcsfBooleanFilter]
4925
+ attr_accessor number_filters: ::Array[Types::OcsfNumberFilter]
4926
+ attr_accessor map_filters: ::Array[Types::OcsfMapFilter]
4927
+ attr_accessor operator: ("AND" | "OR")
4928
+ SENSITIVE: []
4929
+ end
4930
+
4855
4931
  class ConfigurationOptions
4856
4932
  attr_accessor integer: Types::IntegerConfigurationOptions
4857
4933
  attr_accessor integer_list: Types::IntegerListConfigurationOptions
@@ -4910,6 +4986,34 @@ module Aws::SecurityHub
4910
4986
  SENSITIVE: []
4911
4987
  end
4912
4988
 
4989
+ class ConflictException
4990
+ attr_accessor message: ::String
4991
+ attr_accessor code: ::String
4992
+ SENSITIVE: []
4993
+ end
4994
+
4995
+ class ConnectorRegistrationsV2Request
4996
+ attr_accessor auth_code: ::String
4997
+ attr_accessor auth_state: ::String
4998
+ SENSITIVE: []
4999
+ end
5000
+
5001
+ class ConnectorRegistrationsV2Response
5002
+ attr_accessor connector_arn: ::String
5003
+ attr_accessor connector_id: ::String
5004
+ SENSITIVE: []
5005
+ end
5006
+
5007
+ class ConnectorSummary
5008
+ attr_accessor connector_arn: ::String
5009
+ attr_accessor connector_id: ::String
5010
+ attr_accessor name: ::String
5011
+ attr_accessor description: ::String
5012
+ attr_accessor provider_summary: Types::ProviderSummary
5013
+ attr_accessor created_at: ::Time
5014
+ SENSITIVE: []
5015
+ end
5016
+
4913
5017
  class ContainerDetails
4914
5018
  attr_accessor container_runtime: ::String
4915
5019
  attr_accessor name: ::String
@@ -4939,6 +5043,22 @@ module Aws::SecurityHub
4939
5043
  SENSITIVE: []
4940
5044
  end
4941
5045
 
5046
+ class CreateAggregatorV2Request
5047
+ attr_accessor region_linking_mode: ::String
5048
+ attr_accessor linked_regions: ::Array[::String]
5049
+ attr_accessor tags: ::Hash[::String, ::String]
5050
+ attr_accessor client_token: ::String
5051
+ SENSITIVE: []
5052
+ end
5053
+
5054
+ class CreateAggregatorV2Response
5055
+ attr_accessor aggregator_v2_arn: ::String
5056
+ attr_accessor aggregation_region: ::String
5057
+ attr_accessor region_linking_mode: ::String
5058
+ attr_accessor linked_regions: ::Array[::String]
5059
+ SENSITIVE: []
5060
+ end
5061
+
4942
5062
  class CreateAutomationRuleRequest
4943
5063
  attr_accessor tags: ::Hash[::String, ::String]
4944
5064
  attr_accessor rule_status: ("ENABLED" | "DISABLED")
@@ -4956,6 +5076,24 @@ module Aws::SecurityHub
4956
5076
  SENSITIVE: []
4957
5077
  end
4958
5078
 
5079
+ class CreateAutomationRuleV2Request
5080
+ attr_accessor rule_name: ::String
5081
+ attr_accessor rule_status: ("ENABLED" | "DISABLED")
5082
+ attr_accessor description: ::String
5083
+ attr_accessor rule_order: ::Float
5084
+ attr_accessor criteria: Types::Criteria
5085
+ attr_accessor actions: ::Array[Types::AutomationRulesActionV2]
5086
+ attr_accessor tags: ::Hash[::String, ::String]
5087
+ attr_accessor client_token: ::String
5088
+ SENSITIVE: []
5089
+ end
5090
+
5091
+ class CreateAutomationRuleV2Response
5092
+ attr_accessor rule_arn: ::String
5093
+ attr_accessor rule_id: ::String
5094
+ SENSITIVE: []
5095
+ end
5096
+
4959
5097
  class CreateConfigurationPolicyRequest
4960
5098
  attr_accessor name: ::String
4961
5099
  attr_accessor description: ::String
@@ -4975,6 +5113,23 @@ module Aws::SecurityHub
4975
5113
  SENSITIVE: []
4976
5114
  end
4977
5115
 
5116
+ class CreateConnectorV2Request
5117
+ attr_accessor name: ::String
5118
+ attr_accessor description: ::String
5119
+ attr_accessor provider: Types::ProviderConfiguration
5120
+ attr_accessor kms_key_arn: ::String
5121
+ attr_accessor tags: ::Hash[::String, ::String]
5122
+ attr_accessor client_token: ::String
5123
+ SENSITIVE: []
5124
+ end
5125
+
5126
+ class CreateConnectorV2Response
5127
+ attr_accessor connector_arn: ::String
5128
+ attr_accessor connector_id: ::String
5129
+ attr_accessor auth_url: ::String
5130
+ SENSITIVE: []
5131
+ end
5132
+
4978
5133
  class CreateFindingAggregatorRequest
4979
5134
  attr_accessor region_linking_mode: ::String
4980
5135
  attr_accessor regions: ::Array[::String]
@@ -5011,6 +5166,30 @@ module Aws::SecurityHub
5011
5166
  SENSITIVE: []
5012
5167
  end
5013
5168
 
5169
+ class CreateTicketV2Request
5170
+ attr_accessor connector_id: ::String
5171
+ attr_accessor finding_metadata_uid: ::String
5172
+ attr_accessor client_token: ::String
5173
+ SENSITIVE: []
5174
+ end
5175
+
5176
+ class CreateTicketV2Response
5177
+ attr_accessor ticket_id: ::String
5178
+ attr_accessor ticket_src_url: ::String
5179
+ SENSITIVE: []
5180
+ end
5181
+
5182
+ class Criteria
5183
+ attr_accessor ocsf_finding_criteria: Types::OcsfFindingFilters
5184
+ attr_accessor unknown: untyped
5185
+ SENSITIVE: []
5186
+
5187
+ class OcsfFindingCriteria < Criteria
5188
+ end
5189
+ class Unknown < Criteria
5190
+ end
5191
+ end
5192
+
5014
5193
  class CustomDataIdentifiersDetections
5015
5194
  attr_accessor count: ::Integer
5016
5195
  attr_accessor arn: ::String
@@ -5073,6 +5252,22 @@ module Aws::SecurityHub
5073
5252
  SENSITIVE: []
5074
5253
  end
5075
5254
 
5255
+ class DeleteAggregatorV2Request
5256
+ attr_accessor aggregator_v2_arn: ::String
5257
+ SENSITIVE: []
5258
+ end
5259
+
5260
+ class DeleteAggregatorV2Response < Aws::EmptyStructure
5261
+ end
5262
+
5263
+ class DeleteAutomationRuleV2Request
5264
+ attr_accessor identifier: ::String
5265
+ SENSITIVE: []
5266
+ end
5267
+
5268
+ class DeleteAutomationRuleV2Response < Aws::EmptyStructure
5269
+ end
5270
+
5076
5271
  class DeleteConfigurationPolicyRequest
5077
5272
  attr_accessor identifier: ::String
5078
5273
  SENSITIVE: []
@@ -5081,6 +5276,14 @@ module Aws::SecurityHub
5081
5276
  class DeleteConfigurationPolicyResponse < Aws::EmptyStructure
5082
5277
  end
5083
5278
 
5279
+ class DeleteConnectorV2Request
5280
+ attr_accessor connector_id: ::String
5281
+ SENSITIVE: []
5282
+ end
5283
+
5284
+ class DeleteConnectorV2Response < Aws::EmptyStructure
5285
+ end
5286
+
5084
5287
  class DeleteFindingAggregatorRequest
5085
5288
  attr_accessor finding_aggregator_arn: ::String
5086
5289
  SENSITIVE: []
@@ -5169,6 +5372,27 @@ module Aws::SecurityHub
5169
5372
  SENSITIVE: []
5170
5373
  end
5171
5374
 
5375
+ class DescribeProductsV2Request
5376
+ attr_accessor next_token: ::String
5377
+ attr_accessor max_results: ::Integer
5378
+ SENSITIVE: []
5379
+ end
5380
+
5381
+ class DescribeProductsV2Response
5382
+ attr_accessor products_v2: ::Array[Types::ProductV2]
5383
+ attr_accessor next_token: ::String
5384
+ SENSITIVE: []
5385
+ end
5386
+
5387
+ class DescribeSecurityHubV2Request < Aws::EmptyStructure
5388
+ end
5389
+
5390
+ class DescribeSecurityHubV2Response
5391
+ attr_accessor hub_v2_arn: ::String
5392
+ attr_accessor subscribed_at: ::String
5393
+ SENSITIVE: []
5394
+ end
5395
+
5172
5396
  class DescribeStandardsControlsRequest
5173
5397
  attr_accessor standards_subscription_arn: ::String
5174
5398
  attr_accessor next_token: ::String
@@ -5209,6 +5433,7 @@ module Aws::SecurityHub
5209
5433
 
5210
5434
  class DisableOrganizationAdminAccountRequest
5211
5435
  attr_accessor admin_account_id: ::String
5436
+ attr_accessor feature: ("SecurityHub" | "SecurityHubV2")
5212
5437
  SENSITIVE: []
5213
5438
  end
5214
5439
 
@@ -5221,6 +5446,12 @@ module Aws::SecurityHub
5221
5446
  class DisableSecurityHubResponse < Aws::EmptyStructure
5222
5447
  end
5223
5448
 
5449
+ class DisableSecurityHubV2Request < Aws::EmptyStructure
5450
+ end
5451
+
5452
+ class DisableSecurityHubV2Response < Aws::EmptyStructure
5453
+ end
5454
+
5224
5455
  class DisassociateFromAdministratorAccountRequest < Aws::EmptyStructure
5225
5456
  end
5226
5457
 
@@ -5267,10 +5498,14 @@ module Aws::SecurityHub
5267
5498
 
5268
5499
  class EnableOrganizationAdminAccountRequest
5269
5500
  attr_accessor admin_account_id: ::String
5501
+ attr_accessor feature: ("SecurityHub" | "SecurityHubV2")
5270
5502
  SENSITIVE: []
5271
5503
  end
5272
5504
 
5273
- class EnableOrganizationAdminAccountResponse < Aws::EmptyStructure
5505
+ class EnableOrganizationAdminAccountResponse
5506
+ attr_accessor admin_account_id: ::String
5507
+ attr_accessor feature: ("SecurityHub" | "SecurityHubV2")
5508
+ SENSITIVE: []
5274
5509
  end
5275
5510
 
5276
5511
  class EnableSecurityHubRequest
@@ -5283,6 +5518,16 @@ module Aws::SecurityHub
5283
5518
  class EnableSecurityHubResponse < Aws::EmptyStructure
5284
5519
  end
5285
5520
 
5521
+ class EnableSecurityHubV2Request
5522
+ attr_accessor tags: ::Hash[::String, ::String]
5523
+ SENSITIVE: []
5524
+ end
5525
+
5526
+ class EnableSecurityHubV2Response
5527
+ attr_accessor hub_v2_arn: ::String
5528
+ SENSITIVE: []
5529
+ end
5530
+
5286
5531
  class EnumConfigurationOptions
5287
5532
  attr_accessor default_value: ::String
5288
5533
  attr_accessor allowed_values: ::Array[::String]
@@ -5296,6 +5541,11 @@ module Aws::SecurityHub
5296
5541
  SENSITIVE: []
5297
5542
  end
5298
5543
 
5544
+ class ExternalIntegrationConfiguration
5545
+ attr_accessor connector_arn: ::String
5546
+ SENSITIVE: []
5547
+ end
5548
+
5299
5549
  class FilePaths
5300
5550
  attr_accessor file_path: ::String
5301
5551
  attr_accessor file_name: ::String
@@ -5394,6 +5644,38 @@ module Aws::SecurityHub
5394
5644
  SENSITIVE: []
5395
5645
  end
5396
5646
 
5647
+ class GetAggregatorV2Request
5648
+ attr_accessor aggregator_v2_arn: ::String
5649
+ SENSITIVE: []
5650
+ end
5651
+
5652
+ class GetAggregatorV2Response
5653
+ attr_accessor aggregator_v2_arn: ::String
5654
+ attr_accessor aggregation_region: ::String
5655
+ attr_accessor region_linking_mode: ::String
5656
+ attr_accessor linked_regions: ::Array[::String]
5657
+ SENSITIVE: []
5658
+ end
5659
+
5660
+ class GetAutomationRuleV2Request
5661
+ attr_accessor identifier: ::String
5662
+ SENSITIVE: []
5663
+ end
5664
+
5665
+ class GetAutomationRuleV2Response
5666
+ attr_accessor rule_arn: ::String
5667
+ attr_accessor rule_id: ::String
5668
+ attr_accessor rule_order: ::Float
5669
+ attr_accessor rule_name: ::String
5670
+ attr_accessor rule_status: ("ENABLED" | "DISABLED")
5671
+ attr_accessor description: ::String
5672
+ attr_accessor criteria: Types::Criteria
5673
+ attr_accessor actions: ::Array[Types::AutomationRulesActionV2]
5674
+ attr_accessor created_at: ::Time
5675
+ attr_accessor updated_at: ::Time
5676
+ SENSITIVE: []
5677
+ end
5678
+
5397
5679
  class GetConfigurationPolicyAssociationRequest
5398
5680
  attr_accessor target: Types::Target
5399
5681
  SENSITIVE: []
@@ -5426,6 +5708,24 @@ module Aws::SecurityHub
5426
5708
  SENSITIVE: []
5427
5709
  end
5428
5710
 
5711
+ class GetConnectorV2Request
5712
+ attr_accessor connector_id: ::String
5713
+ SENSITIVE: []
5714
+ end
5715
+
5716
+ class GetConnectorV2Response
5717
+ attr_accessor connector_arn: ::String
5718
+ attr_accessor connector_id: ::String
5719
+ attr_accessor name: ::String
5720
+ attr_accessor description: ::String
5721
+ attr_accessor kms_key_arn: ::String
5722
+ attr_accessor created_at: ::Time
5723
+ attr_accessor last_updated_at: ::Time
5724
+ attr_accessor health: Types::HealthCheck
5725
+ attr_accessor provider_detail: Types::ProviderDetail
5726
+ SENSITIVE: []
5727
+ end
5728
+
5429
5729
  class GetEnabledStandardsRequest
5430
5730
  attr_accessor standards_subscription_arns: ::Array[::String]
5431
5731
  attr_accessor next_token: ::String
@@ -5467,6 +5767,18 @@ module Aws::SecurityHub
5467
5767
  SENSITIVE: []
5468
5768
  end
5469
5769
 
5770
+ class GetFindingStatisticsV2Request
5771
+ attr_accessor group_by_rules: ::Array[Types::GroupByRule]
5772
+ attr_accessor sort_order: ("asc" | "desc")
5773
+ attr_accessor max_statistic_results: ::Integer
5774
+ SENSITIVE: []
5775
+ end
5776
+
5777
+ class GetFindingStatisticsV2Response
5778
+ attr_accessor group_by_results: ::Array[Types::GroupByResult]
5779
+ SENSITIVE: []
5780
+ end
5781
+
5470
5782
  class GetFindingsRequest
5471
5783
  attr_accessor filters: Types::AwsSecurityFindingFilters
5472
5784
  attr_accessor sort_criteria: ::Array[Types::SortCriterion]
@@ -5481,6 +5793,20 @@ module Aws::SecurityHub
5481
5793
  SENSITIVE: []
5482
5794
  end
5483
5795
 
5796
+ class GetFindingsV2Request
5797
+ attr_accessor filters: Types::OcsfFindingFilters
5798
+ attr_accessor sort_criteria: ::Array[Types::SortCriterion]
5799
+ attr_accessor next_token: ::String
5800
+ attr_accessor max_results: ::Integer
5801
+ SENSITIVE: []
5802
+ end
5803
+
5804
+ class GetFindingsV2Response
5805
+ attr_accessor findings: ::Array[untyped]
5806
+ attr_accessor next_token: ::String
5807
+ SENSITIVE: []
5808
+ end
5809
+
5484
5810
  class GetInsightResultsRequest
5485
5811
  attr_accessor insight_arn: ::String
5486
5812
  SENSITIVE: []
@@ -5531,6 +5857,32 @@ module Aws::SecurityHub
5531
5857
  SENSITIVE: []
5532
5858
  end
5533
5859
 
5860
+ class GetResourcesStatisticsV2Request
5861
+ attr_accessor group_by_rules: ::Array[Types::ResourceGroupByRule]
5862
+ attr_accessor sort_order: ("asc" | "desc")
5863
+ attr_accessor max_statistic_results: ::Integer
5864
+ SENSITIVE: []
5865
+ end
5866
+
5867
+ class GetResourcesStatisticsV2Response
5868
+ attr_accessor group_by_results: ::Array[Types::GroupByResult]
5869
+ SENSITIVE: []
5870
+ end
5871
+
5872
+ class GetResourcesV2Request
5873
+ attr_accessor filters: Types::ResourcesFilters
5874
+ attr_accessor sort_criteria: ::Array[Types::SortCriterion]
5875
+ attr_accessor next_token: ::String
5876
+ attr_accessor max_results: ::Integer
5877
+ SENSITIVE: []
5878
+ end
5879
+
5880
+ class GetResourcesV2Response
5881
+ attr_accessor resources: ::Array[Types::ResourceResult]
5882
+ attr_accessor next_token: ::String
5883
+ SENSITIVE: []
5884
+ end
5885
+
5534
5886
  class GetSecurityControlDefinitionRequest
5535
5887
  attr_accessor security_control_id: ::String
5536
5888
  SENSITIVE: []
@@ -5541,6 +5893,31 @@ module Aws::SecurityHub
5541
5893
  SENSITIVE: []
5542
5894
  end
5543
5895
 
5896
+ class GroupByResult
5897
+ attr_accessor group_by_field: ::String
5898
+ attr_accessor group_by_values: ::Array[Types::GroupByValue]
5899
+ SENSITIVE: []
5900
+ end
5901
+
5902
+ class GroupByRule
5903
+ attr_accessor filters: Types::OcsfFindingFilters
5904
+ attr_accessor group_by_field: ("activity_name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.name" | "compliance.status" | "compliance.control" | "finding_info.title" | "finding_info.types" | "metadata.product.name" | "metadata.product.uid" | "resources.type" | "resources.uid" | "severity" | "status" | "vulnerabilities.fix_coverage" | "class_name")
5905
+ SENSITIVE: []
5906
+ end
5907
+
5908
+ class GroupByValue
5909
+ attr_accessor field_value: ::String
5910
+ attr_accessor count: ::Integer
5911
+ SENSITIVE: []
5912
+ end
5913
+
5914
+ class HealthCheck
5915
+ attr_accessor connector_status: ("CONNECTED" | "FAILED_TO_CONNECT" | "PENDING_CONFIGURATION" | "PENDING_AUTHORIZATION")
5916
+ attr_accessor message: ::String
5917
+ attr_accessor last_checked_at: ::Time
5918
+ SENSITIVE: []
5919
+ end
5920
+
5544
5921
  class IcmpTypeCode
5545
5922
  attr_accessor code: ::Integer
5546
5923
  attr_accessor type: ::Integer
@@ -5604,6 +5981,12 @@ module Aws::SecurityHub
5604
5981
  SENSITIVE: []
5605
5982
  end
5606
5983
 
5984
+ class InternalServerException
5985
+ attr_accessor message: ::String
5986
+ attr_accessor code: ::String
5987
+ SENSITIVE: []
5988
+ end
5989
+
5607
5990
  class InvalidAccessException
5608
5991
  attr_accessor message: ::String
5609
5992
  attr_accessor code: ::String
@@ -5654,6 +6037,25 @@ module Aws::SecurityHub
5654
6037
  SENSITIVE: []
5655
6038
  end
5656
6039
 
6040
+ class JiraCloudDetail
6041
+ attr_accessor cloud_id: ::String
6042
+ attr_accessor project_key: ::String
6043
+ attr_accessor domain: ::String
6044
+ attr_accessor auth_url: ::String
6045
+ attr_accessor auth_status: ("ACTIVE" | "FAILED")
6046
+ SENSITIVE: []
6047
+ end
6048
+
6049
+ class JiraCloudProviderConfiguration
6050
+ attr_accessor project_key: ::String
6051
+ SENSITIVE: []
6052
+ end
6053
+
6054
+ class JiraCloudUpdateConfiguration
6055
+ attr_accessor project_key: ::String
6056
+ SENSITIVE: []
6057
+ end
6058
+
5657
6059
  class KeywordFilter
5658
6060
  attr_accessor value: ::String
5659
6061
  SENSITIVE: []
@@ -5665,6 +6067,18 @@ module Aws::SecurityHub
5665
6067
  SENSITIVE: []
5666
6068
  end
5667
6069
 
6070
+ class ListAggregatorsV2Request
6071
+ attr_accessor next_token: ::String
6072
+ attr_accessor max_results: ::Integer
6073
+ SENSITIVE: []
6074
+ end
6075
+
6076
+ class ListAggregatorsV2Response
6077
+ attr_accessor aggregators_v2: ::Array[Types::AggregatorV2]
6078
+ attr_accessor next_token: ::String
6079
+ SENSITIVE: []
6080
+ end
6081
+
5668
6082
  class ListAutomationRulesRequest
5669
6083
  attr_accessor next_token: ::String
5670
6084
  attr_accessor max_results: ::Integer
@@ -5677,6 +6091,18 @@ module Aws::SecurityHub
5677
6091
  SENSITIVE: []
5678
6092
  end
5679
6093
 
6094
+ class ListAutomationRulesV2Request
6095
+ attr_accessor next_token: ::String
6096
+ attr_accessor max_results: ::Integer
6097
+ SENSITIVE: []
6098
+ end
6099
+
6100
+ class ListAutomationRulesV2Response
6101
+ attr_accessor rules: ::Array[Types::AutomationRulesMetadataV2]
6102
+ attr_accessor next_token: ::String
6103
+ SENSITIVE: []
6104
+ end
6105
+
5680
6106
  class ListConfigurationPoliciesRequest
5681
6107
  attr_accessor next_token: ::String
5682
6108
  attr_accessor max_results: ::Integer
@@ -5702,6 +6128,20 @@ module Aws::SecurityHub
5702
6128
  SENSITIVE: []
5703
6129
  end
5704
6130
 
6131
+ class ListConnectorsV2Request
6132
+ attr_accessor next_token: ::String
6133
+ attr_accessor max_results: ::Integer
6134
+ attr_accessor provider_name: ("JIRA_CLOUD" | "SERVICENOW")
6135
+ attr_accessor connector_status: ("CONNECTED" | "FAILED_TO_CONNECT" | "PENDING_CONFIGURATION" | "PENDING_AUTHORIZATION")
6136
+ SENSITIVE: []
6137
+ end
6138
+
6139
+ class ListConnectorsV2Response
6140
+ attr_accessor next_token: ::String
6141
+ attr_accessor connectors: ::Array[Types::ConnectorSummary]
6142
+ SENSITIVE: []
6143
+ end
6144
+
5705
6145
  class ListEnabledProductsForImportRequest
5706
6146
  attr_accessor next_token: ::String
5707
6147
  attr_accessor max_results: ::Integer
@@ -5754,12 +6194,14 @@ module Aws::SecurityHub
5754
6194
  class ListOrganizationAdminAccountsRequest
5755
6195
  attr_accessor max_results: ::Integer
5756
6196
  attr_accessor next_token: ::String
6197
+ attr_accessor feature: ("SecurityHub" | "SecurityHubV2")
5757
6198
  SENSITIVE: []
5758
6199
  end
5759
6200
 
5760
6201
  class ListOrganizationAdminAccountsResponse
5761
6202
  attr_accessor admin_accounts: ::Array[Types::AdminAccount]
5762
6203
  attr_accessor next_token: ::String
6204
+ attr_accessor feature: ("SecurityHub" | "SecurityHubV2")
5763
6205
  SENSITIVE: []
5764
6206
  end
5765
6207
 
@@ -5939,6 +6381,49 @@ module Aws::SecurityHub
5939
6381
  SENSITIVE: []
5940
6382
  end
5941
6383
 
6384
+ class OcsfBooleanFilter
6385
+ attr_accessor field_name: ("compliance.assessments.meets_criteria" | "vulnerabilities.is_exploit_available" | "vulnerabilities.is_fix_available")
6386
+ attr_accessor filter: Types::BooleanFilter
6387
+ SENSITIVE: []
6388
+ end
6389
+
6390
+ class OcsfDateFilter
6391
+ attr_accessor field_name: ("finding_info.created_time_dt" | "finding_info.first_seen_time_dt" | "finding_info.last_seen_time_dt" | "finding_info.modified_time_dt")
6392
+ attr_accessor filter: Types::DateFilter
6393
+ SENSITIVE: []
6394
+ end
6395
+
6396
+ class OcsfFindingFilters
6397
+ attr_accessor composite_filters: ::Array[Types::CompositeFilter]
6398
+ attr_accessor composite_operator: ("AND" | "OR")
6399
+ SENSITIVE: []
6400
+ end
6401
+
6402
+ class OcsfFindingIdentifier
6403
+ attr_accessor cloud_account_uid: ::String
6404
+ attr_accessor finding_info_uid: ::String
6405
+ attr_accessor metadata_product_uid: ::String
6406
+ SENSITIVE: []
6407
+ end
6408
+
6409
+ class OcsfMapFilter
6410
+ attr_accessor field_name: ("resources.tags")
6411
+ attr_accessor filter: Types::MapFilter
6412
+ SENSITIVE: []
6413
+ end
6414
+
6415
+ class OcsfNumberFilter
6416
+ attr_accessor field_name: ("activity_id" | "compliance.status_id" | "confidence_score" | "severity_id" | "status_id" | "finding_info.related_events_count")
6417
+ attr_accessor filter: Types::NumberFilter
6418
+ SENSITIVE: []
6419
+ end
6420
+
6421
+ class OcsfStringFilter
6422
+ attr_accessor field_name: ("metadata.uid" | "activity_name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.category" | "compliance.assessments.name" | "compliance.control" | "compliance.status" | "compliance.standards" | "finding_info.desc" | "finding_info.src_url" | "finding_info.title" | "finding_info.types" | "finding_info.uid" | "finding_info.related_events.uid" | "finding_info.related_events.product.uid" | "finding_info.related_events.title" | "metadata.product.name" | "metadata.product.uid" | "metadata.product.vendor_name" | "remediation.desc" | "remediation.references" | "resources.cloud_partition" | "resources.region" | "resources.type" | "resources.uid" | "severity" | "status" | "comment" | "vulnerabilities.fix_coverage" | "class_name")
6423
+ attr_accessor filter: Types::StringFilter
6424
+ SENSITIVE: []
6425
+ end
6426
+
5942
6427
  class OrganizationConfiguration
5943
6428
  attr_accessor configuration_type: ("CENTRAL" | "LOCAL")
5944
6429
  attr_accessor status: ("PENDING" | "ENABLED" | "FAILED")
@@ -6071,11 +6556,67 @@ module Aws::SecurityHub
6071
6556
  SENSITIVE: []
6072
6557
  end
6073
6558
 
6559
+ class ProductV2
6560
+ attr_accessor product_v2_name: ::String
6561
+ attr_accessor company_name: ::String
6562
+ attr_accessor description: ::String
6563
+ attr_accessor categories: ::Array[::String]
6564
+ attr_accessor integration_v2_types: ::Array[("SEND_FINDINGS_TO_SECURITY_HUB" | "RECEIVE_FINDINGS_FROM_SECURITY_HUB" | "UPDATE_FINDINGS_IN_SECURITY_HUB")]
6565
+ attr_accessor marketplace_url: ::String
6566
+ attr_accessor activation_url: ::String
6567
+ SENSITIVE: []
6568
+ end
6569
+
6074
6570
  class PropagatingVgwSetDetails
6075
6571
  attr_accessor gateway_id: ::String
6076
6572
  SENSITIVE: []
6077
6573
  end
6078
6574
 
6575
+ class ProviderConfiguration
6576
+ attr_accessor jira_cloud: Types::JiraCloudProviderConfiguration
6577
+ attr_accessor service_now: Types::ServiceNowProviderConfiguration
6578
+ attr_accessor unknown: untyped
6579
+ SENSITIVE: []
6580
+
6581
+ class JiraCloud < ProviderConfiguration
6582
+ end
6583
+ class ServiceNow < ProviderConfiguration
6584
+ end
6585
+ class Unknown < ProviderConfiguration
6586
+ end
6587
+ end
6588
+
6589
+ class ProviderDetail
6590
+ attr_accessor jira_cloud: Types::JiraCloudDetail
6591
+ attr_accessor service_now: Types::ServiceNowDetail
6592
+ attr_accessor unknown: untyped
6593
+ SENSITIVE: []
6594
+
6595
+ class JiraCloud < ProviderDetail
6596
+ end
6597
+ class ServiceNow < ProviderDetail
6598
+ end
6599
+ class Unknown < ProviderDetail
6600
+ end
6601
+ end
6602
+
6603
+ class ProviderSummary
6604
+ attr_accessor provider_name: ("JIRA_CLOUD" | "SERVICENOW")
6605
+ attr_accessor connector_status: ("CONNECTED" | "FAILED_TO_CONNECT" | "PENDING_CONFIGURATION" | "PENDING_AUTHORIZATION")
6606
+ SENSITIVE: []
6607
+ end
6608
+
6609
+ class ProviderUpdateConfiguration
6610
+ attr_accessor jira_cloud: Types::JiraCloudUpdateConfiguration
6611
+ attr_accessor unknown: untyped
6612
+ SENSITIVE: []
6613
+
6614
+ class JiraCloud < ProviderUpdateConfiguration
6615
+ end
6616
+ class Unknown < ProviderUpdateConfiguration
6617
+ end
6618
+ end
6619
+
6079
6620
  class Range
6080
6621
  attr_accessor start: ::Integer
6081
6622
  attr_accessor end: ::Integer
@@ -6229,6 +6770,20 @@ module Aws::SecurityHub
6229
6770
  SENSITIVE: []
6230
6771
  end
6231
6772
 
6773
+ class ResourceFindingsSummary
6774
+ attr_accessor finding_type: ::String
6775
+ attr_accessor product_name: ::String
6776
+ attr_accessor total_findings: ::Integer
6777
+ attr_accessor severities: Types::ResourceSeverityBreakdown
6778
+ SENSITIVE: []
6779
+ end
6780
+
6781
+ class ResourceGroupByRule
6782
+ attr_accessor group_by_field: ("account_id" | "region" | "resource_category" | "resource_type" | "resource_name" | "findings_summary.finding_type")
6783
+ attr_accessor filters: Types::ResourcesFilters
6784
+ SENSITIVE: []
6785
+ end
6786
+
6232
6787
  class ResourceInUseException
6233
6788
  attr_accessor message: ::String
6234
6789
  attr_accessor code: ::String
@@ -6241,6 +6796,79 @@ module Aws::SecurityHub
6241
6796
  SENSITIVE: []
6242
6797
  end
6243
6798
 
6799
+ class ResourceResult
6800
+ attr_accessor resource_arn: ::String
6801
+ attr_accessor resource_id: ::String
6802
+ attr_accessor account_id: ::String
6803
+ attr_accessor region: ::String
6804
+ attr_accessor resource_category: ("Compute" | "Database" | "Storage" | "Code" | "AI/ML" | "Identity" | "Network" | "Other")
6805
+ attr_accessor resource_type: ::String
6806
+ attr_accessor resource_name: ::String
6807
+ attr_accessor resource_creation_time_dt: ::String
6808
+ attr_accessor resource_detail_capture_time_dt: ::String
6809
+ attr_accessor findings_summary: ::Array[Types::ResourceFindingsSummary]
6810
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
6811
+ attr_accessor resource_config: untyped
6812
+ SENSITIVE: []
6813
+ end
6814
+
6815
+ class ResourceSeverityBreakdown
6816
+ attr_accessor other: ::Integer
6817
+ attr_accessor fatal: ::Integer
6818
+ attr_accessor critical: ::Integer
6819
+ attr_accessor high: ::Integer
6820
+ attr_accessor medium: ::Integer
6821
+ attr_accessor low: ::Integer
6822
+ attr_accessor informational: ::Integer
6823
+ attr_accessor unknown: ::Integer
6824
+ SENSITIVE: []
6825
+ end
6826
+
6827
+ class ResourceTag
6828
+ attr_accessor key: ::String
6829
+ attr_accessor value: ::String
6830
+ SENSITIVE: []
6831
+ end
6832
+
6833
+ class ResourcesCompositeFilter
6834
+ attr_accessor string_filters: ::Array[Types::ResourcesStringFilter]
6835
+ attr_accessor date_filters: ::Array[Types::ResourcesDateFilter]
6836
+ attr_accessor number_filters: ::Array[Types::ResourcesNumberFilter]
6837
+ attr_accessor map_filters: ::Array[Types::ResourcesMapFilter]
6838
+ attr_accessor operator: ("AND" | "OR")
6839
+ SENSITIVE: []
6840
+ end
6841
+
6842
+ class ResourcesDateFilter
6843
+ attr_accessor field_name: ("resource_detail_capture_time_dt" | "resource_creation_time_dt")
6844
+ attr_accessor filter: Types::DateFilter
6845
+ SENSITIVE: []
6846
+ end
6847
+
6848
+ class ResourcesFilters
6849
+ attr_accessor composite_filters: ::Array[Types::ResourcesCompositeFilter]
6850
+ attr_accessor composite_operator: ("AND" | "OR")
6851
+ SENSITIVE: []
6852
+ end
6853
+
6854
+ class ResourcesMapFilter
6855
+ attr_accessor field_name: ("tags")
6856
+ attr_accessor filter: Types::MapFilter
6857
+ SENSITIVE: []
6858
+ end
6859
+
6860
+ class ResourcesNumberFilter
6861
+ attr_accessor field_name: ("findings_summary.total_findings" | "findings_summary.severities.other" | "findings_summary.severities.fatal" | "findings_summary.severities.critical" | "findings_summary.severities.high" | "findings_summary.severities.medium" | "findings_summary.severities.low" | "findings_summary.severities.informational" | "findings_summary.severities.unknown")
6862
+ attr_accessor filter: Types::NumberFilter
6863
+ SENSITIVE: []
6864
+ end
6865
+
6866
+ class ResourcesStringFilter
6867
+ attr_accessor field_name: ("resource_arn" | "resource_id" | "account_id" | "region" | "resource_category" | "resource_type" | "resource_name" | "findings_summary.finding_type" | "findings_summary.product_name")
6868
+ attr_accessor filter: Types::StringFilter
6869
+ SENSITIVE: []
6870
+ end
6871
+
6244
6872
  class Result
6245
6873
  attr_accessor account_id: ::String
6246
6874
  attr_accessor processing_result: ::String
@@ -6464,6 +7092,20 @@ module Aws::SecurityHub
6464
7092
  SENSITIVE: []
6465
7093
  end
6466
7094
 
7095
+ class ServiceNowDetail
7096
+ attr_accessor instance_name: ::String
7097
+ attr_accessor client_id: ::String
7098
+ attr_accessor auth_status: ("ACTIVE" | "FAILED")
7099
+ SENSITIVE: []
7100
+ end
7101
+
7102
+ class ServiceNowProviderConfiguration
7103
+ attr_accessor instance_name: ::String
7104
+ attr_accessor client_id: ::String
7105
+ attr_accessor client_secret: ::String
7106
+ SENSITIVE: [:client_secret]
7107
+ end
7108
+
6467
7109
  class Severity
6468
7110
  attr_accessor product: ::Float
6469
7111
  attr_accessor label: ("INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL")
@@ -6666,7 +7308,7 @@ module Aws::SecurityHub
6666
7308
 
6667
7309
  class StringFilter
6668
7310
  attr_accessor value: ::String
6669
- attr_accessor comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS")
7311
+ attr_accessor comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")
6670
7312
  SENSITIVE: []
6671
7313
  end
6672
7314
 
@@ -6722,6 +7364,12 @@ module Aws::SecurityHub
6722
7364
  SENSITIVE: []
6723
7365
  end
6724
7366
 
7367
+ class ThrottlingException
7368
+ attr_accessor message: ::String
7369
+ attr_accessor code: ::String
7370
+ SENSITIVE: []
7371
+ end
7372
+
6725
7373
  class UnprocessedAutomationRule
6726
7374
  attr_accessor rule_arn: ::String
6727
7375
  attr_accessor error_code: ::Integer
@@ -6776,6 +7424,35 @@ module Aws::SecurityHub
6776
7424
  class UpdateActionTargetResponse < Aws::EmptyStructure
6777
7425
  end
6778
7426
 
7427
+ class UpdateAggregatorV2Request
7428
+ attr_accessor aggregator_v2_arn: ::String
7429
+ attr_accessor region_linking_mode: ::String
7430
+ attr_accessor linked_regions: ::Array[::String]
7431
+ SENSITIVE: []
7432
+ end
7433
+
7434
+ class UpdateAggregatorV2Response
7435
+ attr_accessor aggregator_v2_arn: ::String
7436
+ attr_accessor aggregation_region: ::String
7437
+ attr_accessor region_linking_mode: ::String
7438
+ attr_accessor linked_regions: ::Array[::String]
7439
+ SENSITIVE: []
7440
+ end
7441
+
7442
+ class UpdateAutomationRuleV2Request
7443
+ attr_accessor identifier: ::String
7444
+ attr_accessor rule_status: ("ENABLED" | "DISABLED")
7445
+ attr_accessor rule_order: ::Float
7446
+ attr_accessor description: ::String
7447
+ attr_accessor rule_name: ::String
7448
+ attr_accessor criteria: Types::Criteria
7449
+ attr_accessor actions: ::Array[Types::AutomationRulesActionV2]
7450
+ SENSITIVE: []
7451
+ end
7452
+
7453
+ class UpdateAutomationRuleV2Response < Aws::EmptyStructure
7454
+ end
7455
+
6779
7456
  class UpdateAutomationRulesRequestItem
6780
7457
  attr_accessor rule_arn: ::String
6781
7458
  attr_accessor rule_status: ("ENABLED" | "DISABLED")
@@ -6808,6 +7485,17 @@ module Aws::SecurityHub
6808
7485
  SENSITIVE: []
6809
7486
  end
6810
7487
 
7488
+ class UpdateConnectorV2Request
7489
+ attr_accessor connector_id: ::String
7490
+ attr_accessor client_secret: ::String
7491
+ attr_accessor description: ::String
7492
+ attr_accessor provider: Types::ProviderUpdateConfiguration
7493
+ SENSITIVE: [:client_secret]
7494
+ end
7495
+
7496
+ class UpdateConnectorV2Response < Aws::EmptyStructure
7497
+ end
7498
+
6811
7499
  class UpdateFindingAggregatorRequest
6812
7500
  attr_accessor finding_aggregator_arn: ::String
6813
7501
  attr_accessor region_linking_mode: ::String
@@ -6889,6 +7577,12 @@ module Aws::SecurityHub
6889
7577
  SENSITIVE: []
6890
7578
  end
6891
7579
 
7580
+ class ValidationException
7581
+ attr_accessor message: ::String
7582
+ attr_accessor code: ::String
7583
+ SENSITIVE: []
7584
+ end
7585
+
6892
7586
  class VolumeMount
6893
7587
  attr_accessor name: ::String
6894
7588
  attr_accessor mount_path: ::String