aws-sdk-securityhub 1.165.0 → 1.167.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 +922 -1
- data/lib/aws-sdk-securityhub/client_api.rb +420 -0
- data/lib/aws-sdk-securityhub/types.rb +1457 -101
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +125 -0
- data/sig/types.rbs +322 -0
- metadata +1 -1
data/lib/aws-sdk-securityhub.rb
CHANGED
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
|
|
@@ -4954,6 +4985,36 @@ module Aws
|
|
|
4954
4985
|
) -> _GetRecommendedPolicyV2ResponseSuccess
|
|
4955
4986
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecommendedPolicyV2ResponseSuccess
|
|
4956
4987
|
|
|
4988
|
+
interface _GetRemediationsV2ResponseSuccess
|
|
4989
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetRemediationsV2Response]
|
|
4990
|
+
def items: () -> ::Array[Types::RemediationV2Item]
|
|
4991
|
+
def next_token: () -> ::String
|
|
4992
|
+
end
|
|
4993
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#get_remediations_v2-instance_method
|
|
4994
|
+
def get_remediations_v2: (
|
|
4995
|
+
?target_uid: ::String,
|
|
4996
|
+
?metadata_uid: ::String,
|
|
4997
|
+
?filters: {
|
|
4998
|
+
composite_filters: Array[
|
|
4999
|
+
{
|
|
5000
|
+
string_filters: Array[
|
|
5001
|
+
{
|
|
5002
|
+
field_name: ("Resource.Type" | "Priority" | "Status" | "Resource.Id" | "Resource.ResourceOwnerAccountId" | "Resource.CloudProvider"),
|
|
5003
|
+
filter: {
|
|
5004
|
+
value: ::String
|
|
5005
|
+
}
|
|
5006
|
+
}
|
|
5007
|
+
]?
|
|
5008
|
+
}
|
|
5009
|
+
]?
|
|
5010
|
+
},
|
|
5011
|
+
?show_guidance: bool,
|
|
5012
|
+
?guidance_format: ("All" | "AwsCli" | "Cli" | "Python" | "Terraform" | "Cdk" | "CloudFormation" | "IaC" | "Template"),
|
|
5013
|
+
?max_results: ::Integer,
|
|
5014
|
+
?next_token: ::String
|
|
5015
|
+
) -> _GetRemediationsV2ResponseSuccess
|
|
5016
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRemediationsV2ResponseSuccess
|
|
5017
|
+
|
|
4957
5018
|
interface _GetResourcesStatisticsV2ResponseSuccess
|
|
4958
5019
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcesStatisticsV2Response]
|
|
4959
5020
|
def group_by_results: () -> ::Array[Types::GroupByResult]
|
|
@@ -5154,6 +5215,37 @@ module Aws
|
|
|
5154
5215
|
) -> _ListEnabledProductsForImportResponseSuccess
|
|
5155
5216
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEnabledProductsForImportResponseSuccess
|
|
5156
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
|
+
|
|
5232
|
+
interface _ListExposuresByRemediationV2ResponseSuccess
|
|
5233
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListExposuresByRemediationV2Response]
|
|
5234
|
+
def items: () -> ::Array[Types::ExposureFinding]
|
|
5235
|
+
def target_uid: () -> ::String
|
|
5236
|
+
def resource: () -> Types::RemediationResource
|
|
5237
|
+
def total_count: () -> ::Integer
|
|
5238
|
+
def trait: () -> Types::RemediationTrait
|
|
5239
|
+
def next_token: () -> ::String
|
|
5240
|
+
end
|
|
5241
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#list_exposures_by_remediation_v2-instance_method
|
|
5242
|
+
def list_exposures_by_remediation_v2: (
|
|
5243
|
+
target_uid: ::String,
|
|
5244
|
+
?max_results: ::Integer,
|
|
5245
|
+
?next_token: ::String
|
|
5246
|
+
) -> _ListExposuresByRemediationV2ResponseSuccess
|
|
5247
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExposuresByRemediationV2ResponseSuccess
|
|
5248
|
+
|
|
5157
5249
|
interface _ListFindingAggregatorsResponseSuccess
|
|
5158
5250
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListFindingAggregatorsResponse]
|
|
5159
5251
|
def finding_aggregators: () -> ::Array[Types::FindingAggregator]
|
|
@@ -5303,6 +5395,39 @@ module Aws
|
|
|
5303
5395
|
) -> _StartConfigurationPolicyDisassociationResponseSuccess
|
|
5304
5396
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartConfigurationPolicyDisassociationResponseSuccess
|
|
5305
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
|
+
|
|
5306
5431
|
interface _TagResourceResponseSuccess
|
|
5307
5432
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
|
5308
5433
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -4917,6 +4917,17 @@ module Aws::SecurityHub
|
|
|
4917
4917
|
SENSITIVE: []
|
|
4918
4918
|
end
|
|
4919
4919
|
|
|
4920
|
+
class CancelExportJobV2Request
|
|
4921
|
+
attr_accessor export_job_id: ::String
|
|
4922
|
+
SENSITIVE: []
|
|
4923
|
+
end
|
|
4924
|
+
|
|
4925
|
+
class CancelExportJobV2Response
|
|
4926
|
+
attr_accessor export_job_id: ::String
|
|
4927
|
+
attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED")
|
|
4928
|
+
SENSITIVE: []
|
|
4929
|
+
end
|
|
4930
|
+
|
|
4920
4931
|
class Cell
|
|
4921
4932
|
attr_accessor column: ::Integer
|
|
4922
4933
|
attr_accessor row: ::Integer
|
|
@@ -5711,6 +5722,68 @@ module Aws::SecurityHub
|
|
|
5711
5722
|
SENSITIVE: []
|
|
5712
5723
|
end
|
|
5713
5724
|
|
|
5725
|
+
class ExportDestination
|
|
5726
|
+
attr_accessor s3: Types::S3ExportDestination
|
|
5727
|
+
attr_accessor unknown: untyped
|
|
5728
|
+
SENSITIVE: []
|
|
5729
|
+
|
|
5730
|
+
class S3 < ExportDestination
|
|
5731
|
+
end
|
|
5732
|
+
class Unknown < ExportDestination
|
|
5733
|
+
end
|
|
5734
|
+
end
|
|
5735
|
+
|
|
5736
|
+
class ExportOutput
|
|
5737
|
+
attr_accessor findings: Types::FindingsOutput
|
|
5738
|
+
attr_accessor unknown: untyped
|
|
5739
|
+
SENSITIVE: []
|
|
5740
|
+
|
|
5741
|
+
class Findings < ExportOutput
|
|
5742
|
+
end
|
|
5743
|
+
class Unknown < ExportOutput
|
|
5744
|
+
end
|
|
5745
|
+
end
|
|
5746
|
+
|
|
5747
|
+
class ExportOutputSummary
|
|
5748
|
+
attr_accessor findings: Types::FindingsOutputSummary
|
|
5749
|
+
attr_accessor unknown: untyped
|
|
5750
|
+
SENSITIVE: []
|
|
5751
|
+
|
|
5752
|
+
class Findings < ExportOutputSummary
|
|
5753
|
+
end
|
|
5754
|
+
class Unknown < ExportOutputSummary
|
|
5755
|
+
end
|
|
5756
|
+
end
|
|
5757
|
+
|
|
5758
|
+
class ExportScopes
|
|
5759
|
+
attr_accessor aws_organizations: ::Array[Types::AwsOrganizationScope]
|
|
5760
|
+
SENSITIVE: []
|
|
5761
|
+
end
|
|
5762
|
+
|
|
5763
|
+
class ExportSummary
|
|
5764
|
+
attr_accessor export_job_id: ::String
|
|
5765
|
+
attr_accessor name: ::String
|
|
5766
|
+
attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED")
|
|
5767
|
+
attr_accessor data_type: ("FINDINGS")
|
|
5768
|
+
attr_accessor output_configuration: Types::ExportOutputSummary
|
|
5769
|
+
attr_accessor scopes: Types::ExportScopes
|
|
5770
|
+
attr_accessor destination: Types::ExportDestination
|
|
5771
|
+
attr_accessor failure_code: ("ACCESS_DENIED" | "RESOURCE_NOT_FOUND" | "INTERNAL_ERROR")
|
|
5772
|
+
attr_accessor failure_message: ::String
|
|
5773
|
+
attr_accessor started_at: ::Time
|
|
5774
|
+
attr_accessor ended_at: ::Time
|
|
5775
|
+
SENSITIVE: []
|
|
5776
|
+
end
|
|
5777
|
+
|
|
5778
|
+
class ExposureFinding
|
|
5779
|
+
attr_accessor metadata_uid: ::String
|
|
5780
|
+
attr_accessor title: ::String
|
|
5781
|
+
attr_accessor previous_severity: ("Informational" | "Low" | "Medium" | "High" | "Critical")
|
|
5782
|
+
attr_accessor projected_severity: ("Informational" | "Low" | "Medium" | "High" | "Critical")
|
|
5783
|
+
attr_accessor impact: ("Reduces" | "Resolves" | "Unchanged")
|
|
5784
|
+
SENSITIVE: []
|
|
5785
|
+
end
|
|
5786
|
+
|
|
5714
5787
|
class ExternalIntegrationConfiguration
|
|
5715
5788
|
attr_accessor connector_arn: ::String
|
|
5716
5789
|
SENSITIVE: []
|
|
@@ -5778,6 +5851,18 @@ module Aws::SecurityHub
|
|
|
5778
5851
|
SENSITIVE: []
|
|
5779
5852
|
end
|
|
5780
5853
|
|
|
5854
|
+
class FindingsOutput
|
|
5855
|
+
attr_accessor format: ("CSV" | "OCSF_JSON")
|
|
5856
|
+
attr_accessor filters: Types::OcsfFindingFilters
|
|
5857
|
+
attr_accessor 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")]
|
|
5858
|
+
SENSITIVE: []
|
|
5859
|
+
end
|
|
5860
|
+
|
|
5861
|
+
class FindingsOutputSummary
|
|
5862
|
+
attr_accessor format: ("CSV" | "OCSF_JSON")
|
|
5863
|
+
SENSITIVE: []
|
|
5864
|
+
end
|
|
5865
|
+
|
|
5781
5866
|
class FindingsTrendsCompositeFilter
|
|
5782
5867
|
attr_accessor string_filters: ::Array[Types::FindingsTrendsStringFilter]
|
|
5783
5868
|
attr_accessor nested_composite_filters: ::Array[Types::FindingsTrendsCompositeFilter]
|
|
@@ -5977,6 +6062,26 @@ module Aws::SecurityHub
|
|
|
5977
6062
|
SENSITIVE: []
|
|
5978
6063
|
end
|
|
5979
6064
|
|
|
6065
|
+
class GetExportJobV2Request
|
|
6066
|
+
attr_accessor export_job_id: ::String
|
|
6067
|
+
SENSITIVE: []
|
|
6068
|
+
end
|
|
6069
|
+
|
|
6070
|
+
class GetExportJobV2Response
|
|
6071
|
+
attr_accessor export_job_id: ::String
|
|
6072
|
+
attr_accessor name: ::String
|
|
6073
|
+
attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED")
|
|
6074
|
+
attr_accessor data_type: ("FINDINGS")
|
|
6075
|
+
attr_accessor output_configuration: Types::ExportOutput
|
|
6076
|
+
attr_accessor scopes: Types::ExportScopes
|
|
6077
|
+
attr_accessor destination: Types::ExportDestination
|
|
6078
|
+
attr_accessor failure_code: ("ACCESS_DENIED" | "RESOURCE_NOT_FOUND" | "INTERNAL_ERROR")
|
|
6079
|
+
attr_accessor failure_message: ::String
|
|
6080
|
+
attr_accessor started_at: ::Time
|
|
6081
|
+
attr_accessor ended_at: ::Time
|
|
6082
|
+
SENSITIVE: []
|
|
6083
|
+
end
|
|
6084
|
+
|
|
5980
6085
|
class GetFindingAggregatorRequest
|
|
5981
6086
|
attr_accessor finding_aggregator_arn: ::String
|
|
5982
6087
|
SENSITIVE: []
|
|
@@ -6130,6 +6235,23 @@ module Aws::SecurityHub
|
|
|
6130
6235
|
SENSITIVE: []
|
|
6131
6236
|
end
|
|
6132
6237
|
|
|
6238
|
+
class GetRemediationsV2Request
|
|
6239
|
+
attr_accessor target_uid: ::String
|
|
6240
|
+
attr_accessor metadata_uid: ::String
|
|
6241
|
+
attr_accessor filters: Types::RemediationFilters
|
|
6242
|
+
attr_accessor show_guidance: bool
|
|
6243
|
+
attr_accessor guidance_format: ("All" | "AwsCli" | "Cli" | "Python" | "Terraform" | "Cdk" | "CloudFormation" | "IaC" | "Template")
|
|
6244
|
+
attr_accessor max_results: ::Integer
|
|
6245
|
+
attr_accessor next_token: ::String
|
|
6246
|
+
SENSITIVE: []
|
|
6247
|
+
end
|
|
6248
|
+
|
|
6249
|
+
class GetRemediationsV2Response
|
|
6250
|
+
attr_accessor items: ::Array[Types::RemediationV2Item]
|
|
6251
|
+
attr_accessor next_token: ::String
|
|
6252
|
+
SENSITIVE: []
|
|
6253
|
+
end
|
|
6254
|
+
|
|
6133
6255
|
class GetResourcesStatisticsV2Request
|
|
6134
6256
|
attr_accessor group_by_rules: ::Array[Types::ResourceGroupByRule]
|
|
6135
6257
|
attr_accessor scopes: Types::ResourceScopes
|
|
@@ -6354,6 +6476,12 @@ module Aws::SecurityHub
|
|
|
6354
6476
|
SENSITIVE: []
|
|
6355
6477
|
end
|
|
6356
6478
|
|
|
6479
|
+
class KbArticle
|
|
6480
|
+
attr_accessor title: ::String
|
|
6481
|
+
attr_accessor url: ::String
|
|
6482
|
+
SENSITIVE: []
|
|
6483
|
+
end
|
|
6484
|
+
|
|
6357
6485
|
class KeywordFilter
|
|
6358
6486
|
attr_accessor value: ::String
|
|
6359
6487
|
SENSITIVE: []
|
|
@@ -6468,6 +6596,37 @@ module Aws::SecurityHub
|
|
|
6468
6596
|
SENSITIVE: []
|
|
6469
6597
|
end
|
|
6470
6598
|
|
|
6599
|
+
class ListExportJobsV2Request
|
|
6600
|
+
attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED")
|
|
6601
|
+
attr_accessor data_type: ("FINDINGS")
|
|
6602
|
+
attr_accessor max_results: ::Integer
|
|
6603
|
+
attr_accessor next_token: ::String
|
|
6604
|
+
SENSITIVE: []
|
|
6605
|
+
end
|
|
6606
|
+
|
|
6607
|
+
class ListExportJobsV2Response
|
|
6608
|
+
attr_accessor items: ::Array[Types::ExportSummary]
|
|
6609
|
+
attr_accessor next_token: ::String
|
|
6610
|
+
SENSITIVE: []
|
|
6611
|
+
end
|
|
6612
|
+
|
|
6613
|
+
class ListExposuresByRemediationV2Request
|
|
6614
|
+
attr_accessor target_uid: ::String
|
|
6615
|
+
attr_accessor max_results: ::Integer
|
|
6616
|
+
attr_accessor next_token: ::String
|
|
6617
|
+
SENSITIVE: []
|
|
6618
|
+
end
|
|
6619
|
+
|
|
6620
|
+
class ListExposuresByRemediationV2Response
|
|
6621
|
+
attr_accessor items: ::Array[Types::ExposureFinding]
|
|
6622
|
+
attr_accessor target_uid: ::String
|
|
6623
|
+
attr_accessor resource: Types::RemediationResource
|
|
6624
|
+
attr_accessor total_count: ::Integer
|
|
6625
|
+
attr_accessor trait: Types::RemediationTrait
|
|
6626
|
+
attr_accessor next_token: ::String
|
|
6627
|
+
SENSITIVE: []
|
|
6628
|
+
end
|
|
6629
|
+
|
|
6471
6630
|
class ListFindingAggregatorsRequest
|
|
6472
6631
|
attr_accessor next_token: ::String
|
|
6473
6632
|
attr_accessor max_results: ::Integer
|
|
@@ -7037,6 +7196,148 @@ module Aws::SecurityHub
|
|
|
7037
7196
|
SENSITIVE: []
|
|
7038
7197
|
end
|
|
7039
7198
|
|
|
7199
|
+
class RemediationCompositeFilter
|
|
7200
|
+
attr_accessor string_filters: ::Array[Types::RemediationStringFilter]
|
|
7201
|
+
SENSITIVE: []
|
|
7202
|
+
end
|
|
7203
|
+
|
|
7204
|
+
class RemediationFilters
|
|
7205
|
+
attr_accessor composite_filters: ::Array[Types::RemediationCompositeFilter]
|
|
7206
|
+
SENSITIVE: []
|
|
7207
|
+
end
|
|
7208
|
+
|
|
7209
|
+
class RemediationGuidance
|
|
7210
|
+
attr_accessor target_type_name: ::String
|
|
7211
|
+
attr_accessor pattern: ::String
|
|
7212
|
+
attr_accessor version: ::String
|
|
7213
|
+
attr_accessor context: Types::RemediationGuidanceContext
|
|
7214
|
+
attr_accessor specification: Types::RemediationGuidanceSpecification
|
|
7215
|
+
attr_accessor examples: Types::RemediationGuidanceExamples
|
|
7216
|
+
attr_accessor metadata: Types::RemediationGuidanceMetadata
|
|
7217
|
+
SENSITIVE: []
|
|
7218
|
+
end
|
|
7219
|
+
|
|
7220
|
+
class RemediationGuidanceContext
|
|
7221
|
+
attr_accessor problem_statement: ::String
|
|
7222
|
+
attr_accessor risk_assessment: ::String
|
|
7223
|
+
attr_accessor affected_scope: ::String
|
|
7224
|
+
attr_accessor prerequisites: ::Array[::String]
|
|
7225
|
+
SENSITIVE: []
|
|
7226
|
+
end
|
|
7227
|
+
|
|
7228
|
+
class RemediationGuidanceExamples
|
|
7229
|
+
attr_accessor aws_cli: ::String
|
|
7230
|
+
attr_accessor cli: ::String
|
|
7231
|
+
attr_accessor python: ::String
|
|
7232
|
+
attr_accessor terraform: ::String
|
|
7233
|
+
attr_accessor cdk: ::String
|
|
7234
|
+
attr_accessor cloud_formation: ::String
|
|
7235
|
+
attr_accessor ia_c: ::String
|
|
7236
|
+
attr_accessor template: ::String
|
|
7237
|
+
SENSITIVE: []
|
|
7238
|
+
end
|
|
7239
|
+
|
|
7240
|
+
class RemediationGuidanceMetadata
|
|
7241
|
+
attr_accessor resource_type: ::String
|
|
7242
|
+
attr_accessor exposure_type: ::String
|
|
7243
|
+
attr_accessor trait_titles: ::Array[::String]
|
|
7244
|
+
attr_accessor reversibility: ::String
|
|
7245
|
+
attr_accessor fix_effect: ::String
|
|
7246
|
+
attr_accessor risk_level: ::String
|
|
7247
|
+
attr_accessor automation_level: ::String
|
|
7248
|
+
attr_accessor human_review_required: bool
|
|
7249
|
+
attr_accessor generated_at: ::Time
|
|
7250
|
+
attr_accessor verification_status: ::String
|
|
7251
|
+
SENSITIVE: []
|
|
7252
|
+
end
|
|
7253
|
+
|
|
7254
|
+
class RemediationGuidanceSpecification
|
|
7255
|
+
attr_accessor parameters: ::Array[Types::RemediationParameter]
|
|
7256
|
+
attr_accessor steps: ::Array[Types::RemediationStep]
|
|
7257
|
+
attr_accessor expected_end_state: ::String
|
|
7258
|
+
attr_accessor required_permissions: ::Array[::String]
|
|
7259
|
+
SENSITIVE: []
|
|
7260
|
+
end
|
|
7261
|
+
|
|
7262
|
+
class RemediationOutcome
|
|
7263
|
+
attr_accessor resolved_findings_count: ::Integer
|
|
7264
|
+
attr_accessor severity_reduction_findings_count: ::Integer
|
|
7265
|
+
attr_accessor severity_unchanged_count: ::Integer
|
|
7266
|
+
SENSITIVE: []
|
|
7267
|
+
end
|
|
7268
|
+
|
|
7269
|
+
class RemediationParameter
|
|
7270
|
+
attr_accessor name: ::String
|
|
7271
|
+
attr_accessor type: ::String
|
|
7272
|
+
attr_accessor description: ::String
|
|
7273
|
+
attr_accessor required: bool
|
|
7274
|
+
SENSITIVE: []
|
|
7275
|
+
end
|
|
7276
|
+
|
|
7277
|
+
class RemediationResource
|
|
7278
|
+
attr_accessor account_id: ::String
|
|
7279
|
+
attr_accessor region: ::String
|
|
7280
|
+
attr_accessor resource_owner_account_id: ::String
|
|
7281
|
+
attr_accessor resource_owner_org_id: ::String
|
|
7282
|
+
attr_accessor type: ::String
|
|
7283
|
+
attr_accessor name: ::String
|
|
7284
|
+
attr_accessor id: ::String
|
|
7285
|
+
attr_accessor resource_guid: ::String
|
|
7286
|
+
attr_accessor resource_region: ::String
|
|
7287
|
+
attr_accessor cloud_provider: ("Azure" | "AWS")
|
|
7288
|
+
SENSITIVE: []
|
|
7289
|
+
end
|
|
7290
|
+
|
|
7291
|
+
class RemediationStep
|
|
7292
|
+
attr_accessor phase: ::String
|
|
7293
|
+
attr_accessor description: ::String
|
|
7294
|
+
attr_accessor service: ::String
|
|
7295
|
+
attr_accessor action: ::String
|
|
7296
|
+
attr_accessor logic: ::String
|
|
7297
|
+
attr_accessor inverse: ::String
|
|
7298
|
+
attr_accessor verify_after: ::String
|
|
7299
|
+
SENSITIVE: []
|
|
7300
|
+
end
|
|
7301
|
+
|
|
7302
|
+
class RemediationStringFilter
|
|
7303
|
+
attr_accessor field_name: ("Resource.Type" | "Priority" | "Status" | "Resource.Id" | "Resource.ResourceOwnerAccountId" | "Resource.CloudProvider")
|
|
7304
|
+
attr_accessor filter: Types::RemediationStringFilterCondition
|
|
7305
|
+
SENSITIVE: []
|
|
7306
|
+
end
|
|
7307
|
+
|
|
7308
|
+
class RemediationStringFilterCondition
|
|
7309
|
+
attr_accessor value: ::String
|
|
7310
|
+
SENSITIVE: []
|
|
7311
|
+
end
|
|
7312
|
+
|
|
7313
|
+
class RemediationSummaryDetail
|
|
7314
|
+
attr_accessor action: ::String
|
|
7315
|
+
attr_accessor description: ::String
|
|
7316
|
+
attr_accessor is_immediate: bool
|
|
7317
|
+
attr_accessor post_remediation_steps: ::Array[::String]
|
|
7318
|
+
attr_accessor kb_articles: ::Array[Types::KbArticle]
|
|
7319
|
+
SENSITIVE: []
|
|
7320
|
+
end
|
|
7321
|
+
|
|
7322
|
+
class RemediationTrait
|
|
7323
|
+
attr_accessor type: ::String
|
|
7324
|
+
attr_accessor title: ::String
|
|
7325
|
+
SENSITIVE: []
|
|
7326
|
+
end
|
|
7327
|
+
|
|
7328
|
+
class RemediationV2Item
|
|
7329
|
+
attr_accessor target_uid: ::String
|
|
7330
|
+
attr_accessor outcome: Types::RemediationOutcome
|
|
7331
|
+
attr_accessor priority: ("Critical" | "High" | "Medium" | "Low")
|
|
7332
|
+
attr_accessor remediation_summary: Types::RemediationSummaryDetail
|
|
7333
|
+
attr_accessor resource: Types::RemediationResource
|
|
7334
|
+
attr_accessor status: ("New" | "Updated" | "Resolved")
|
|
7335
|
+
attr_accessor trait: Types::RemediationTrait
|
|
7336
|
+
attr_accessor guidance: Types::RemediationGuidance
|
|
7337
|
+
attr_accessor updated_at: ::Time
|
|
7338
|
+
SENSITIVE: []
|
|
7339
|
+
end
|
|
7340
|
+
|
|
7040
7341
|
class Resource
|
|
7041
7342
|
attr_accessor type: ::String
|
|
7042
7343
|
attr_accessor id: ::String
|
|
@@ -7482,6 +7783,13 @@ module Aws::SecurityHub
|
|
|
7482
7783
|
SENSITIVE: []
|
|
7483
7784
|
end
|
|
7484
7785
|
|
|
7786
|
+
class S3ExportDestination
|
|
7787
|
+
attr_accessor bucket_arn: ::String
|
|
7788
|
+
attr_accessor kms_key_arn: ::String
|
|
7789
|
+
attr_accessor object_prefix: ::String
|
|
7790
|
+
SENSITIVE: []
|
|
7791
|
+
end
|
|
7792
|
+
|
|
7485
7793
|
class SecurityControl
|
|
7486
7794
|
attr_accessor security_control_id: ::String
|
|
7487
7795
|
attr_accessor security_control_arn: ::String
|
|
@@ -7769,6 +8077,20 @@ module Aws::SecurityHub
|
|
|
7769
8077
|
class StartConfigurationPolicyDisassociationResponse < Aws::EmptyStructure
|
|
7770
8078
|
end
|
|
7771
8079
|
|
|
8080
|
+
class StartExportJobV2Request
|
|
8081
|
+
attr_accessor name: ::String
|
|
8082
|
+
attr_accessor destination: Types::ExportDestination
|
|
8083
|
+
attr_accessor output_configuration: Types::ExportOutput
|
|
8084
|
+
attr_accessor scopes: Types::ExportScopes
|
|
8085
|
+
attr_accessor client_token: ::String
|
|
8086
|
+
SENSITIVE: []
|
|
8087
|
+
end
|
|
8088
|
+
|
|
8089
|
+
class StartExportJobV2Response
|
|
8090
|
+
attr_accessor export_job_id: ::String
|
|
8091
|
+
SENSITIVE: []
|
|
8092
|
+
end
|
|
8093
|
+
|
|
7772
8094
|
class StatelessCustomActionDefinition
|
|
7773
8095
|
attr_accessor publish_metric_action: Types::StatelessCustomPublishMetricAction
|
|
7774
8096
|
SENSITIVE: []
|