Skip to content

ImageLayerAggregationResponse

Source code in docs_src/capo_inspector2/types/image_layer_aggregation_response.py
class ImageLayerAggregationResponse(TypedDict, closed=True):
    repository: "capo_inspector2.types.non_empty_string.NonEmptyString"
    """<p>The repository the layer resides in.</p>"""
    resource_id: "capo_inspector2.types.non_empty_string.NonEmptyString"
    """<p>The resource ID of the container image layer.</p>"""
    layer_hash: "capo_inspector2.types.non_empty_string.NonEmptyString"
    """<p>The layer hash.</p>"""
    account_id: "capo_inspector2.types.account_id.AccountId"
    """<p>The ID of the Amazon Web Services account that owns the container image hosting the layer image.</p>"""
    cloud_provider: NotRequired["str"]
    """<p>The cloud service provider associated with this image layer 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["str"]
    """<p>The cloud account ID for the image layer aggregation.</p>"""
    cloud_org_id: NotRequired["str"]
    """<p>The cloud organization ID for the image layer aggregation.</p>"""
    cloud_region: NotRequired["str"]
    """<p>The cloud Region associated with this image layer 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_partition: NotRequired["str"]
    """<p>The cloud infrastructure partition associated with this image layer 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>"""
    severity_counts: NotRequired["capo_inspector2.types.severity_counts.SeverityCounts"]
    """<p>An object that represents the count of matched findings per severity.</p>"""

account_id instance-attribute

account_id: AccountId

The ID of the Amazon Web Services account that owns the container image hosting the layer image.

cloud_account_id instance-attribute

cloud_account_id: NotRequired[str]

The cloud account ID for the image layer aggregation.

cloud_org_id instance-attribute

cloud_org_id: NotRequired[str]

The cloud organization ID for the image layer aggregation.

cloud_partition instance-attribute

cloud_partition: NotRequired[str]

The cloud infrastructure partition associated with this image layer 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[str]

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

  • AWS – Findings from Amazon Web Services resources.

  • AZURE – Findings from Microsoft Azure resources.

cloud_region instance-attribute

cloud_region: NotRequired[str]

The cloud Region associated with this image layer 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.

layer_hash instance-attribute

layer_hash: NonEmptyString

The layer hash.

repository instance-attribute

repository: NonEmptyString

The repository the layer resides in.

resource_id instance-attribute

resource_id: NonEmptyString

The resource ID of the container image layer.

severity_counts instance-attribute

severity_counts: NotRequired[SeverityCounts]

An object that represents the count of matched findings per severity.