Skip to content

ContainerImageAggregationResponse

Source code in docs_src/capo_inspector2/types/container_image_aggregation_response.py
class ContainerImageAggregationResponse(TypedDict, closed=True):
    resource_id: "capo_inspector2.types.non_empty_string.NonEmptyString"
    """<p>The resource ID for the container image.</p>"""
    cloud_provider: NotRequired["capo_inspector2.types.provider.Provider"]
    """<p>The cloud service provider associated with this container image aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> </ul>"""
    cloud_account_id: NotRequired[
        "capo_inspector2.types.provider_account_id.ProviderAccountId"
    ]
    """<p>The cloud account ID for the container image aggregation.</p>"""
    cloud_partition: NotRequired[
        "capo_inspector2.types.provider_partition.ProviderPartition"
    ]
    """<p>The cloud infrastructure partition associated with this container image aggregation. Valid values:</p> <ul> <li> <p> <code>aws</code> – Amazon Web Services commercial Regions.</p> </li> <li> <p> <code>aws-cn</code> – Amazon Web Services China Regions.</p> </li> <li> <p> <code>aws-us-gov</code> – Amazon Web Services GovCloud (US) Regions.</p> </li> <li> <p> <code>AzureCloud</code> – Azure commercial Regions.</p> </li> </ul>"""
    cloud_region: NotRequired["capo_inspector2.types.provider_region.ProviderRegion"]
    """<p>The cloud Region associated with this container image aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> </ul>"""
    cloud_org_id: NotRequired["capo_inspector2.types.provider_org_id.ProviderOrgId"]
    """<p>The cloud organization ID for the container image aggregation.</p>"""
    image_digest: NotRequired["str"]
    """<p>The image digest for the container image.</p>"""
    repository: NotRequired["str"]
    """<p>The repository for the container image.</p>"""
    registry: NotRequired["str"]
    """<p>The registry for the container image.</p>"""
    architecture: NotRequired["str"]
    """<p>The architecture of the container image.</p>"""
    image_tags: NotRequired["capo_inspector2.types.string_list.StringList"]
    """<p>The image tags attached to the container image.</p>"""
    account_id: NotRequired["str"]
    """<p>The account ID associated with the container image.</p>"""
    severity_counts: NotRequired["capo_inspector2.types.severity_counts.SeverityCounts"]
    last_in_use_at: NotRequired[
        "capo_inspector2.types.date_time_timestamp.DateTimeTimestamp"
    ]
    """<p>The last time the container image was in use.</p>"""
    in_use_count: NotRequired["int"]
    """<p>The number of times the container image is in use.</p>"""
    exploit_available_active_findings_count: NotRequired["int"]
    """<p>The number of active findings with an exploit available for the container image.</p>"""
    fix_available_active_findings_count: NotRequired["int"]
    """<p>The number of active findings with a fix available for the container image.</p>"""

account_id instance-attribute

account_id: NotRequired[str]

The account ID associated with the container image.

architecture instance-attribute

architecture: NotRequired[str]

The architecture of the container image.

cloud_account_id instance-attribute

cloud_account_id: NotRequired[ProviderAccountId]

The cloud account ID for the container image aggregation.

cloud_org_id instance-attribute

cloud_org_id: NotRequired[ProviderOrgId]

The cloud organization ID for the container image aggregation.

cloud_partition instance-attribute

cloud_partition: NotRequired[ProviderPartition]

The cloud infrastructure partition associated with this container image aggregation. Valid values:

  • aws – Amazon Web Services commercial Regions.

  • aws-cn – Amazon Web Services China Regions.

  • aws-us-gov – Amazon Web Services GovCloud (US) Regions.

  • AzureCloud – Azure commercial Regions.

cloud_provider instance-attribute

cloud_provider: NotRequired[Provider]

The cloud service provider associated with this container image aggregation. Valid values:

  • AWS – Findings from Amazon Web Services resources.

  • AZURE – Findings from Microsoft Azure resources.

cloud_region instance-attribute

cloud_region: NotRequired[ProviderRegion]

The cloud Region associated with this container image aggregation. The value format depends on the cloud provider:

  • An Amazon Web Services Region, such as us-east-1.

  • An Azure region, such as eastus.

exploit_available_active_findings_count instance-attribute

exploit_available_active_findings_count: NotRequired[int]

The number of active findings with an exploit available for the container image.

fix_available_active_findings_count instance-attribute

fix_available_active_findings_count: NotRequired[int]

The number of active findings with a fix available for the container image.

image_digest instance-attribute

image_digest: NotRequired[str]

The image digest for the container image.

image_tags instance-attribute

image_tags: NotRequired[StringList]

The image tags attached to the container image.

in_use_count instance-attribute

in_use_count: NotRequired[int]

The number of times the container image is in use.

last_in_use_at instance-attribute

last_in_use_at: NotRequired[DateTimeTimestamp]

The last time the container image was in use.

registry instance-attribute

registry: NotRequired[str]

The registry for the container image.

repository instance-attribute

repository: NotRequired[str]

The repository for the container image.

resource_id instance-attribute

resource_id: NonEmptyString

The resource ID for the container image.

severity_counts instance-attribute

severity_counts: NotRequired[SeverityCounts]