Skip to content

ResourceResult

Source code in docs_src/capo_securityhub/types/resource_result.py
class ResourceResult(TypedDict, closed=True):
    resource_guid: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The global identifier used to identify a resource.</p>"""
    resource_id: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The unique identifier for a resource.</p>"""
    account_id: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The Amazon Web Services account that recorded the resource data in Security Hub.</p>"""
    account_name: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The name of the Amazon Web Services account that's associated with the resource.</p>"""
    region: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The Amazon Web Services Region that recorded the resource data in Security Hub.</p>"""
    resource_provider: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The cloud provider where the resource exists. Valid values are <code>AWS</code> and <code>Azure</code>. This field is always included.</p>"""
    resource_owner_account_id: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The identifier of the cloud account that owns the resource. For Amazon Web Services resources, this is the Amazon Web Services account ID. For Azure resources, this is the Azure subscription ID.</p>"""
    resource_owner_org_id: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The identifier of the cloud organization that owns the resource. For Amazon Web Services resources, this is the Organizations ID. For Azure resources, this is the Azure tenant ID.</p>"""
    resource_cloud_partition: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The cloud partition where the resource exists. For Amazon Web Services, valid values include <code>aws</code>, <code>aws-cn</code>, and <code>aws-us-gov</code>. This field isn't returned for cloud providers that don't use partitions.</p>"""
    resource_region: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The native cloud region where the resource is located. For Amazon Web Services, this is an Amazon Web Services Region (for example, <code>us-east-1</code>). For Azure resources, this is the Azure region (for example, <code>westus2</code>). This field is always included.</p>"""
    resource_category: NotRequired[
        "capo_securityhub.types.resource_category.ResourceCategory"
    ]
    """<p>The grouping where the resource belongs.</p>"""
    resource_type: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The type of resource.</p>"""
    resource_name: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The name of the resource.</p>"""
    resource_creation_time_dt: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The time when the resource was created.</p>"""
    resource_detail_capture_time_dt: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The timestamp when information about the resource was captured.</p>"""
    findings_summary: NotRequired[
        "capo_securityhub.types.resource_findings_summary_list.ResourceFindingsSummaryList"
    ]
    """<p>An aggregated view of security findings associated with a resource.</p>"""
    resource_tags: NotRequired[
        "capo_securityhub.types.resource_tag_list.ResourceTagList"
    ]
    """<p>The key-value pairs associated with a resource.</p>"""
    resource_config: NotRequired[
        "capo_securityhub.types.resource_config.ResourceConfig"
    ]
    """<p>The configuration details of a resource.</p>"""
    resource_sub_category: NotRequired[
        "capo_securityhub.types.resource_sub_category.ResourceSubCategory"
    ]
    """<p>The AI/ML sub-grouping of the resource. Present only when <code>ResourceCategory</code> is <code>AI/ML</code>.</p>"""
    discovery_type: NotRequired["capo_securityhub.types.discovery_type.DiscoveryType"]
    """<p>Specifies how the resource was discovered. If the value is <code>Managed</code>, the resource is natively provided by a cloud service provider. If the value is <code>SelfHosted</code>, the resource is hosted on customer-managed infrastructure, such as a compute instance or container image.</p>"""
    resource_info: NotRequired["capo_securityhub.types.resource_info.ResourceInfo"]
    """<p>Additional resource-type-specific details. For self-hosted AI resources and their host resources, contains an <code>AIDetails</code> structure.</p>"""
    resource_criticality: NotRequired[
        "capo_securityhub.types.resource_criticality.ResourceCriticality"
    ]
    """<p>The criticality assigned to a resource.</p>"""
    criticality_sources: NotRequired[
        "capo_securityhub.types.criticality_source_list.CriticalitySourceList"
    ]
    """<p>The sources of criticalities determined from a resource.</p>"""

account_id instance-attribute

account_id: NotRequired[NonEmptyString]

The Amazon Web Services account that recorded the resource data in Security Hub.

account_name instance-attribute

account_name: NotRequired[NonEmptyString]

The name of the Amazon Web Services account that's associated with the resource.

criticality_sources instance-attribute

criticality_sources: NotRequired[CriticalitySourceList]

The sources of criticalities determined from a resource.

discovery_type instance-attribute

discovery_type: NotRequired[DiscoveryType]

Specifies how the resource was discovered. If the value is Managed, the resource is natively provided by a cloud service provider. If the value is SelfHosted, the resource is hosted on customer-managed infrastructure, such as a compute instance or container image.

findings_summary instance-attribute

findings_summary: NotRequired[ResourceFindingsSummaryList]

An aggregated view of security findings associated with a resource.

region instance-attribute

region: NotRequired[NonEmptyString]

The Amazon Web Services Region that recorded the resource data in Security Hub.

resource_category instance-attribute

resource_category: NotRequired[ResourceCategory]

The grouping where the resource belongs.

resource_cloud_partition instance-attribute

resource_cloud_partition: NotRequired[NonEmptyString]

The cloud partition where the resource exists. For Amazon Web Services, valid values include aws, aws-cn, and aws-us-gov. This field isn't returned for cloud providers that don't use partitions.

resource_config instance-attribute

resource_config: NotRequired[ResourceConfig]

The configuration details of a resource.

resource_creation_time_dt instance-attribute

resource_creation_time_dt: NotRequired[NonEmptyString]

The time when the resource was created.

resource_criticality instance-attribute

resource_criticality: NotRequired[ResourceCriticality]

The criticality assigned to a resource.

resource_detail_capture_time_dt instance-attribute

resource_detail_capture_time_dt: NotRequired[NonEmptyString]

The timestamp when information about the resource was captured.

resource_guid instance-attribute

resource_guid: NotRequired[NonEmptyString]

The global identifier used to identify a resource.

resource_id instance-attribute

resource_id: NotRequired[NonEmptyString]

The unique identifier for a resource.

resource_info instance-attribute

resource_info: NotRequired[ResourceInfo]

Additional resource-type-specific details. For self-hosted AI resources and their host resources, contains an AIDetails structure.

resource_name instance-attribute

resource_name: NotRequired[NonEmptyString]

The name of the resource.

resource_owner_account_id instance-attribute

resource_owner_account_id: NotRequired[NonEmptyString]

The identifier of the cloud account that owns the resource. For Amazon Web Services resources, this is the Amazon Web Services account ID. For Azure resources, this is the Azure subscription ID.

resource_owner_org_id instance-attribute

resource_owner_org_id: NotRequired[NonEmptyString]

The identifier of the cloud organization that owns the resource. For Amazon Web Services resources, this is the Organizations ID. For Azure resources, this is the Azure tenant ID.

resource_provider instance-attribute

resource_provider: NotRequired[NonEmptyString]

The cloud provider where the resource exists. Valid values are AWS and Azure. This field is always included.

resource_region instance-attribute

resource_region: NotRequired[NonEmptyString]

The native cloud region where the resource is located. For Amazon Web Services, this is an Amazon Web Services Region (for example, us-east-1). For Azure resources, this is the Azure region (for example, westus2). This field is always included.

resource_sub_category instance-attribute

resource_sub_category: NotRequired[ResourceSubCategory]

The AI/ML sub-grouping of the resource. Present only when ResourceCategory is AI/ML.

resource_tags instance-attribute

resource_tags: NotRequired[ResourceTagList]

The key-value pairs associated with a resource.

resource_type instance-attribute

resource_type: NotRequired[NonEmptyString]

The type of resource.