Skip to content

InventoryAggregateResult

Source code in docs_src/capo_acm/types/inventory_aggregate_result.py
class InventoryAggregateResult(TypedDict, closed=True):
    aggregate: "capo_acm.types.inventory_aggregate.InventoryAggregate"
    """The aggregate this result reports."""
    status: "capo_acm.types.inventory_aggregate_status.InventoryAggregateStatus"
    """COMPLETE results include Groups; FAILED results omit them."""
    updated_at: NotRequired["datetime.datetime"]
    """When this aggregate's counts were last recomputed, in UTC. EXPIRY_WINDOW measures days remaining from this time. Absent when Status is FAILED, or when the organization's counts have not been computed yet."""
    groups: NotRequired[
        "capo_acm.types.inventory_aggregate_group_list.InventoryAggregateGroupList"
    ]
    """Present only when Status is COMPLETE. Can be empty for a ranked aggregate."""
    other_count: NotRequired["int"]
    """The total count of certificates in ranked groups beyond the 100 returned. Absent when every group was returned."""
    certificate_type_groups: NotRequired[
        "capo_acm.types.inventory_certificate_type_group_list.InventoryCertificateTypeGroupList"
    ]
    """The severity groups of each certificate type. Present only on a COMPLETE HIGHEST_FINDING_SEVERITY result requested with GroupBy CERTIFICATE_TYPE. Groups still holds the severity groups of all certificate types. A certificate type with no certificates is omitted. The rest are ordered alphabetically by CertificateType value."""

aggregate instance-attribute

aggregate: InventoryAggregate

The aggregate this result reports.

certificate_type_groups instance-attribute

certificate_type_groups: NotRequired[InventoryCertificateTypeGroupList]

The severity groups of each certificate type. Present only on a COMPLETE HIGHEST_FINDING_SEVERITY result requested with GroupBy CERTIFICATE_TYPE. Groups still holds the severity groups of all certificate types. A certificate type with no certificates is omitted. The rest are ordered alphabetically by CertificateType value.

groups instance-attribute

groups: NotRequired[InventoryAggregateGroupList]

Present only when Status is COMPLETE. Can be empty for a ranked aggregate.

other_count instance-attribute

other_count: NotRequired[int]

The total count of certificates in ranked groups beyond the 100 returned. Absent when every group was returned.

status instance-attribute

COMPLETE results include Groups; FAILED results omit them.

updated_at instance-attribute

updated_at: NotRequired[datetime]

When this aggregate's counts were last recomputed, in UTC. EXPIRY_WINDOW measures days remaining from this time. Absent when Status is FAILED, or when the organization's counts have not been computed yet.