View a markdown version of this page

ServerlessFunctionAggregationResponse - Inspector
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ServerlessFunctionAggregationResponse

A response that contains the results of a serverless function aggregation.

Contents

resourceId

The resource ID for the serverless function.

Type: String

Length Constraints: Minimum length of 1.

Required: Yes

accountId

The account ID associated with the serverless function.

Type: String

Required: No

cloudAccountId

The cloud account ID for the serverless function aggregation.

Type: String

Length Constraints: Minimum length of 12. Maximum length of 36.

Pattern: (\d{12}|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})

Required: No

cloudOrgId

The cloud organization ID for the serverless function aggregation.

Type: String

Length Constraints: Minimum length of 12. Maximum length of 36.

Pattern: (o-[a-z0-9]{10,32}|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})

Required: No

cloudPartition

The cloud infrastructure partition associated with this serverless function aggregation. Valid values:

  • aws – Amazon commercial Regions.

  • aws-cn – Amazon China Regions.

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

  • AzureCloud – Azure commercial Regions.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: (aws(-[a-z]+)*|Azure[A-Za-z]+)

Required: No

cloudProvider

The cloud service provider associated with this serverless function aggregation. Valid values:

  • AWS – Findings from Amazon resources.

  • AZURE – Findings from Microsoft Azure resources.

Type: String

Valid Values: AWS | AZURE

Required: No

cloudRegion

The cloud Region associated with this serverless function aggregation. The value format depends on the cloud provider:

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

  • An Azure region, such as eastus.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ([a-z]{2}(-[a-z]+)+-\d+|[a-z][a-z0-9]+)

Required: No

exploitAvailableActiveFindingsCount

The number of active findings with an exploit available for the serverless function.

Type: Long

Required: No

fixAvailableActiveFindingsCount

The number of active findings with a fix available for the serverless function.

Type: Long

Required: No

functionName

The name of the serverless function.

Type: String

Required: No

lastModifiedAt

The date and time the serverless function was last modified.

Type: Timestamp

Required: No

runtime

The runtime of the serverless function.

Type: String

Required: No

severityCounts

An object that contains the counts of aggregated finding per severity.

Type: SeverityCounts object

Required: No

tags

The tags attached to the serverless function.

Type: String to string map

Key Length Constraints: Minimum length of 1. Maximum length of 128.

Value Length Constraints: Minimum length of 0. Maximum length of 256.

Required: No

See Also

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