Skip to content

GetSoftwareStatisticsV2Request

Source code in docs_src/capo_securityhub/types/get_software_statistics_v2_request.py
class GetSoftwareStatisticsV2Request(TypedDict, closed=True):
    group_by_rules: NotRequired[
        "capo_securityhub.types.software_group_by_rules.SoftwareGroupByRules"
    ]
    """<p>How software statistics should be aggregated and organized in the response.</p>"""
    scopes: NotRequired["capo_securityhub.types.software_scopes.SoftwareScopes"]
    """<p>Limits the results to software on resources from specific organizational units or from the delegated administrator's organization. Only the delegated administrator account can use this parameter. Other accounts receive an <code>AccessDeniedException</code>.</p> <p>This parameter is optional. If you omit it, the delegated administrator sees statistics from all accounts across the entire organization. Other accounts see only statistics for software on their own resources.</p> <p>You can specify up to 10 entries in <code>Scopes.AwsOrganizations</code>. If multiple entries are specified, the entries are combined using OR logic.</p>"""
    sort_order: NotRequired["capo_securityhub.types.sort_order.SortOrder"]
    """<p>Sorts aggregated statistics by count. The default is descending, which returns the values with the highest counts first.</p>"""
    max_statistic_results: NotRequired[
        "capo_securityhub.types.max_statistic_results.MaxStatisticResults"
    ]
    """<p>The maximum number of grouping values to return. Valid values are 1–400. The default is 400.</p>"""

group_by_rules instance-attribute

group_by_rules: NotRequired[SoftwareGroupByRules]

How software statistics should be aggregated and organized in the response.

max_statistic_results instance-attribute

max_statistic_results: NotRequired[MaxStatisticResults]

The maximum number of grouping values to return. Valid values are 1–400. The default is 400.

scopes instance-attribute

scopes: NotRequired[SoftwareScopes]

Limits the results to software on resources from specific organizational units or from the delegated administrator's organization. Only the delegated administrator account can use this parameter. Other accounts receive an AccessDeniedException.

This parameter is optional. If you omit it, the delegated administrator sees statistics from all accounts across the entire organization. Other accounts see only statistics for software on their own resources.

You can specify up to 10 entries in Scopes.AwsOrganizations. If multiple entries are specified, the entries are combined using OR logic.

sort_order instance-attribute

sort_order: NotRequired[SortOrder]

Sorts aggregated statistics by count. The default is descending, which returns the values with the highest counts first.