{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-inspector/refs/heads/main/json-schema/inspector-lambda-function-aggregation-response-schema.json", "title": "LambdaFunctionAggregationResponse", "description": "A response that contains the results of an AWS Lambda function finding aggregation.", "type": "object", "properties": { "accountId": { "allOf": [ { "$ref": "#/components/schemas/AccountId" }, { "description": "The ID of the AWS account that owns the AWS Lambda function. " } ] }, "functionName": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "The AWS Lambda function names included in the aggregation results." } ] }, "lambdaTags": { "allOf": [ { "$ref": "#/components/schemas/TagMap" }, { "description": "The tags included in the aggregation results." } ] }, "lastModifiedAt": { "allOf": [ { "$ref": "#/components/schemas/DateTimeTimestamp" }, { "description": "The date that the AWS Lambda function included in the aggregation results was last changed." } ] }, "resourceId": { "allOf": [ { "$ref": "#/components/schemas/NonEmptyString" }, { "description": "The resource IDs included in the aggregation results." } ] }, "runtime": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "The runtimes included in the aggregation results." } ] }, "severityCounts": { "type": "object", "properties": { "all": { "allOf": [ { "$ref": "#/components/schemas/Long" }, { "description": "The total count of findings from all severities." } ] }, "critical": { "allOf": [ { "$ref": "#/components/schemas/Long" }, { "description": "The total count of critical severity findings." } ] }, "high": { "allOf": [ { "$ref": "#/components/schemas/Long" }, { "description": "The total count of high severity findings." } ] }, "medium": { "allOf": [ { "$ref": "#/components/schemas/Long" }, { "description": "The total count of medium severity findings." } ] } }, "description": "An object that contains the counts of aggregated finding per severity." } }, "required": [ "resourceId" ] }