SecurityHub / Client / list_finding_aggregators

list_finding_aggregators#

SecurityHub.Client.list_finding_aggregators(**kwargs)#

If cross-Region aggregation is enabled, then ListFindingAggregators returns the Amazon Resource Name (ARN) of the finding aggregator. You can run this operation from any Amazon Web Services Region.

See also: AWS API Documentation

Request Syntax

response = client.list_finding_aggregators(
    NextToken='string',
    MaxResults=123
)
Parameters:
  • NextToken (string) – The token returned with the previous set of results. Identifies the next set of results to return.

  • MaxResults (integer) – The maximum number of results to return. This operation currently only returns a single result.

Return type:

dict

Returns:

Response Syntax

{
    'FindingAggregators': [
        {
            'FindingAggregatorArn': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • FindingAggregators (list) –

      The list of finding aggregators. This operation currently only returns a single result.

      • (dict) –

        A finding aggregator is a Security Hub resource that specifies cross-Region aggregation settings, including the home Region and any linked Regions.

        • FindingAggregatorArn (string) –

          The ARN of the finding aggregator. You use the finding aggregator ARN to retrieve details for, update, and delete the finding aggregator.

    • NextToken (string) –

      If there are more results, this is the token to provide in the next call to ListFindingAggregators.

      This operation currently only returns a single result.

Exceptions

  • SecurityHub.Client.exceptions.InternalException

  • SecurityHub.Client.exceptions.LimitExceededException

  • SecurityHub.Client.exceptions.InvalidAccessException

  • SecurityHub.Client.exceptions.AccessDeniedException

  • SecurityHub.Client.exceptions.InvalidInputException