aws-sdk-securityhub 1.144.0 → 1.145.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +107 -53
- data/lib/aws-sdk-securityhub/client_api.rb +13 -1
- data/lib/aws-sdk-securityhub/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-securityhub/types.rb +57 -5
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +64 -26
- data/sig/types.rbs +20 -11
- metadata +1 -1
data/sig/types.rbs
CHANGED
|
@@ -4931,6 +4931,8 @@ module Aws::SecurityHub
|
|
|
4931
4931
|
attr_accessor boolean_filters: ::Array[Types::OcsfBooleanFilter]
|
|
4932
4932
|
attr_accessor number_filters: ::Array[Types::OcsfNumberFilter]
|
|
4933
4933
|
attr_accessor map_filters: ::Array[Types::OcsfMapFilter]
|
|
4934
|
+
attr_accessor ip_filters: ::Array[Types::OcsfIpFilter]
|
|
4935
|
+
attr_accessor nested_composite_filters: ::Array[Types::CompositeFilter]
|
|
4934
4936
|
attr_accessor operator: ("AND" | "OR")
|
|
4935
4937
|
SENSITIVE: []
|
|
4936
4938
|
end
|
|
@@ -5908,7 +5910,7 @@ module Aws::SecurityHub
|
|
|
5908
5910
|
|
|
5909
5911
|
class GroupByRule
|
|
5910
5912
|
attr_accessor filters: Types::OcsfFindingFilters
|
|
5911
|
-
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")
|
|
5913
|
+
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" | "vulnerabilities.affected_packages.name" | "finding_info.analytic.name" | "compliance.standards" | "cloud.account.name")
|
|
5912
5914
|
SENSITIVE: []
|
|
5913
5915
|
end
|
|
5914
5916
|
|
|
@@ -6395,7 +6397,7 @@ module Aws::SecurityHub
|
|
|
6395
6397
|
end
|
|
6396
6398
|
|
|
6397
6399
|
class OcsfDateFilter
|
|
6398
|
-
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")
|
|
6400
|
+
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" | "resources.image.created_time_dt" | "resources.image.last_used_time_dt" | "resources.modified_time_dt")
|
|
6399
6401
|
attr_accessor filter: Types::DateFilter
|
|
6400
6402
|
SENSITIVE: []
|
|
6401
6403
|
end
|
|
@@ -6413,20 +6415,26 @@ module Aws::SecurityHub
|
|
|
6413
6415
|
SENSITIVE: []
|
|
6414
6416
|
end
|
|
6415
6417
|
|
|
6418
|
+
class OcsfIpFilter
|
|
6419
|
+
attr_accessor field_name: ("evidences.dst_endpoint.ip" | "evidences.src_endpoint.ip")
|
|
6420
|
+
attr_accessor filter: Types::IpFilter
|
|
6421
|
+
SENSITIVE: []
|
|
6422
|
+
end
|
|
6423
|
+
|
|
6416
6424
|
class OcsfMapFilter
|
|
6417
|
-
attr_accessor field_name: ("resources.tags")
|
|
6425
|
+
attr_accessor field_name: ("resources.tags" | "compliance.control_parameters" | "databucket.tags" | "finding_info.tags")
|
|
6418
6426
|
attr_accessor filter: Types::MapFilter
|
|
6419
6427
|
SENSITIVE: []
|
|
6420
6428
|
end
|
|
6421
6429
|
|
|
6422
6430
|
class OcsfNumberFilter
|
|
6423
|
-
attr_accessor field_name: ("activity_id" | "compliance.status_id" | "confidence_score" | "severity_id" | "status_id" | "finding_info.related_events_count")
|
|
6431
|
+
attr_accessor field_name: ("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")
|
|
6424
6432
|
attr_accessor filter: Types::NumberFilter
|
|
6425
6433
|
SENSITIVE: []
|
|
6426
6434
|
end
|
|
6427
6435
|
|
|
6428
6436
|
class OcsfStringFilter
|
|
6429
|
-
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")
|
|
6437
|
+
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" | "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")
|
|
6430
6438
|
attr_accessor filter: Types::StringFilter
|
|
6431
6439
|
SENSITIVE: []
|
|
6432
6440
|
end
|
|
@@ -6787,7 +6795,7 @@ module Aws::SecurityHub
|
|
|
6787
6795
|
end
|
|
6788
6796
|
|
|
6789
6797
|
class ResourceGroupByRule
|
|
6790
|
-
attr_accessor group_by_field: ("
|
|
6798
|
+
attr_accessor group_by_field: ("AccountId" | "Region" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType")
|
|
6791
6799
|
attr_accessor filters: Types::ResourcesFilters
|
|
6792
6800
|
SENSITIVE: []
|
|
6793
6801
|
end
|
|
@@ -6805,7 +6813,7 @@ module Aws::SecurityHub
|
|
|
6805
6813
|
end
|
|
6806
6814
|
|
|
6807
6815
|
class ResourceResult
|
|
6808
|
-
attr_accessor
|
|
6816
|
+
attr_accessor resource_guid: ::String
|
|
6809
6817
|
attr_accessor resource_id: ::String
|
|
6810
6818
|
attr_accessor account_id: ::String
|
|
6811
6819
|
attr_accessor region: ::String
|
|
@@ -6843,12 +6851,13 @@ module Aws::SecurityHub
|
|
|
6843
6851
|
attr_accessor date_filters: ::Array[Types::ResourcesDateFilter]
|
|
6844
6852
|
attr_accessor number_filters: ::Array[Types::ResourcesNumberFilter]
|
|
6845
6853
|
attr_accessor map_filters: ::Array[Types::ResourcesMapFilter]
|
|
6854
|
+
attr_accessor nested_composite_filters: ::Array[Types::ResourcesCompositeFilter]
|
|
6846
6855
|
attr_accessor operator: ("AND" | "OR")
|
|
6847
6856
|
SENSITIVE: []
|
|
6848
6857
|
end
|
|
6849
6858
|
|
|
6850
6859
|
class ResourcesDateFilter
|
|
6851
|
-
attr_accessor field_name: ("
|
|
6860
|
+
attr_accessor field_name: ("ResourceDetailCaptureTime" | "ResourceCreationTime")
|
|
6852
6861
|
attr_accessor filter: Types::DateFilter
|
|
6853
6862
|
SENSITIVE: []
|
|
6854
6863
|
end
|
|
@@ -6860,19 +6869,19 @@ module Aws::SecurityHub
|
|
|
6860
6869
|
end
|
|
6861
6870
|
|
|
6862
6871
|
class ResourcesMapFilter
|
|
6863
|
-
attr_accessor field_name: ("
|
|
6872
|
+
attr_accessor field_name: ("ResourceTags")
|
|
6864
6873
|
attr_accessor filter: Types::MapFilter
|
|
6865
6874
|
SENSITIVE: []
|
|
6866
6875
|
end
|
|
6867
6876
|
|
|
6868
6877
|
class ResourcesNumberFilter
|
|
6869
|
-
attr_accessor field_name: ("
|
|
6878
|
+
attr_accessor 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")
|
|
6870
6879
|
attr_accessor filter: Types::NumberFilter
|
|
6871
6880
|
SENSITIVE: []
|
|
6872
6881
|
end
|
|
6873
6882
|
|
|
6874
6883
|
class ResourcesStringFilter
|
|
6875
|
-
attr_accessor field_name: ("
|
|
6884
|
+
attr_accessor field_name: ("ResourceGuid" | "ResourceId" | "AccountId" | "Region" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "FindingsSummary.ProductName")
|
|
6876
6885
|
attr_accessor filter: Types::StringFilter
|
|
6877
6886
|
SENSITIVE: []
|
|
6878
6887
|
end
|