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.
@@ -54,7 +54,7 @@ module Aws::SecurityHub
54
54
  autoload :EndpointProvider, 'aws-sdk-securityhub/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-securityhub/endpoints'
56
56
 
57
- GEM_VERSION = '1.166.0'
57
+ GEM_VERSION = '1.168.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -4109,6 +4109,17 @@ module Aws
4109
4109
  ) -> _BatchUpdateStandardsControlAssociationsResponseSuccess
4110
4110
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateStandardsControlAssociationsResponseSuccess
4111
4111
 
4112
+ interface _CancelExportJobV2ResponseSuccess
4113
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelExportJobV2Response]
4114
+ def export_job_id: () -> ::String
4115
+ def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED")
4116
+ end
4117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#cancel_export_job_v2-instance_method
4118
+ def cancel_export_job_v2: (
4119
+ export_job_id: ::String
4120
+ ) -> _CancelExportJobV2ResponseSuccess
4121
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelExportJobV2ResponseSuccess
4122
+
4112
4123
  interface _CreateActionTargetResponseSuccess
4113
4124
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateActionTargetResponse]
4114
4125
  def action_target_arn: () -> ::String
@@ -4763,6 +4774,26 @@ module Aws
4763
4774
  ) -> _GetEnabledStandardsResponseSuccess
4764
4775
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnabledStandardsResponseSuccess
4765
4776
 
4777
+ interface _GetExportJobV2ResponseSuccess
4778
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetExportJobV2Response]
4779
+ def export_job_id: () -> ::String
4780
+ def name: () -> ::String
4781
+ def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED")
4782
+ def data_type: () -> ("FINDINGS")
4783
+ def output_configuration: () -> Types::ExportOutput
4784
+ def scopes: () -> Types::ExportScopes
4785
+ def destination: () -> Types::ExportDestination
4786
+ def failure_code: () -> ("ACCESS_DENIED" | "RESOURCE_NOT_FOUND" | "INTERNAL_ERROR")
4787
+ def failure_message: () -> ::String
4788
+ def started_at: () -> ::Time
4789
+ def ended_at: () -> ::Time
4790
+ end
4791
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#get_export_job_v2-instance_method
4792
+ def get_export_job_v2: (
4793
+ export_job_id: ::String
4794
+ ) -> _GetExportJobV2ResponseSuccess
4795
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExportJobV2ResponseSuccess
4796
+
4766
4797
  interface _GetFindingAggregatorResponseSuccess
4767
4798
  include ::Seahorse::Client::_ResponseSuccess[Types::GetFindingAggregatorResponse]
4768
4799
  def finding_aggregator_arn: () -> ::String
@@ -4803,7 +4834,7 @@ module Aws
4803
4834
  group_by_rules: Array[
4804
4835
  {
4805
4836
  filters: Params::ocsf_finding_filters?,
4806
- group_by_field: ("activity_name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.name" | "compliance.status" | "compliance.control" | "finding_info.title" | "finding_info.related_events.traits.category" | "finding_info.types" | "metadata.product.name" | "metadata.product.uid" | "resources.type" | "resources.cloud_partition" | "resources.name" | "resources.owner.account.uid" | "resources.owner.org.uid" | "resources.owner.account.name" | "resources.provider" | "resources.region" | "resources.uid" | "severity" | "status" | "vulnerabilities.fix_coverage" | "class_name" | "vulnerabilities.affected_packages.name" | "finding_info.analytic.name" | "compliance.standards" | "cloud.account.name" | "vendor_attributes.severity" | "metadata.product.vendor_name")
4837
+ group_by_field: ("activity_name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.name" | "compliance.status" | "compliance.control" | "finding_info.title" | "finding_info.related_events.traits.category" | "finding_info.types" | "impact" | "likelihood" | "metadata.product.name" | "metadata.product.uid" | "resources.type" | "resources.cloud_partition" | "resources.criticality" | "resources.name" | "resources.owner.account.uid" | "resources.owner.org.uid" | "resources.owner.account.name" | "resources.provider" | "resources.region" | "resources.uid" | "severity" | "status" | "vulnerabilities.fix_coverage" | "class_name" | "vulnerabilities.affected_packages.name" | "finding_info.analytic.name" | "compliance.standards" | "cloud.account.name" | "vendor_attributes.severity" | "metadata.product.vendor_name")
4807
4838
  }
4808
4839
  ],
4809
4840
  ?scopes: {
@@ -4992,7 +5023,7 @@ module Aws
4992
5023
  def get_resources_statistics_v2: (
4993
5024
  group_by_rules: Array[
4994
5025
  {
4995
- group_by_field: ("AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "ResourceSubCategory" | "DiscoveryType" | "ResourceInfo.AIDetails.HostResourceType" | "ResourceInfo.AIDetails.CanonicalId"),
5026
+ group_by_field: ("AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "ResourceSubCategory" | "DiscoveryType" | "ResourceInfo.AIDetails.HostResourceType" | "ResourceInfo.AIDetails.CanonicalId" | "ResourceCriticality"),
4996
5027
  filters: Params::resources_filters?
4997
5028
  }
4998
5029
  ],
@@ -5184,6 +5215,20 @@ module Aws
5184
5215
  ) -> _ListEnabledProductsForImportResponseSuccess
5185
5216
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEnabledProductsForImportResponseSuccess
5186
5217
 
5218
+ interface _ListExportJobsV2ResponseSuccess
5219
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListExportJobsV2Response]
5220
+ def items: () -> ::Array[Types::ExportSummary]
5221
+ def next_token: () -> ::String
5222
+ end
5223
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#list_export_jobs_v2-instance_method
5224
+ def list_export_jobs_v2: (
5225
+ ?status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED"),
5226
+ ?data_type: ("FINDINGS"),
5227
+ ?max_results: ::Integer,
5228
+ ?next_token: ::String
5229
+ ) -> _ListExportJobsV2ResponseSuccess
5230
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExportJobsV2ResponseSuccess
5231
+
5187
5232
  interface _ListExposuresByRemediationV2ResponseSuccess
5188
5233
  include ::Seahorse::Client::_ResponseSuccess[Types::ListExposuresByRemediationV2Response]
5189
5234
  def items: () -> ::Array[Types::ExposureFinding]
@@ -5350,6 +5395,39 @@ module Aws
5350
5395
  ) -> _StartConfigurationPolicyDisassociationResponseSuccess
5351
5396
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartConfigurationPolicyDisassociationResponseSuccess
5352
5397
 
5398
+ interface _StartExportJobV2ResponseSuccess
5399
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartExportJobV2Response]
5400
+ def export_job_id: () -> ::String
5401
+ end
5402
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#start_export_job_v2-instance_method
5403
+ def start_export_job_v2: (
5404
+ ?name: ::String,
5405
+ destination: {
5406
+ s3: {
5407
+ bucket_arn: ::String,
5408
+ kms_key_arn: ::String,
5409
+ object_prefix: ::String?
5410
+ }?
5411
+ },
5412
+ output_configuration: {
5413
+ findings: {
5414
+ format: ("CSV" | "OCSF_JSON"),
5415
+ filters: Params::ocsf_finding_filters?,
5416
+ selected_fields: Array[("metadata.uid" | "activity_name" | "cloud.account.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.traits.category" | "finding_info.related_events.uid" | "finding_info.related_events.product.uid" | "finding_info.related_events.title" | "metadata.product.feature.uid" | "metadata.product.name" | "metadata.product.uid" | "metadata.product.vendor_name" | "remediation.desc" | "remediation.references" | "resources.cloud_partition" | "resources.name" | "resources.owner.account.uid" | "resources.owner.org.uid" | "resources.owner.account.name" | "resources.provider" | "resources.region" | "resources.type" | "resources.uid" | "severity" | "status" | "comment" | "vulnerabilities.fix_coverage" | "class_name" | "databucket.encryption_details.algorithm" | "databucket.encryption_details.key_uid" | "databucket.file.data_classifications.classifier_details.type" | "evidences.actor.user.account.uid" | "evidences.api.operation" | "evidences.api.response.error_message" | "evidences.api.service.name" | "evidences.connection_info.direction" | "evidences.connection_info.protocol_name" | "evidences.dst_endpoint.autonomous_system.name" | "evidences.dst_endpoint.location.city" | "evidences.dst_endpoint.location.country" | "evidences.src_endpoint.autonomous_system.name" | "evidences.src_endpoint.hostname" | "evidences.src_endpoint.location.city" | "evidences.src_endpoint.location.country" | "finding_info.analytic.name" | "malware.name" | "malware_scan_info.uid" | "malware.severity" | "resources.cloud_function.layers.uid_alt" | "resources.cloud_function.runtime" | "resources.cloud_function.user.uid" | "resources.device.encryption_details.key_uid" | "resources.device.image.uid" | "resources.image.architecture" | "resources.image.registry_uid" | "resources.image.repository_name" | "resources.image.uid" | "resources.subnet_info.uid" | "resources.vpc_uid" | "vulnerabilities.affected_code.file.path" | "vulnerabilities.affected_packages.name" | "vulnerabilities.cve.cvss.vendor_name" | "vulnerabilities.cve.cvss.version" | "vulnerabilities.cve.epss.score" | "vulnerabilities.cve.uid" | "vulnerabilities.related_vulnerabilities" | "vendor_attributes.severity" | "activity_id" | "compliance.status_id" | "confidence_score" | "severity_id" | "status_id" | "finding_info.related_events_count" | "evidences.api.response.code" | "evidences.dst_endpoint.autonomous_system.number" | "evidences.dst_endpoint.port" | "evidences.src_endpoint.autonomous_system.number" | "evidences.src_endpoint.port" | "resources.image.in_use_count" | "vulnerabilities.cve.cvss.base_score" | "vendor_attributes.severity_id" | "finding_info.created_time_dt" | "finding_info.first_seen_time_dt" | "finding_info.last_seen_time_dt" | "finding_info.modified_time_dt" | "resources.image.created_time_dt" | "resources.image.last_used_time_dt" | "resources.modified_time_dt" | "compliance.assessments.meets_criteria" | "vulnerabilities.is_exploit_available" | "vulnerabilities.is_fix_available" | "resources.tags" | "compliance.control_parameters" | "databucket.tags" | "finding_info.tags" | "evidences.dst_endpoint.ip" | "evidences.src_endpoint.ip")]?
5417
+ }?
5418
+ },
5419
+ ?scopes: {
5420
+ aws_organizations: Array[
5421
+ {
5422
+ organization_id: ::String?,
5423
+ organizational_unit_id: ::String?
5424
+ }
5425
+ ]?
5426
+ },
5427
+ ?client_token: ::String
5428
+ ) -> _StartExportJobV2ResponseSuccess
5429
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartExportJobV2ResponseSuccess
5430
+
5353
5431
  interface _TagResourceResponseSuccess
