aws-sdk-securityhub 1.160.0 → 1.162.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 +172 -11
- data/lib/aws-sdk-securityhub/client_api.rb +23 -0
- data/lib/aws-sdk-securityhub/types.rb +145 -5
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +1 -1
- data/sig/params.rbs +3 -3
- data/sig/types.rbs +26 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7db3daf164d9acc922544a6f4532f49988e8017f24aafa6978fcb64f6ac7255c
|
|
4
|
+
data.tar.gz: f20348a3950609218236b7762e90cd972b6d98616c4d762e7ef1c9df58582f1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 266cd996a99ab52093d475aefdac4d6a93d95b6838b458a333ad91f7b3133452543051ca51c46fecacf8ac980275b4c60363ad0d61159e8fcffc7c143a298a10
|
|
7
|
+
data.tar.gz: 7cfb56e0db0a403948246940731e5eefe74d05e91bee79b6abb6725efb2b21652dff2185fffaba1fdc9faadeba047fc909e7e35d183f34a7007b8febf841b43e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.162.0 (2026-07-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Security Hub standard and control multicloud API documentation updates
|
|
8
|
+
|
|
9
|
+
1.161.0 (2026-07-14)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - AWS Security Hub now provides an AI inventory, giving central security teams a continuously updated, organization-wide view of AI assets and their security posture
|
|
13
|
+
|
|
4
14
|
1.160.0 (2026-07-09)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.162.0
|
|
@@ -675,7 +675,9 @@ module Aws::SecurityHub
|
|
|
675
675
|
# {
|
|
676
676
|
# standards_subscriptions: [
|
|
677
677
|
# {
|
|
678
|
+
# provider: "AWS",
|
|
678
679
|
# standards_arn: "arn:aws:securityhub:eu-central-1::standards/pci-dss/v/3.2.1",
|
|
680
|
+
# standards_controls_updatable: "NOT_READY_FOR_UPDATES",
|
|
679
681
|
# standards_input: {
|
|
680
682
|
# },
|
|
681
683
|
# standards_status: "DELETING",
|
|
@@ -746,7 +748,9 @@ module Aws::SecurityHub
|
|
|
746
748
|
# {
|
|
747
749
|
# standards_subscriptions: [
|
|
748
750
|
# {
|
|
751
|
+
# provider: "AWS",
|
|
749
752
|
# standards_arn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1",
|
|
753
|
+
# standards_controls_updatable: "NOT_READY_FOR_UPDATES",
|
|
750
754
|
# standards_input: {
|
|
751
755
|
# },
|
|
752
756
|
# standards_status: "PENDING",
|
|
@@ -1232,6 +1236,7 @@ module Aws::SecurityHub
|
|
|
1232
1236
|
# value_type: "DEFAULT",
|
|
1233
1237
|
# },
|
|
1234
1238
|
# },
|
|
1239
|
+
# provider: "AWS",
|
|
1235
1240
|
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/ACM.1/remediation",
|
|
1236
1241
|
# security_control_arn: "arn:aws:securityhub:us-west-2:123456789012:security-control/ACM.1",
|
|
1237
1242
|
# security_control_id: "ACM.1",
|
|
@@ -1251,6 +1256,7 @@ module Aws::SecurityHub
|
|
|
1251
1256
|
# value_type: "CUSTOM",
|
|
1252
1257
|
# },
|
|
1253
1258
|
# },
|
|
1259
|
+
# provider: "AWS",
|
|
1254
1260
|
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/APIGateway.1/remediation",
|
|
1255
1261
|
# security_control_arn: "arn:aws:securityhub:us-west-2:123456789012:security-control/APIGateway.1",
|
|
1256
1262
|
# security_control_id: "APIGateway.1",
|
|
@@ -3260,11 +3266,10 @@ module Aws::SecurityHub
|
|
|
3260
3266
|
req.send_request(options)
|
|
3261
3267
|
end
|
|
3262
3268
|
|
|
3263
|
-
# Creates a
|
|
3264
|
-
#
|
|
3265
|
-
#
|
|
3266
|
-
#
|
|
3267
|
-
# connected environment.
|
|
3269
|
+
# Creates a connector to a third-party cloud provider in Security Hub
|
|
3270
|
+
# CSPM. A connector establishes a connection between Security Hub CSPM
|
|
3271
|
+
# and a third-party cloud provider, enabling Security Hub CSPM to ingest
|
|
3272
|
+
# security findings and resource data from the connected environment.
|
|
3268
3273
|
#
|
|
3269
3274
|
# @option params [required, String] :name
|
|
3270
3275
|
# The name of the connector. Must be unique within the account.
|
|
@@ -5372,25 +5377,83 @@ module Aws::SecurityHub
|
|
|
5372
5377
|
# description: "The AWS Foundational Security Best Practices standard is a set of automated security checks that detect when AWS accounts and deployed resources do not align to security best practices. The standard is defined by AWS security experts. This curated set of controls helps improve your security posture in AWS, and cover AWS's most popular and foundational services.",
|
|
5373
5378
|
# enabled_by_default: true,
|
|
5374
5379
|
# name: "AWS Foundational Security Best Practices v1.0.0",
|
|
5380
|
+
# provider: "AWS",
|
|
5375
5381
|
# standards_arn: "arn:aws:securityhub:us-west-1::standards/aws-foundational-security-best-practices/v/1.0.0",
|
|
5382
|
+
# standards_managed_by: {
|
|
5383
|
+
# company: "AWS",
|
|
5384
|
+
# product: "Security Hub",
|
|
5385
|
+
# },
|
|
5376
5386
|
# },
|
|
5377
5387
|
# {
|
|
5378
5388
|
# description: "The Center for Internet Security (CIS) AWS Foundations Benchmark v1.2.0 is a set of security configuration best practices for AWS. This Security Hub standard automatically checks for your compliance readiness against a subset of CIS requirements.",
|
|
5379
5389
|
# enabled_by_default: true,
|
|
5380
5390
|
# name: "CIS AWS Foundations Benchmark v1.2.0",
|
|
5391
|
+
# provider: "AWS",
|
|
5381
5392
|
# standards_arn: "arn:aws:securityhub:us-west-1::ruleset/cis-aws-foundations-benchmark/v/1.2.0",
|
|
5393
|
+
# standards_managed_by: {
|
|
5394
|
+
# company: "AWS",
|
|
5395
|
+
# product: "Security Hub",
|
|
5396
|
+
# },
|
|
5382
5397
|
# },
|
|
5383
5398
|
# {
|
|
5384
5399
|
# description: "The Center for Internet Security (CIS) AWS Foundations Benchmark v1.4.0 is a set of security configuration best practices for AWS. This Security Hub standard automatically checks for your compliance readiness against a subset of CIS requirements.",
|
|
5385
5400
|
# enabled_by_default: false,
|
|
5386
5401
|
# name: "CIS AWS Foundations Benchmark v1.4.0",
|
|
5402
|
+
# provider: "AWS",
|
|
5387
5403
|
# standards_arn: "arn:aws::securityhub:us-west-1::standards/cis-aws-foundations-benchmark/v/1.4.0",
|
|
5404
|
+
# standards_managed_by: {
|
|
5405
|
+
# company: "AWS",
|
|
5406
|
+
# product: "Security Hub",
|
|
5407
|
+
# },
|
|
5388
5408
|
# },
|
|
5389
5409
|
# {
|
|
5390
5410
|
# description: "The Payment Card Industry Data Security Standard (PCI DSS) v3.2.1 is an information security standard for entities that store, process, and/or transmit cardholder data. This Security Hub standard automatically checks for your compliance readiness against a subset of PCI DSS requirements.",
|
|
5391
5411
|
# enabled_by_default: false,
|
|
5392
5412
|
# name: "PCI DSS v3.2.1",
|
|
5413
|
+
# provider: "AWS",
|
|
5393
5414
|
# standards_arn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1",
|
|
5415
|
+
# standards_managed_by: {
|
|
5416
|
+
# company: "AWS",
|
|
5417
|
+
# product: "Security Hub",
|
|
5418
|
+
# },
|
|
5419
|
+
# },
|
|
5420
|
+
# {
|
|
5421
|
+
# description: "The Center for Internet Security (CIS) Microsoft Azure Foundations Benchmark v4.0.0 is a set of security configuration best practices for Azure. This Security Hub standard automatically checks your compliance readiness against a subset of CIS requirements.",
|
|
5422
|
+
# enabled_by_default: false,
|
|
5423
|
+
# name: "CIS Azure Foundations Benchmark v4.0.0",
|
|
5424
|
+
# provider: "Azure",
|
|
5425
|
+
# standards_arn: "arn:aws:securityhub:us-west-1::standards/cis-azure-foundations-benchmark/v/4.0.0",
|
|
5426
|
+
# standards_managed_by: {
|
|
5427
|
+
# company: "AWS",
|
|
5428
|
+
# product: "Security Hub",
|
|
5429
|
+
# },
|
|
5430
|
+
# },
|
|
5431
|
+
# ],
|
|
5432
|
+
# }
|
|
5433
|
+
#
|
|
5434
|
+
# @example Example: To get available Azure security standards
|
|
5435
|
+
#
|
|
5436
|
+
# # The following example returns a list of available security standards from a specified provider.
|
|
5437
|
+
#
|
|
5438
|
+
# resp = client.describe_standards({
|
|
5439
|
+
# providers: [
|
|
5440
|
+
# "Azure",
|
|
5441
|
+
# ],
|
|
5442
|
+
# })
|
|
5443
|
+
#
|
|
5444
|
+
# resp.to_h outputs the following:
|
|
5445
|
+
# {
|
|
5446
|
+
# standards: [
|
|
5447
|
+
# {
|
|
5448
|
+
# description: "The Center for Internet Security (CIS) Microsoft Azure Foundations Benchmark v4.0.0 is a set of security configuration best practices for Azure. This Security Hub standard automatically checks your compliance readiness against a subset of CIS requirements.",
|
|
5449
|
+
# enabled_by_default: false,
|
|
5450
|
+
# name: "CIS Azure Foundations Benchmark v4.0.0",
|
|
5451
|
+
# provider: "Azure",
|
|
5452
|
+
# standards_arn: "arn:aws:securityhub:us-west-1::standards/cis-azure-foundations-benchmark/v/4.0.0",
|
|
5453
|
+
# standards_managed_by: {
|
|
5454
|
+
# company: "AWS",
|
|
5455
|
+
# product: "Security Hub",
|
|
5456
|
+
# },
|
|
5394
5457
|
# },
|
|
5395
5458
|
# ],
|
|
5396
5459
|
# }
|
|
@@ -6599,6 +6662,7 @@ module Aws::SecurityHub
|
|
|
6599
6662
|
# {
|
|
6600
6663
|
# standards_subscriptions: [
|
|
6601
6664
|
# {
|
|
6665
|
+
# provider: "AWS",
|
|
6602
6666
|
# standards_arn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1",
|
|
6603
6667
|
# standards_input: {
|
|
6604
6668
|
# },
|
|
@@ -8920,6 +8984,12 @@ module Aws::SecurityHub
|
|
|
8920
8984
|
# organizational units. Only the delegated administrator account can use
|
|
8921
8985
|
# `Scopes`.
|
|
8922
8986
|
#
|
|
8987
|
+
# If you set `GroupByField` to `ResourceSubCategory`,
|
|
8988
|
+
# `ResourceInfo.AIDetails.HostResourceType`, or
|
|
8989
|
+
# `ResourceInfo.AIDetails.CanonicalId`, you must include a
|
|
8990
|
+
# `ResourceCategory` string filter with comparison set to `EQUALS` and
|
|
8991
|
+
# value `AI/ML` in the corresponding `ResourceGroupByRule`.
|
|
8992
|
+
#
|
|
8923
8993
|
# @option params [required, Array<Types::ResourceGroupByRule>] :group_by_rules
|
|
8924
8994
|
# How resource statistics should be aggregated and organized in the
|
|
8925
8995
|
# response.
|
|
@@ -8954,13 +9024,13 @@ module Aws::SecurityHub
|
|
|
8954
9024
|
# resp = client.get_resources_statistics_v2({
|
|
8955
9025
|
# group_by_rules: [ # required
|
|
8956
9026
|
# {
|
|
8957
|
-
# group_by_field: "AccountId", # required, accepts AccountId, AccountName, Region, ResourceProvider, ResourceOwnerAccountId, ResourceOwnerOrgId, ResourceCloudPartition, ResourceRegion, ResourceCategory, ResourceType, ResourceName, FindingsSummary.FindingType
|
|
9027
|
+
# group_by_field: "AccountId", # required, accepts AccountId, AccountName, Region, ResourceProvider, ResourceOwnerAccountId, ResourceOwnerOrgId, ResourceCloudPartition, ResourceRegion, ResourceCategory, ResourceType, ResourceName, FindingsSummary.FindingType, ResourceSubCategory, DiscoveryType, ResourceInfo.AIDetails.HostResourceType, ResourceInfo.AIDetails.CanonicalId
|
|
8958
9028
|
# filters: {
|
|
8959
9029
|
# composite_filters: [
|
|
8960
9030
|
# {
|
|
8961
9031
|
# string_filters: [
|
|
8962
9032
|
# {
|
|
8963
|
-
# field_name: "ResourceGuid", # accepts ResourceGuid, ResourceId, AccountId, AccountName, Region, ResourceProvider, ResourceOwnerAccountId, ResourceOwnerOrgId, ResourceCloudPartition, ResourceRegion, ResourceCategory, ResourceType, ResourceName, FindingsSummary.FindingType, FindingsSummary.ProductName
|
|
9033
|
+
# field_name: "ResourceGuid", # accepts 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
|
|
8964
9034
|
# filter: {
|
|
8965
9035
|
# value: "NonEmptyString",
|
|
8966
9036
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS, CONTAINS, NOT_CONTAINS, CONTAINS_WORD
|
|
@@ -8983,7 +9053,7 @@ module Aws::SecurityHub
|
|
|
8983
9053
|
# ],
|
|
8984
9054
|
# number_filters: [
|
|
8985
9055
|
# {
|
|
8986
|
-
# field_name: "FindingsSummary.TotalFindings", # accepts 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
|
|
9056
|
+
# field_name: "FindingsSummary.TotalFindings", # accepts 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
|
|
8987
9057
|
# filter: {
|
|
8988
9058
|
# gte: 1.0,
|
|
8989
9059
|
# lte: 1.0,
|
|
@@ -9132,6 +9202,18 @@ module Aws::SecurityHub
|
|
|
9132
9202
|
# or together. When both are provided, `Scopes` narrows the data set
|
|
9133
9203
|
# first, and then `Filters` refines results within that scoped data set.
|
|
9134
9204
|
#
|
|
9205
|
+
# For AI/ML resources, the response includes the `ResourceSubCategory`
|
|
9206
|
+
# field. For self-hosted AI resources and their host resources, the
|
|
9207
|
+
# response also includes `ResourceInfo` with AI-specific details.
|
|
9208
|
+
# Self-hosted AI resources use a `ResourceType` with the
|
|
9209
|
+
# `SelfHosted::AI::` prefix, such as `SelfHosted::AI::Model`,
|
|
9210
|
+
# `SelfHosted::AI::Agent`, `SelfHosted::AI::InferenceEndpoint`, and
|
|
9211
|
+
# `SelfHosted::AI::ExternalEndpoint`.
|
|
9212
|
+
#
|
|
9213
|
+
# If you filter by `ResourceSubCategory`, you must also include a
|
|
9214
|
+
# `ResourceCategory` string filter with comparison set to `EQUALS` and
|
|
9215
|
+
# value `AI/ML` in the same request.
|
|
9216
|
+
#
|
|
9135
9217
|
# @option params [Types::ResourcesFilters] :filters
|
|
9136
9218
|
# Filters resources based on a set of criteria.
|
|
9137
9219
|
#
|
|
@@ -9176,7 +9258,7 @@ module Aws::SecurityHub
|
|
|
9176
9258
|
# {
|
|
9177
9259
|
# string_filters: [
|
|
9178
9260
|
# {
|
|
9179
|
-
# field_name: "ResourceGuid", # accepts ResourceGuid, ResourceId, AccountId, AccountName, Region, ResourceProvider, ResourceOwnerAccountId, ResourceOwnerOrgId, ResourceCloudPartition, ResourceRegion, ResourceCategory, ResourceType, ResourceName, FindingsSummary.FindingType, FindingsSummary.ProductName
|
|
9261
|
+
# field_name: "ResourceGuid", # accepts 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
|
|
9180
9262
|
# filter: {
|
|
9181
9263
|
# value: "NonEmptyString",
|
|
9182
9264
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS, CONTAINS, NOT_CONTAINS, CONTAINS_WORD
|
|
@@ -9199,7 +9281,7 @@ module Aws::SecurityHub
|
|
|
9199
9281
|
# ],
|
|
9200
9282
|
# number_filters: [
|
|
9201
9283
|
# {
|
|
9202
|
-
# field_name: "FindingsSummary.TotalFindings", # accepts 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
|
|
9284
|
+
# field_name: "FindingsSummary.TotalFindings", # accepts 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
|
|
9203
9285
|
# filter: {
|
|
9204
9286
|
# gte: 1.0,
|
|
9205
9287
|
# lte: 1.0,
|
|
@@ -9278,6 +9360,19 @@ module Aws::SecurityHub
|
|
|
9278
9360
|
# resp.resources[0].resource_tags #=> Array
|
|
9279
9361
|
# resp.resources[0].resource_tags[0].key #=> String
|
|
9280
9362
|
# resp.resources[0].resource_tags[0].value #=> String
|
|
9363
|
+
# resp.resources[0].resource_sub_category #=> String, one of "Model", "ModelServing", "Agent", "AgentFramework", "AgentToolsAndIdentity", "SafetyAndGuardrail", "KnowledgeAndData", "OrchestrationAndPipeline", "ExternalEndpoint", "Development", "Other"
|
|
9364
|
+
# resp.resources[0].discovery_type #=> String, one of "Managed", "SelfHosted"
|
|
9365
|
+
# resp.resources[0].resource_info.ai_details.host_resource_guid #=> String
|
|
9366
|
+
# resp.resources[0].resource_info.ai_details.host_resource_type #=> String
|
|
9367
|
+
# resp.resources[0].resource_info.ai_details.canonical_id #=> String
|
|
9368
|
+
# resp.resources[0].resource_info.ai_details.self_hosted_ai_model_resource_count #=> Integer
|
|
9369
|
+
# resp.resources[0].resource_info.ai_details.self_hosted_ai_agent_resource_count #=> Integer
|
|
9370
|
+
# resp.resources[0].resource_info.ai_details.self_hosted_ai_model_serving_resource_count #=> Integer
|
|
9371
|
+
# resp.resources[0].resource_info.ai_details.self_hosted_ai_external_endpoint_resource_count #=> Integer
|
|
9372
|
+
# resp.resources[0].resource_info.ai_details.self_hosted_ai_development_resource_count #=> Integer
|
|
9373
|
+
# resp.resources[0].resource_info.ai_details.self_hosted_ai_agent_framework_resource_count #=> Integer
|
|
9374
|
+
# resp.resources[0].resource_info.ai_details.self_hosted_ai_agent_tools_and_identity_resource_count #=> Integer
|
|
9375
|
+
# resp.resources[0].resource_info.ai_details.self_hosted_total_ai_resource_count #=> Integer
|
|
9281
9376
|
# resp.next_token #=> String
|
|
9282
9377
|
#
|
|
9283
9378
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetResourcesV2 AWS API Documentation
|
|
@@ -9327,6 +9422,7 @@ module Aws::SecurityHub
|
|
|
9327
9422
|
# description: "Number of days the EC2 instance is allowed to be in a stopped state before generating a failed finding",
|
|
9328
9423
|
# },
|
|
9329
9424
|
# },
|
|
9425
|
+
# provider: "AWS",
|
|
9330
9426
|
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/EC2.4/remediation",
|
|
9331
9427
|
# security_control_id: "EC2.4",
|
|
9332
9428
|
# severity_rating: "MEDIUM",
|
|
@@ -10395,6 +10491,7 @@ module Aws::SecurityHub
|
|
|
10395
10491
|
# "Parameters",
|
|
10396
10492
|
# ],
|
|
10397
10493
|
# description: "This AWS control checks whether ACM Certificates in your account are marked for expiration within a specified time period. Certificates provided by ACM are automatically renewed. ACM does not automatically renew certificates that you import.",
|
|
10494
|
+
# provider: "AWS",
|
|
10398
10495
|
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/ACM.1/remediation",
|
|
10399
10496
|
# security_control_id: "ACM.1",
|
|
10400
10497
|
# severity_rating: "MEDIUM",
|
|
@@ -10406,6 +10503,7 @@ module Aws::SecurityHub
|
|
|
10406
10503
|
# "Parameters",
|
|
10407
10504
|
# ],
|
|
10408
10505
|
# description: "This control checks whether all stages of Amazon API Gateway REST and WebSocket APIs have logging enabled. The control fails if logging is not enabled for all methods of a stage or if loggingLevel is neither ERROR nor INFO.",
|
|
10506
|
+
# provider: "AWS",
|
|
10409
10507
|
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/APIGateway.1/remediation",
|
|
10410
10508
|
# security_control_id: "APIGateway.1",
|
|
10411
10509
|
# severity_rating: "MEDIUM",
|
|
@@ -10414,11 +10512,74 @@ module Aws::SecurityHub
|
|
|
10414
10512
|
# {
|
|
10415
10513
|
# current_region_availability: "AVAILABLE",
|
|
10416
10514
|
# description: "This control checks whether Amazon API Gateway REST API stages have SSL certificates configured that backend systems can use to authenticate that incoming requests are from the API Gateway.",
|
|
10515
|
+
# provider: "AWS",
|
|
10417
10516
|
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/APIGateway.2/remediation",
|
|
10418
10517
|
# security_control_id: "APIGateway.2",
|
|
10419
10518
|
# severity_rating: "MEDIUM",
|
|
10420
10519
|
# title: "API Gateway REST API stages should be configured to use SSL certificates for backend authentication",
|
|
10421
10520
|
# },
|
|
10521
|
+
# {
|
|
10522
|
+
# current_region_availability: "AVAILABLE",
|
|
10523
|
+
# customizable_properties: [
|
|
10524
|
+
# ],
|
|
10525
|
+
# description: "This control checks whether Azure Container Apps have managed identity enabled. The control fails if the Container App has a system-assigned or user-assigned managed identity enabled.",
|
|
10526
|
+
# provider: "Azure",
|
|
10527
|
+
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/Azure.App.1/remediation",
|
|
10528
|
+
# security_control_id: "Azure.App.1",
|
|
10529
|
+
# severity_rating: "MEDIUM",
|
|
10530
|
+
# title: "Azure Container Apps with managed identity enabled should follow least privilege",
|
|
10531
|
+
# },
|
|
10532
|
+
# ],
|
|
10533
|
+
# }
|
|
10534
|
+
#
|
|
10535
|
+
# @example Example: To list Azure security control definitions
|
|
10536
|
+
#
|
|
10537
|
+
# # The following example lists security control definitions for a specified provider.
|
|
10538
|
+
#
|
|
10539
|
+
# resp = client.list_security_control_definitions({
|
|
10540
|
+
# max_results: 3,
|
|
10541
|
+
# providers: [
|
|
10542
|
+
# "Azure",
|
|
10543
|
+
# ],
|
|
10544
|
+
# })
|
|
10545
|
+
#
|
|
10546
|
+
# resp.to_h outputs the following:
|
|
10547
|
+
# {
|
|
10548
|
+
# next_token: "U2FsdGVkX1...",
|
|
10549
|
+
# security_control_definitions: [
|
|
10550
|
+
# {
|
|
10551
|
+
# current_region_availability: "AVAILABLE",
|
|
10552
|
+
# customizable_properties: [
|
|
10553
|
+
# ],
|
|
10554
|
+
# description: "This control checks whether Azure Container Apps have managed identity enabled. The control fails if the Container App has a system-assigned or user-assigned managed identity enabled.",
|
|
10555
|
+
# provider: "Azure",
|
|
10556
|
+
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/Azure.App.1/remediation",
|
|
10557
|
+
# security_control_id: "Azure.App.1",
|
|
10558
|
+
# severity_rating: "MEDIUM",
|
|
10559
|
+
# title: "Azure Container Apps with managed identity enabled should follow least privilege",
|
|
10560
|
+
# },
|
|
10561
|
+
# {
|
|
10562
|
+
# current_region_availability: "AVAILABLE",
|
|
10563
|
+
# customizable_properties: [
|
|
10564
|
+
# ],
|
|
10565
|
+
# description: "This control checks whether an Azure Container App passes Azure SDK credentials as plain-text container environment variables. The control fails if any container (including initContainers) defines AZURE_CLIENT_SECRET, AZURE_CLIENT_CERTIFICATE_PASSWORD, or AZURE_PASSWORD as a plain-text environment variable instead of referencing a secret via secretRef.",
|
|
10566
|
+
# provider: "Azure",
|
|
10567
|
+
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/Azure.App.2/remediation",
|
|
10568
|
+
# security_control_id: "Azure.App.2",
|
|
10569
|
+
# severity_rating: "CRITICAL",
|
|
10570
|
+
# title: "Azure Container Apps should not pass Azure SDK credentials as environment variables",
|
|
10571
|
+
# },
|
|
10572
|
+
# {
|
|
10573
|
+
# current_region_availability: "AVAILABLE",
|
|
10574
|
+
# customizable_properties: [
|
|
10575
|
+
# ],
|
|
10576
|
+
# description: "This control checks whether Azure Container Apps have external ingress configured. The control fails if the Container App ingress is set to accept traffic from anywhere (external).",
|
|
10577
|
+
# provider: "Azure",
|
|
10578
|
+
# remediation_url: "https://docs.aws.amazon.com/console/securityhub/Azure.App.3/remediation",
|
|
10579
|
+
# security_control_id: "Azure.App.3",
|
|
10580
|
+
# severity_rating: "HIGH",
|
|
10581
|
+
# title: "Azure Container Apps should not have external ingress enabled",
|
|
10582
|
+
# },
|
|
10422
10583
|
# ],
|
|
10423
10584
|
# }
|
|
10424
10585
|
#
|
|
@@ -13386,7 +13547,7 @@ module Aws::SecurityHub
|
|
|
13386
13547
|
tracer: tracer
|
|
13387
13548
|
)
|
|
13388
13549
|
context[:gem_name] = 'aws-sdk-securityhub'
|
|
13389
|
-
context[:gem_version] = '1.
|
|
13550
|
+
context[:gem_version] = '1.162.0'
|
|
13390
13551
|
Seahorse::Client::Request.new(handlers, context)
|
|
13391
13552
|
end
|
|
13392
13553
|
|
|
@@ -14,6 +14,7 @@ module Aws::SecurityHub
|
|
|
14
14
|
|
|
15
15
|
include Seahorse::Model
|
|
16
16
|
|
|
17
|
+
AIDetails = Shapes::StructureShape.new(name: 'AIDetails')
|
|
17
18
|
AcceptAdministratorInvitationRequest = Shapes::StructureShape.new(name: 'AcceptAdministratorInvitationRequest')
|
|
18
19
|
AcceptAdministratorInvitationResponse = Shapes::StructureShape.new(name: 'AcceptAdministratorInvitationResponse')
|
|
19
20
|
AcceptInvitationRequest = Shapes::StructureShape.new(name: 'AcceptInvitationRequest')
|
|
@@ -907,6 +908,7 @@ module Aws::SecurityHub
|
|
|
907
908
|
DisassociateFromMasterAccountResponse = Shapes::StructureShape.new(name: 'DisassociateFromMasterAccountResponse')
|
|
908
909
|
DisassociateMembersRequest = Shapes::StructureShape.new(name: 'DisassociateMembersRequest')
|
|
909
910
|
DisassociateMembersResponse = Shapes::StructureShape.new(name: 'DisassociateMembersResponse')
|
|
911
|
+
DiscoveryType = Shapes::StringShape.new(name: 'DiscoveryType')
|
|
910
912
|
DnsRequestAction = Shapes::StructureShape.new(name: 'DnsRequestAction')
|
|
911
913
|
Double = Shapes::FloatShape.new(name: 'Double')
|
|
912
914
|
DoubleConfigurationOptions = Shapes::StructureShape.new(name: 'DoubleConfigurationOptions')
|
|
@@ -1212,6 +1214,7 @@ module Aws::SecurityHub
|
|
|
1212
1214
|
ResourceGroupByRule = Shapes::StructureShape.new(name: 'ResourceGroupByRule')
|
|
1213
1215
|
ResourceGroupByRules = Shapes::ListShape.new(name: 'ResourceGroupByRules')
|
|
1214
1216
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
|
1217
|
+
ResourceInfo = Shapes::StructureShape.new(name: 'ResourceInfo')
|
|
1215
1218
|
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
|
|
1216
1219
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
1217
1220
|
ResourceOwner = Shapes::StructureShape.new(name: 'ResourceOwner')
|
|
@@ -1220,6 +1223,7 @@ module Aws::SecurityHub
|
|
|
1220
1223
|
ResourceResult = Shapes::StructureShape.new(name: 'ResourceResult')
|
|
1221
1224
|
ResourceScopes = Shapes::StructureShape.new(name: 'ResourceScopes')
|
|
1222
1225
|
ResourceSeverityBreakdown = Shapes::StructureShape.new(name: 'ResourceSeverityBreakdown')
|
|
1226
|
+
ResourceSubCategory = Shapes::StringShape.new(name: 'ResourceSubCategory')
|
|
1223
1227
|
ResourceTag = Shapes::StructureShape.new(name: 'ResourceTag')
|
|
1224
1228
|
ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
|
|
1225
1229
|
Resources = Shapes::ListShape.new(name: 'Resources')
|
|
@@ -1458,6 +1462,19 @@ module Aws::SecurityHub
|
|
|
1458
1462
|
WorkflowStatus = Shapes::StringShape.new(name: 'WorkflowStatus')
|
|
1459
1463
|
WorkflowUpdate = Shapes::StructureShape.new(name: 'WorkflowUpdate')
|
|
1460
1464
|
|
|
1465
|
+
AIDetails.add_member(:host_resource_guid, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "HostResourceGuid"))
|
|
1466
|
+
AIDetails.add_member(:host_resource_type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "HostResourceType"))
|
|
1467
|
+
AIDetails.add_member(:canonical_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CanonicalId"))
|
|
1468
|
+
AIDetails.add_member(:self_hosted_ai_model_resource_count, Shapes::ShapeRef.new(shape: Integer, location_name: "SelfHostedAIModelResourceCount"))
|
|
1469
|
+
AIDetails.add_member(:self_hosted_ai_agent_resource_count, Shapes::ShapeRef.new(shape: Integer, location_name: "SelfHostedAIAgentResourceCount"))
|
|
1470
|
+
AIDetails.add_member(:self_hosted_ai_model_serving_resource_count, Shapes::ShapeRef.new(shape: Integer, location_name: "SelfHostedAIModelServingResourceCount"))
|
|
1471
|
+
AIDetails.add_member(:self_hosted_ai_external_endpoint_resource_count, Shapes::ShapeRef.new(shape: Integer, location_name: "SelfHostedAIExternalEndpointResourceCount"))
|
|
1472
|
+
AIDetails.add_member(:self_hosted_ai_development_resource_count, Shapes::ShapeRef.new(shape: Integer, location_name: "SelfHostedAIDevelopmentResourceCount"))
|
|
1473
|
+
AIDetails.add_member(:self_hosted_ai_agent_framework_resource_count, Shapes::ShapeRef.new(shape: Integer, location_name: "SelfHostedAIAgentFrameworkResourceCount"))
|
|
1474
|
+
AIDetails.add_member(:self_hosted_ai_agent_tools_and_identity_resource_count, Shapes::ShapeRef.new(shape: Integer, location_name: "SelfHostedAIAgentToolsAndIdentityResourceCount"))
|
|
1475
|
+
AIDetails.add_member(:self_hosted_total_ai_resource_count, Shapes::ShapeRef.new(shape: Integer, location_name: "SelfHostedTotalAIResourceCount"))
|
|
1476
|
+
AIDetails.struct_class = Types::AIDetails
|
|
1477
|
+
|
|
1461
1478
|
AcceptAdministratorInvitationRequest.add_member(:administrator_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "AdministratorId"))
|
|
1462
1479
|
AcceptAdministratorInvitationRequest.add_member(:invitation_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "InvitationId"))
|
|
1463
1480
|
AcceptAdministratorInvitationRequest.struct_class = Types::AcceptAdministratorInvitationRequest
|
|
@@ -7321,6 +7338,9 @@ module Aws::SecurityHub
|
|
|
7321
7338
|
ResourceInUseException.add_member(:code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Code"))
|
|
7322
7339
|
ResourceInUseException.struct_class = Types::ResourceInUseException
|
|
7323
7340
|
|
|
7341
|
+
ResourceInfo.add_member(:ai_details, Shapes::ShapeRef.new(shape: AIDetails, location_name: "AIDetails"))
|
|
7342
|
+
ResourceInfo.struct_class = Types::ResourceInfo
|
|
7343
|
+
|
|
7324
7344
|
ResourceList.member = Shapes::ShapeRef.new(shape: Resource)
|
|
7325
7345
|
|
|
7326
7346
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
|
|
@@ -7355,6 +7375,9 @@ module Aws::SecurityHub
|
|
|
7355
7375
|
ResourceResult.add_member(:findings_summary, Shapes::ShapeRef.new(shape: ResourceFindingsSummaryList, location_name: "FindingsSummary"))
|
|
7356
7376
|
ResourceResult.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "ResourceTags"))
|
|
7357
7377
|
ResourceResult.add_member(:resource_config, Shapes::ShapeRef.new(shape: ResourceConfig, required: true, location_name: "ResourceConfig"))
|
|
7378
|
+
ResourceResult.add_member(:resource_sub_category, Shapes::ShapeRef.new(shape: ResourceSubCategory, location_name: "ResourceSubCategory"))
|
|
7379
|
+
ResourceResult.add_member(:discovery_type, Shapes::ShapeRef.new(shape: DiscoveryType, location_name: "DiscoveryType"))
|
|
7380
|
+
ResourceResult.add_member(:resource_info, Shapes::ShapeRef.new(shape: ResourceInfo, location_name: "ResourceInfo"))
|
|
7358
7381
|
ResourceResult.struct_class = Types::ResourceResult
|
|
7359
7382
|
|
|
7360
7383
|
ResourceScopes.add_member(:aws_organizations, Shapes::ShapeRef.new(shape: AwsOrganizationScopeList, location_name: "AwsOrganizations"))
|
|
@@ -10,6 +10,107 @@
|
|
|
10
10
|
module Aws::SecurityHub
|
|
11
11
|
module Types
|
|
12
12
|
|
|
13
|
+
# Contains information about self-hosted AI resources and their host
|
|
14
|
+
# resources. The fields that are present depend on the role of the
|
|
15
|
+
# resource.
|
|
16
|
+
#
|
|
17
|
+
# On a self-hosted AI resource (a resource with a `SelfHosted::AI::`
|
|
18
|
+
# resource type, such as `SelfHosted::AI::Model` or
|
|
19
|
+
# `SelfHosted::AI::Agent`), the `HostResourceGuid` and
|
|
20
|
+
# `HostResourceType` fields link the resource to its host. The
|
|
21
|
+
# `CanonicalId` field identifies what the resource is, enabling
|
|
22
|
+
# aggregation of identical resources across multiple hosts.
|
|
23
|
+
#
|
|
24
|
+
# On a host resource (such as an Amazon EC2 instance), the
|
|
25
|
+
# `SelfHostedAI*ResourceCount` fields contain the count for each
|
|
26
|
+
# `ResourceSubCategory` and the total count of self-hosted AI resources
|
|
27
|
+
# detected on the host.
|
|
28
|
+
#
|
|
29
|
+
# @!attribute [rw] host_resource_guid
|
|
30
|
+
# The identifier of the host resource that hosts the self-hosted AI
|
|
31
|
+
# resource. Present only on self-hosted AI resources.
|
|
32
|
+
# @return [String]
|
|
33
|
+
#
|
|
34
|
+
# @!attribute [rw] host_resource_type
|
|
35
|
+
# The `ResourceType` of the host resource that hosts the self-hosted
|
|
36
|
+
# AI resource, such as `AWS::EC2::Instance`. Present only on
|
|
37
|
+
# self-hosted AI resources.
|
|
38
|
+
# @return [String]
|
|
39
|
+
#
|
|
40
|
+
# @!attribute [rw] canonical_id
|
|
41
|
+
# The canonical identifier for the AI resource, independent of where
|
|
42
|
+
# it is deployed. Multiple occurrences of the same resource on
|
|
43
|
+
# different hosts share the same `CanonicalId`. For model resources,
|
|
44
|
+
# the value follows the format `model/<purl>`, such as
|
|
45
|
+
# `model/pkg:huggingface/meta-llama/llama-3-8b`. Present only on
|
|
46
|
+
# self-hosted AI resources.
|
|
47
|
+
# @return [String]
|
|
48
|
+
#
|
|
49
|
+
# @!attribute [rw] self_hosted_ai_model_resource_count
|
|
50
|
+
# The number of self-hosted AI resources of `ResourceSubCategory`
|
|
51
|
+
# `Model` detected on the host resource. Present only on host
|
|
52
|
+
# resources.
|
|
53
|
+
# @return [Integer]
|
|
54
|
+
#
|
|
55
|
+
# @!attribute [rw] self_hosted_ai_agent_resource_count
|
|
56
|
+
# The number of self-hosted AI resources of `ResourceSubCategory`
|
|
57
|
+
# `Agent` detected on the host resource. Present only on host
|
|
58
|
+
# resources.
|
|
59
|
+
# @return [Integer]
|
|
60
|
+
#
|
|
61
|
+
# @!attribute [rw] self_hosted_ai_model_serving_resource_count
|
|
62
|
+
# The number of self-hosted AI resources of `ResourceSubCategory`
|
|
63
|
+
# `ModelServing` detected on the host resource. Present only on host
|
|
64
|
+
# resources.
|
|
65
|
+
# @return [Integer]
|
|
66
|
+
#
|
|
67
|
+
# @!attribute [rw] self_hosted_ai_external_endpoint_resource_count
|
|
68
|
+
# The number of self-hosted AI resources of `ResourceSubCategory`
|
|
69
|
+
# `ExternalEndpoint` detected on the host resource. Present only on
|
|
70
|
+
# host resources.
|
|
71
|
+
# @return [Integer]
|
|
72
|
+
#
|
|
73
|
+
# @!attribute [rw] self_hosted_ai_development_resource_count
|
|
74
|
+
# The number of self-hosted AI resources of `ResourceSubCategory`
|
|
75
|
+
# `Development` detected on the host resource. Present only on host
|
|
76
|
+
# resources.
|
|
77
|
+
# @return [Integer]
|
|
78
|
+
#
|
|
79
|
+
# @!attribute [rw] self_hosted_ai_agent_framework_resource_count
|
|
80
|
+
# The number of self-hosted AI resources of `ResourceSubCategory`
|
|
81
|
+
# `AgentFramework` detected on the host resource. Present only on host
|
|
82
|
+
# resources.
|
|
83
|
+
# @return [Integer]
|
|
84
|
+
#
|
|
85
|
+
# @!attribute [rw] self_hosted_ai_agent_tools_and_identity_resource_count
|
|
86
|
+
# The number of self-hosted AI resources of `ResourceSubCategory`
|
|
87
|
+
# `AgentToolsAndIdentity` detected on the host resource. Present only
|
|
88
|
+
# on host resources.
|
|
89
|
+
# @return [Integer]
|
|
90
|
+
#
|
|
91
|
+
# @!attribute [rw] self_hosted_total_ai_resource_count
|
|
92
|
+
# The total number of all self-hosted AI resources detected on the
|
|
93
|
+
# host resource. Present only on host resources.
|
|
94
|
+
# @return [Integer]
|
|
95
|
+
#
|
|
96
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AIDetails AWS API Documentation
|
|
97
|
+
#
|
|
98
|
+
class AIDetails < Struct.new(
|
|
99
|
+
:host_resource_guid,
|
|
100
|
+
:host_resource_type,
|
|
101
|
+
:canonical_id,
|
|
102
|
+
:self_hosted_ai_model_resource_count,
|
|
103
|
+
:self_hosted_ai_agent_resource_count,
|
|
104
|
+
:self_hosted_ai_model_serving_resource_count,
|
|
105
|
+
:self_hosted_ai_external_endpoint_resource_count,
|
|
106
|
+
:self_hosted_ai_development_resource_count,
|
|
107
|
+
:self_hosted_ai_agent_framework_resource_count,
|
|
108
|
+
:self_hosted_ai_agent_tools_and_identity_resource_count,
|
|
109
|
+
:self_hosted_total_ai_resource_count)
|
|
110
|
+
SENSITIVE = []
|
|
111
|
+
include Aws::Structure
|
|
112
|
+
end
|
|
113
|
+
|
|
13
114
|
# @!attribute [rw] administrator_id
|
|
14
115
|
# The account ID of the Security Hub CSPM administrator account that
|
|
15
116
|
# sent the invitation.
|
|
@@ -21704,8 +21805,8 @@ module Aws::SecurityHub
|
|
|
21704
21805
|
# The detailed Azure configuration for a connector.
|
|
21705
21806
|
#
|
|
21706
21807
|
# @!attribute [rw] aws_config_connector_arn
|
|
21707
|
-
# The ARN of the
|
|
21708
|
-
# to Azure.
|
|
21808
|
+
# The ARN of the multi-cloud configuration connector used to establish
|
|
21809
|
+
# the connection to Azure.
|
|
21709
21810
|
# @return [String]
|
|
21710
21811
|
#
|
|
21711
21812
|
# @!attribute [rw] scope_configuration
|
|
@@ -21730,8 +21831,8 @@ module Aws::SecurityHub
|
|
|
21730
21831
|
# The configuration for connecting to an Azure environment.
|
|
21731
21832
|
#
|
|
21732
21833
|
# @!attribute [rw] aws_config_connector_arn
|
|
21733
|
-
# The ARN of the
|
|
21734
|
-
# to Azure.
|
|
21834
|
+
# The ARN of the multi-cloud configuration connector used to establish
|
|
21835
|
+
# the connection to Azure.
|
|
21735
21836
|
# @return [String]
|
|
21736
21837
|
#
|
|
21737
21838
|
# @!attribute [rw] scope_configuration
|
|
@@ -31033,6 +31134,23 @@ module Aws::SecurityHub
|
|
|
31033
31134
|
include Aws::Structure
|
|
31034
31135
|
end
|
|
31035
31136
|
|
|
31137
|
+
# Additional details about a resource that are specific to its category.
|
|
31138
|
+
# For AI/ML resources and their host resources, this structure contains
|
|
31139
|
+
# `AIDetails`.
|
|
31140
|
+
#
|
|
31141
|
+
# @!attribute [rw] ai_details
|
|
31142
|
+
# Details that are specific to self-hosted AI resources and their host
|
|
31143
|
+
# resources.
|
|
31144
|
+
# @return [Types::AIDetails]
|
|
31145
|
+
#
|
|
31146
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ResourceInfo AWS API Documentation
|
|
31147
|
+
#
|
|
31148
|
+
class ResourceInfo < Struct.new(
|
|
31149
|
+
:ai_details)
|
|
31150
|
+
SENSITIVE = []
|
|
31151
|
+
include Aws::Structure
|
|
31152
|
+
end
|
|
31153
|
+
|
|
31036
31154
|
# The request was rejected because we can't find the specified
|
|
31037
31155
|
# resource.
|
|
31038
31156
|
#
|
|
@@ -31194,6 +31312,25 @@ module Aws::SecurityHub
|
|
|
31194
31312
|
# The configuration details of a resource.
|
|
31195
31313
|
# @return [Hash,Array,String,Numeric,Boolean]
|
|
31196
31314
|
#
|
|
31315
|
+
# @!attribute [rw] resource_sub_category
|
|
31316
|
+
# The AI/ML sub-grouping of the resource. Present only when
|
|
31317
|
+
# `ResourceCategory` is `AI/ML`.
|
|
31318
|
+
# @return [String]
|
|
31319
|
+
#
|
|
31320
|
+
# @!attribute [rw] discovery_type
|
|
31321
|
+
# Specifies how the resource was discovered. If the value is
|
|
31322
|
+
# `Managed`, the resource is natively provided by a cloud service
|
|
31323
|
+
# provider. If the value is `SelfHosted`, the resource is hosted on
|
|
31324
|
+
# customer-managed infrastructure, such as a compute instance or
|
|
31325
|
+
# container image.
|
|
31326
|
+
# @return [String]
|
|
31327
|
+
#
|
|
31328
|
+
# @!attribute [rw] resource_info
|
|
31329
|
+
# Additional resource-type-specific details. For self-hosted AI
|
|
31330
|
+
# resources and their host resources, contains an `AIDetails`
|
|
31331
|
+
# structure.
|
|
31332
|
+
# @return [Types::ResourceInfo]
|
|
31333
|
+
#
|
|
31197
31334
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ResourceResult AWS API Documentation
|
|
31198
31335
|
#
|
|
31199
31336
|
class ResourceResult < Struct.new(
|
|
@@ -31214,7 +31351,10 @@ module Aws::SecurityHub
|
|
|
31214
31351
|
:resource_detail_capture_time_dt,
|
|
31215
31352
|
:findings_summary,
|
|
31216
31353
|
:resource_tags,
|
|
31217
|
-
:resource_config
|
|
31354
|
+
:resource_config,
|
|
31355
|
+
:resource_sub_category,
|
|
31356
|
+
:discovery_type,
|
|
31357
|
+
:resource_info)
|
|
31218
31358
|
SENSITIVE = []
|
|
31219
31359
|
include Aws::Structure
|
|
31220
31360
|
end
|
data/lib/aws-sdk-securityhub.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -4962,7 +4962,7 @@ module Aws
|
|
|
4962
4962
|
def get_resources_statistics_v2: (
|
|
4963
4963
|
group_by_rules: Array[
|
|
4964
4964
|
{
|
|
4965
|
-
group_by_field: ("AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType"),
|
|
4965
|
+
group_by_field: ("AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "ResourceSubCategory" | "DiscoveryType" | "ResourceInfo.AIDetails.HostResourceType" | "ResourceInfo.AIDetails.CanonicalId"),
|
|
4966
4966
|
filters: Params::resources_filters?
|
|
4967
4967
|
}
|
|
4968
4968
|
],
|
data/sig/params.rbs
CHANGED
|
@@ -1392,7 +1392,7 @@ module Aws
|
|
|
1392
1392
|
type resources_composite_filter = {
|
|
1393
1393
|
string_filters: Array[
|
|
1394
1394
|
{
|
|
1395
|
-
field_name: ("ResourceGuid" | "ResourceId" | "AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "FindingsSummary.ProductName")?,
|
|
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
1396
|
filter: {
|
|
1397
1397
|
value: ::String?,
|
|
1398
1398
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
@@ -1412,7 +1412,7 @@ module Aws
|
|
|
1412
1412
|
{
|
|
1413
1413
|
string_filters: Array[
|
|
1414
1414
|
{
|
|
1415
|
-
field_name: ("ResourceGuid" | "ResourceId" | "AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "FindingsSummary.ProductName")?,
|
|
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
1416
|
filter: {
|
|
1417
1417
|
value: ::String?,
|
|
1418
1418
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
@@ -1441,7 +1441,7 @@ module Aws
|
|
|
1441
1441
|
}
|
|
1442
1442
|
|
|
1443
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")?,
|
|
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
1445
|
filter: {
|
|
1446
1446
|
gte: ::Float?,
|
|
1447
1447
|
lte: ::Float?,
|
data/sig/types.rbs
CHANGED
|
@@ -8,6 +8,21 @@
|
|
|
8
8
|
module Aws::SecurityHub
|
|
9
9
|
module Types
|
|
10
10
|
|
|
11
|
+
class AIDetails
|
|
12
|
+
attr_accessor host_resource_guid: ::String
|
|
13
|
+
attr_accessor host_resource_type: ::String
|
|
14
|
+
attr_accessor canonical_id: ::String
|
|
15
|
+
attr_accessor self_hosted_ai_model_resource_count: ::Integer
|
|
16
|
+
attr_accessor self_hosted_ai_agent_resource_count: ::Integer
|
|
17
|
+
attr_accessor self_hosted_ai_model_serving_resource_count: ::Integer
|
|
18
|
+
attr_accessor self_hosted_ai_external_endpoint_resource_count: ::Integer
|
|
19
|
+
attr_accessor self_hosted_ai_development_resource_count: ::Integer
|
|
20
|
+
attr_accessor self_hosted_ai_agent_framework_resource_count: ::Integer
|
|
21
|
+
attr_accessor self_hosted_ai_agent_tools_and_identity_resource_count: ::Integer
|
|
22
|
+
attr_accessor self_hosted_total_ai_resource_count: ::Integer
|
|
23
|
+
SENSITIVE: []
|
|
24
|
+
end
|
|
25
|
+
|
|
11
26
|
class AcceptAdministratorInvitationRequest
|
|
12
27
|
attr_accessor administrator_id: ::String
|
|
13
28
|
attr_accessor invitation_id: ::String
|
|
@@ -7129,7 +7144,7 @@ module Aws::SecurityHub
|
|
|
7129
7144
|
end
|
|
7130
7145
|
|
|
7131
7146
|
class ResourceGroupByRule
|
|
7132
|
-
attr_accessor group_by_field: ("AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType")
|
|
7147
|
+
attr_accessor group_by_field: ("AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "ResourceSubCategory" | "DiscoveryType" | "ResourceInfo.AIDetails.HostResourceType" | "ResourceInfo.AIDetails.CanonicalId")
|
|
7133
7148
|
attr_accessor filters: Types::ResourcesFilters
|
|
7134
7149
|
SENSITIVE: []
|
|
7135
7150
|
end
|
|
@@ -7140,6 +7155,11 @@ module Aws::SecurityHub
|
|
|
7140
7155
|
SENSITIVE: []
|
|
7141
7156
|
end
|
|
7142
7157
|
|
|
7158
|
+
class ResourceInfo
|
|
7159
|
+
attr_accessor ai_details: Types::AIDetails
|
|
7160
|
+
SENSITIVE: []
|
|
7161
|
+
end
|
|
7162
|
+
|
|
7143
7163
|
class ResourceNotFoundException
|
|
7144
7164
|
attr_accessor message: ::String
|
|
7145
7165
|
attr_accessor code: ::String
|
|
@@ -7181,6 +7201,9 @@ module Aws::SecurityHub
|
|
|
7181
7201
|
attr_accessor findings_summary: ::Array[Types::ResourceFindingsSummary]
|
|
7182
7202
|
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|
|
7183
7203
|
attr_accessor resource_config: untyped
|
|
7204
|
+
attr_accessor resource_sub_category: ("Model" | "ModelServing" | "Agent" | "AgentFramework" | "AgentToolsAndIdentity" | "SafetyAndGuardrail" | "KnowledgeAndData" | "OrchestrationAndPipeline" | "ExternalEndpoint" | "Development" | "Other")
|
|
7205
|
+
attr_accessor discovery_type: ("Managed" | "SelfHosted")
|
|
7206
|
+
attr_accessor resource_info: Types::ResourceInfo
|
|
7184
7207
|
SENSITIVE: []
|
|
7185
7208
|
end
|
|
7186
7209
|
|
|
@@ -7241,13 +7264,13 @@ module Aws::SecurityHub
|
|
|
7241
7264
|
end
|
|
7242
7265
|
|
|
7243
7266
|
class ResourcesNumberFilter
|
|
7244
|
-
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")
|
|
7267
|
+
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" | "ResourceInfo.AIDetails.SelfHostedAIModelResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIAgentResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIModelServingResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIExternalEndpointResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIDevelopmentResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIAgentFrameworkResourceCount" | "ResourceInfo.AIDetails.SelfHostedAIAgentToolsAndIdentityResourceCount" | "ResourceInfo.AIDetails.SelfHostedTotalAIResourceCount")
|
|
7245
7268
|
attr_accessor filter: Types::NumberFilter
|
|
7246
7269
|
SENSITIVE: []
|
|
7247
7270
|
end
|
|
7248
7271
|
|
|
7249
7272
|
class ResourcesStringFilter
|
|
7250
|
-
attr_accessor field_name: ("ResourceGuid" | "ResourceId" | "AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "FindingsSummary.ProductName")
|
|
7273
|
+
attr_accessor 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")
|
|
7251
7274
|
attr_accessor filter: Types::StringFilter
|
|
7252
7275
|
SENSITIVE: []
|
|
7253
7276
|
end
|