Skip to content

ImageLayerAggregation

Source code in docs_src/capo_inspector2/types/image_layer_aggregation.py
class ImageLayerAggregation(TypedDict, closed=True):
    repositories: NotRequired[
        "capo_inspector2.types.string_filter_list.StringFilterList"
    ]
    """<p>The repository associated with the container image hosting the layers.</p>"""
    resource_ids: NotRequired[
        "capo_inspector2.types.string_filter_list.StringFilterList"
    ]
    """<p>The ID of the container image layer.</p>"""
    layer_hashes: NotRequired[
        "capo_inspector2.types.string_filter_list.StringFilterList"
    ]
    """<p>The hashes associated with the layers.</p>"""
    cloud_providers: NotRequired[
        "capo_inspector2.types.string_filter_list.StringFilterList"
    ]
    """<p>The cloud providers to aggregate findings for. 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_ids: NotRequired[
        "capo_inspector2.types.string_filter_list.StringFilterList"
    ]
    """<p>The cloud account IDs to aggregate findings for.</p>"""
    cloud_org_ids: NotRequired[
        "capo_inspector2.types.string_filter_list.StringFilterList"
    ]
    """<p>The cloud organization IDs to aggregate findings for.</p>"""
    cloud_regions: NotRequired[
        "capo_inspector2.types.string_filter_list.StringFilterList"
    ]
    """<p>The cloud regions to aggregate findings for. 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_partitions: NotRequired[
        "capo_inspector2.types.string_filter_list.StringFilterList"
    ]
    """<p>The cloud partitions to aggregate findings for. 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>"""
    sort_order: NotRequired["capo_inspector2.types.sort_order.SortOrder"]
    """<p>The order to sort results by.</p>"""
    sort_by: NotRequired["capo_inspector2.types.image_layer_sort_by.ImageLayerSortBy"]
    """<p>The value to sort results by.</p>"""

cloud_account_ids instance-attribute

cloud_account_ids: NotRequired[StringFilterList]

The cloud account IDs to aggregate findings for.

cloud_org_ids instance-attribute

cloud_org_ids: NotRequired[StringFilterList]

The cloud organization IDs to aggregate findings for.

cloud_partitions instance-attribute

cloud_partitions: NotRequired[StringFilterList]

The cloud partitions to aggregate findings for. 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_providers instance-attribute

cloud_providers: NotRequired[StringFilterList]

The cloud providers to aggregate findings for. Valid values:

  • AWS – Findings from Amazon Web Services resources.

  • AZURE – Findings from Microsoft Azure resources.

cloud_regions instance-attribute

cloud_regions: NotRequired[StringFilterList]

The cloud regions to aggregate findings for. 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_hashes instance-attribute

layer_hashes: NotRequired[StringFilterList]

The hashes associated with the layers.

repositories instance-attribute

repositories: NotRequired[StringFilterList]

The repository associated with the container image hosting the layers.

resource_ids instance-attribute

resource_ids: NotRequired[StringFilterList]

The ID of the container image layer.

sort_by instance-attribute

sort_by: NotRequired[ImageLayerSortBy]

The value to sort results by.

sort_order instance-attribute

sort_order: NotRequired[SortOrder]

The order to sort results by.