5354
5432
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
5355
5433
  end
data/sig/params.rbs CHANGED
@@ -549,14 +549,22 @@ module Aws
549
549
  composite_operator: ("AND" | "OR")?
550
550
  }
551
551
 
552
+ type resources_filters = {
553
+ composite_filters: Array[
554
+ Params::resources_composite_filter
555
+ ]?,
556
+ composite_operator: ("AND" | "OR")?
557
+ }
558
+
552
559
  type criteria = {
553
- ocsf_finding_criteria: Params::ocsf_finding_filters?
560
+ ocsf_finding_criteria: Params::ocsf_finding_filters?,
561
+ resource_criteria: Params::resources_filters?
554
562
  }
555
563
 
556
564
  type composite_filter = {
557
565
  string_filters: Array[
558
566
  {
559
- 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.traits.category" | "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.name" | "resources.owner.account.uid" | "resources.owner.org.uid" | "resources.owner.account.name" | "resources.provider" | "resources.region" | "resources.type" | "resources.uid" | "severity" | "status" | "comment" | "vulnerabilities.fix_coverage" | "class_name" | "databucket.encryption_details.algorithm" | "databucket.encryption_details.key_uid" | "databucket.file.data_classifications.classifier_details.type" | "evidences.actor.user.account.uid" | "evidences.api.operation" | "evidences.api.response.error_message" | "evidences.api.service.name" | "evidences.connection_info.direction" | "evidences.connection_info.protocol_name" | "evidences.dst_endpoint.autonomous_system.name" | "evidences.dst_endpoint.location.city" | "evidences.dst_endpoint.location.country" | "evidences.src_endpoint.autonomous_system.name" | "evidences.src_endpoint.hostname" | "evidences.src_endpoint.location.city" | "evidences.src_endpoint.location.country" | "finding_info.analytic.name" | "malware.name" | "malware_scan_info.uid" | "malware.severity" | "resources.cloud_function.layers.uid_alt" | "resources.cloud_function.runtime" | "resources.cloud_function.user.uid" | "resources.device.encryption_details.key_uid" | "resources.device.image.uid" | "resources.image.architecture" | "resources.image.registry_uid" | "resources.image.repository_name" | "resources.image.uid" | "resources.subnet_info.uid" | "resources.vpc_uid" | "vulnerabilities.affected_code.file.path" | "vulnerabilities.affected_packages.name" | "vulnerabilities.cve.epss.score" | "vulnerabilities.cve.uid" | "vulnerabilities.related_vulnerabilities" | "cloud.account.name" | "vendor_attributes.severity")?,
567
+ 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.traits.category" | "finding_info.related_events.uid" | "finding_info.related_events.product.uid" | "finding_info.related_events.title" | "impact" | "likelihood" | "metadata.product.name" | "metadata.product.uid" | "metadata.product.vendor_name" | "remediation.desc" | "remediation.references" | "resources.cloud_partition" | "resources.criticality" | "resources.name" | "resources.owner.account.uid" | "resources.owner.org.uid" | "resources.owner.account.name" | "resources.provider" | "resources.region" | "resources.type" | "resources.uid" | "severity" | "status" | "comment" | "vulnerabilities.fix_coverage" | "class_name" | "databucket.encryption_details.algorithm" | "databucket.encryption_details.key_uid" | "databucket.file.data_classifications.classifier_details.type" | "evidences.actor.user.account.uid" | "evidences.api.operation" | "evidences.api.response.error_message" | "evidences.api.service.name" | "evidences.connection_info.direction" | "evidences.connection_info.protocol_name" | "evidences.dst_endpoint.autonomous_system.name" | "evidences.dst_endpoint.location.city" | "evidences.dst_endpoint.location.country" | "evidences.src_endpoint.autonomous_system.name" | "evidences.src_endpoint.hostname" | "evidences.src_endpoint.location.city" | "evidences.src_endpoint.location.country" | "finding_info.analytic.name" | "malware.name" | "malware_scan_info.uid" | "malware.severity" | "resources.cloud_function.layers.uid_alt" | "resources.cloud_function.runtime" | "resources.cloud_function.user.uid" | "resources.device.encryption_details.key_uid" | "resources.device.image.uid" | "resources.image.architecture" | "resources.image.registry_uid" | "resources.image.repository_name" | "resources.image.uid" | "resources.subnet_info.uid" | "resources.vpc_uid" | "vulnerabilities.affected_code.file.path" | "vulnerabilities.affected_packages.name" | "vulnerabilities.cve.epss.score" | "vulnerabilities.cve.uid" | "vulnerabilities.related_vulnerabilities" | "cloud.account.name" | "vendor_attributes.severity")?,
560
568
  filter: {
561
569
  value: ::String?,
562
570
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
@@ -592,7 +600,7 @@ module Aws
592
600
  {
593
601
  string_filters: Array[
594
602
  {
595
- 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.traits.category" | "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.name" | "resources.owner.account.uid" | "resources.owner.org.uid" | "resources.owner.account.name" | "resources.provider" | "resources.region" | "resources.type" | "resources.uid" | "severity" | "status" | "comment" | "vulnerabilities.fix_coverage" | "class_name" | "databucket.encryption_details.algorithm" | "databucket.encryption_details.key_uid" | "databucket.file.data_classifications.classifier_details.type" | "evidences.actor.user.account.uid" | "evidences.api.operation" | "evidences.api.response.error_message" | "evidences.api.service.name" | "evidences.connection_info.direction" | "evidences.connection_info.protocol_name" | "evidences.dst_endpoint.autonomous_system.name" | "evidences.dst_endpoint.location.city" | "evidences.dst_endpoint.location.country" | "evidences.src_endpoint.autonomous_system.name" | "evidences.src_endpoint.hostname" | "evidences.src_endpoint.location.city" | "evidences.src_endpoint.location.country" | "finding_info.analytic.name" | "malware.name" | "malware_scan_info.uid" | "malware.severity" | "resources.cloud_function.layers.uid_alt" | "resources.cloud_function.runtime" | "resources.cloud_function.user.uid" | "resources.device.encryption_details.key_uid" | "resources.device.image.uid" | "resources.image.architecture" | "resources.image.registry_uid" | "resources.image.repository_name" | "resources.image.uid" | "resources.subnet_info.uid" | "resources.vpc_uid" | "vulnerabilities.affected_code.file.path" | "vulnerabilities.affected_packages.name" | "vulnerabilities.cve.epss.score" | "vulnerabilities.cve.uid" | "vulnerabilities.related_vulnerabilities" | "cloud.account.name" | "vendor_attributes.severity")?,
603
+ 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.traits.category" | "finding_info.related_events.uid" | "finding_info.related_events.product.uid" | "finding_info.related_events.title" | "impact" | "likelihood" | "metadata.product.name" | "metadata.product.uid" | "metadata.product.vendor_name" | "remediation.desc" | "remediation.references" | "resources.cloud_partition" | "resources.criticality" | "resources.name" | "resources.owner.account.uid" | "resources.owner.org.uid" | "resources.owner.account.name" | "resources.provider" | "resources.region" | "resources.type" | "resources.uid" | "severity" | "status" | "comment" | "vulnerabilities.fix_coverage" | "class_name" | "databucket.encryption_details.algorithm" | "databucket.encryption_details.key_uid" | "databucket.file.data_classifications.classifier_details.type" | "evidences.actor.user.account.uid" | "evidences.api.operation" | "evidences.api.response.error_message" | "evidences.api.service.name" | "evidences.connection_info.direction" | "evidences.connection_info.protocol_name" | "evidences.dst_endpoint.autonomous_system.name" | "evidences.dst_endpoint.location.city" | "evidences.dst_endpoint.location.country" | "evidences.src_endpoint.autonomous_system.name" | "evidences.src_endpoint.hostname" | "evidences.src_endpoint.location.city" | "evidences.src_endpoint.location.country" | "finding_info.analytic.name" | "malware.name" | "malware_scan_info.uid" | "malware.severity" | "resources.cloud_function.layers.uid_alt" | "resources.cloud_function.runtime" | "resources.cloud_function.user.uid" | "resources.device.encryption_details.key_uid" | "resources.device.image.uid" | "resources.image.architecture" | "resources.image.registry_uid" | "resources.image.repository_name" | "resources.image.uid" | "resources.subnet_info.uid" | "resources.vpc_uid" | "vulnerabilities.affected_code.file.path" | "vulnerabilities.affected_packages.name" | "vulnerabilities.cve.epss.score" | "vulnerabilities.cve.uid" | "vulnerabilities.related_vulnerabilities" | "cloud.account.name" | "vendor_attributes.severity")?,
596
604
  filter: {
597
605
  value: ::String?,
598
606
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
@@ -656,8 +664,79 @@ module Aws
656
664
  }?
657
665
  }
658
666
 
667
+ type resources_composite_filter = {
668
+ string_filters: Array[
669
+ {
670
+ field_name: ("ResourceGuid" | "ResourceId" | "AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "FindingsSummary.ProductName" | "ResourceSubCategory" | "DiscoveryType" | "ResourceInfo.AIDetails.HostResourceGuid" | "ResourceInfo.AIDetails.HostResourceType" | "ResourceInfo.AIDetails.CanonicalId" | "ResourceCriticality")?,
671
+ filter: {
672
+ value: ::String?,
673
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
674
+ }?
675
+ }
676
+ ]?,
677
+ date_filters: Array[
678
+ Params::resources_date_filter
679
+ ]?,
680
+ number_filters: Array[
681
+ Params::resources_number_filter
682
+ ]?,
683
+ map_filters: Array[
684
+ Params::resources_map_filter
685
+ ]?,
686
+ nested_composite_filters: Array[
687
+ {
688
+ string_filters: Array[
689
+ {
690
+ field_name: ("ResourceGuid" | "ResourceId" | "AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "FindingsSummary.ProductName" | "ResourceSubCategory" | "DiscoveryType" | "ResourceInfo.AIDetails.HostResourceGuid" | "ResourceInfo.AIDetails.HostResourceType" | "ResourceInfo.AIDetails.CanonicalId" | "ResourceCriticality")?,
691
+ filter: {
692
+ value: ::String?,
693
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
694
+ }?
695
+ }
696
+ ]?,
697
+ date_filters: Array[
698
+ Params::resources_date_filter
699
+ ]?,
700
+ number_filters: Array[
701
+ Params::resources_number_filter
702
+ ]?,
703
+ map_filters: Array[
704
+ Params::resources_map_filter
705
+ ]?,
706
+ nested_composite_filters: untyped?,
707
+ operator: ("AND" | "OR")?
708
+ }
709
+ ]?,
710
+ operator: ("AND" | "OR")?
711
+ }
712
+
713
+ type resources_date_filter = {
714
+ field_name: ("ResourceDetailCaptureTime" | "ResourceCreationTime")?,
715
+ filter: Params::date_filter?
716
+ }
717
+
718
+ type resources_number_filter = {
719
+ field_name: ("FindingsSummary.TotalFindings" | "FindingsSummary.Severities.Other" | "FindingsSummary.Severities.Fatal" | "FindingsSummary.Severities.Critical" | "FindingsSummary.Severities.High" | "FindingsSummary.Severities.Medium" | "FindingsSummary.Severities.Low" | "FindingsSummary.Severities.Informational" | "FindingsSummary.Severities.Unknown" | "ResourceInfo.AIDetails.SelfHostedAIModelResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIAgentResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIModelServingResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIExternalEndpointResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIDevelopmentResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIAgentFrameworkResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIAgentToolsAndIdentityResourceCount" | "ResourceInfo.AIDetails.SelfHostedTotalAIResourceCount")?,
720
+ filter: {
721
+ gte: ::Float?,
722
+ lte: ::Float?,
723
+ eq: ::Float?,
724
+ gt: ::Float?,
725
+ lt: ::Float?
726
+ }?
727
+ }
728
+
729
+ type resources_map_filter = {
730
+ field_name: ("ResourceTags")?,
731
+ filter: {
732
+ key: ::String?,
733
+ value: ::String?,
734
+ comparison: ("EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS")?
735
+ }?
736
+ }
737
+
659
738
  type automation_rules_action_v2 = {
660
- type: ("FINDING_FIELDS_UPDATE" | "EXTERNAL_INTEGRATION"),
739
+ type: ("FINDING_FIELDS_UPDATE" | "EXTERNAL_INTEGRATION" | "RESOURCE_FIELDS_UPDATE"),
661
740
  finding_fields_update: {
662
741
  severity_id: ::Integer?,
663
742
  comment: ::String?,
@@ -665,6 +744,9 @@ module Aws
665
744
  }?,
666
745
  external_integration_configuration: {
667
746
  connector_arn: ::String?
747
+ }?,
748
+ resource_fields_update: {
749
+ criticality: ("Very High" | "High" | "Medium" | "Low" | "Unknown")
668
750
  }?
669
751
  }
670
752
 
@@ -1382,84 +1464,6 @@ module Aws
1382
1464
  operator: ("AND" | "OR")?
1383
1465
  }
1384
1466
 
1385
- type resources_filters = {
1386
- composite_filters: Array[
1387
- Params::resources_composite_filter
1388
- ]?,
1389
- composite_operator: ("AND" | "OR")?
1390
- }
1391
-
1392
- type resources_composite_filter = {
1393
- string_filters: Array[
1394
- {
1395
- field_name: ("ResourceGuid" | "ResourceId" | "AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "FindingsSummary.ProductName" | "ResourceSubCategory" | "DiscoveryType" | "ResourceInfo.AIDetails.HostResourceGuid" | "ResourceInfo.AIDetails.HostResourceType" | "ResourceInfo.AIDetails.CanonicalId")?,
1396
- filter: {
1397
- value: ::String?,
1398
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
1399
- }?
1400
- }
1401
- ]?,
1402
- date_filters: Array[
1403
- Params::resources_date_filter
1404
- ]?,
1405
- number_filters: Array[
1406
- Params::resources_number_filter
1407
- ]?,
1408
- map_filters: Array[
1409
- Params::resources_map_filter
1410
- ]?,
1411
- nested_composite_filters: Array[
1412
- {
1413
- string_filters: Array[
1414
- {
1415
- field_name: ("ResourceGuid" | "ResourceId" | "AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "FindingsSummary.ProductName" | "ResourceSubCategory" | "DiscoveryType" | "ResourceInfo.AIDetails.HostResourceGuid" | "ResourceInfo.AIDetails.HostResourceType" | "ResourceInfo.AIDetails.CanonicalId")?,
1416
- filter: {
1417
- value: ::String?,
1418
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
1419
- }?
1420
- }
1421
- ]?,
1422
- date_filters: Array[
1423
- Params::resources_date_filter
1424
- ]?,
1425
- number_filters: Array[
1426
- Params::resources_number_filter
1427
- ]?,
1428
- map_filters: Array[
1429
- Params::resources_map_filter
1430
- ]?,
1431
- nested_composite_filters: untyped?,
1432
- operator: ("AND" | "OR")?
1433
- }
1434
- ]?,
1435
- operator: ("AND" | "OR")?
1436
- }
1437
-
1438
- type resources_date_filter = {
1439
- field_name: ("ResourceDetailCaptureTime" | "ResourceCreationTime")?,
1440
- filter: Params::date_filter?
1441
- }
1442
-
1443
- type resources_number_filter = {
1444
- field_name: ("FindingsSummary.TotalFindings" | "FindingsSummary.Severities.Other" | "FindingsSummary.Severities.Fatal" | "FindingsSummary.Severities.Critical" | "FindingsSummary.Severities.High" | "FindingsSummary.Severities.Medium" | "FindingsSummary.Severities.Low" | "FindingsSummary.Severities.Informational" | "FindingsSummary.Severities.Unknown" | "ResourceInfo.AIDetails.SelfHostedAIModelResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIAgentResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIModelServingResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIExternalEndpointResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIDevelopmentResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIAgentFrameworkResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIAgentToolsAndIdentityResourceCount" | "ResourceInfo.AIDetails.SelfHostedTotalAIResourceCount")?,
1445
- filter: {
1446
- gte: ::Float?,
1447
- lte: ::Float?,
1448
- eq: ::Float?,
1449
- gt: ::Float?,
1450
- lt: ::Float?
1451
- }?
1452
- }
1453
-
1454
- type resources_map_filter = {
1455
- field_name: ("ResourceTags")?,
1456
- filter: {
1457
- key: ::String?,
1458
- value: ::String?,
1459
- comparison: ("EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS")?
1460
- }?
1461
- }
1462
-
1463
1467
  type resources_trends_composite_filter = {
1464
1468
  string_filters: Array[
1465
1469
  {