View a markdown version of this page

ServerlessFunctionAggregation - Inspector

ServerlessFunctionAggregation

An aggregation of information about serverless functions.

Contents

cloudAccountIds

The cloud account IDs to aggregate findings for.

Type: Array of StringFilter objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No

cloudOrgIds

The cloud organization IDs to aggregate findings for.

Type: Array of StringFilter objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No

cloudPartitions

The cloud partitions to aggregate findings for. Valid values:

  • aws – AWS commercial Regions.

  • aws-cn – AWS China Regions.

  • aws-us-gov – AWS GovCloud (US) Regions.

  • AzureCloud – Azure commercial Regions.

Type: Array of StringFilter objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No

cloudProviders

The cloud providers to aggregate findings for. Valid values:

  • AWS – Findings from AWS resources.

  • AZURE – Findings from Microsoft Azure resources.

Type: Array of StringFilter objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No

cloudRegions

The cloud regions to aggregate findings for. The value format depends on the cloud provider:

  • An AWS Region, such as us-east-1.

  • An Azure region, such as eastus.

Type: Array of StringFilter objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No

functionNames

The function names to aggregate findings for.

Type: Array of StringFilter objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No

functionTags

The function tags to aggregate findings for.

Type: Array of MapFilter objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No

resourceIds

The resource IDs to aggregate findings for.

Type: Array of StringFilter objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No

runtimes

The runtimes to aggregate findings for.

Type: Array of StringFilter objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No

sortBy

The value to sort results by. Specify a field name from the aggregation response, such as CRITICAL, HIGH, or ALL.

Type: String

Valid Values: CRITICAL | HIGH | ALL

Required: No

sortOrder

The order to sort results by. Valid values are ASC and DESC.

Type: String

Valid Values: ASC | DESC

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: