Amazon Inspector · JSON Structure

Inspector Lambda Function Aggregation Response Structure

A response that contains the results of an AWS Lambda function finding aggregation.

Type: object Properties: 7 Required: 1
ComplianceContainer SecurityEC2LambdaSecurityVulnerability Scanning

LambdaFunctionAggregationResponse is a JSON Structure definition published by Amazon Inspector, describing 7 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

accountId functionName lambdaTags lastModifiedAt resourceId runtime severityCounts

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-inspector/refs/heads/main/json-structure/inspector-lambda-function-aggregation-response-structure.json",
  "name": "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"
  ]
}