Amazon Inspector · Schema
ListFindingAggregationsResponse
Amazon Web ServicesComplianceContainer SecurityEC2LambdaSecurityVulnerability ScanningVulnerability Management
Properties
| Name | Type | Description |
|---|---|---|
| aggregationType | string | The type of aggregation to perform. |
| responses | array | Objects that contain the results of an aggregation operation. |
| nextToken | string | A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value r |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-inspector/json-schema/amazon-inspector-list-finding-aggregations-response-schema.json",
"title": "ListFindingAggregationsResponse",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-inspector-findings-api-openapi.yml#/components/schemas/ListFindingAggregationsResponse",
"type": "object",
"properties": {
"aggregationType": {
"type": "string",
"description": "The type of aggregation to perform."
},
"responses": {
"type": "array",
"items": {
"$ref": "#/$defs/AggregationResponse"
},
"description": "Objects that contain the results of an aggregation operation."
},
"nextToken": {
"type": "string",
"description": "A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page."
}
},
"required": [
"aggregationType"
],
"$defs": {
"AccountAggregationResponse": {
"type": "object",
"properties": {
"accountId": {
"type": "string",
"description": "The Amazon Web Services account ID."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
},
"exploitAvailableCount": {
"type": "integer",
"description": "The number of findings that have an exploit available."
},
"fixAvailableCount": {
"type": "integer",
"description": "Details about the number of fixes."
}
}
},
"AggregationResponse": {
"type": "object",
"properties": {
"accountAggregation": {
"$ref": "#/$defs/AccountAggregationResponse"
},
"amiAggregation": {
"$ref": "#/$defs/AmiAggregationResponse"
},
"awsEcrContainerAggregation": {
"$ref": "#/$defs/AwsEcrContainerAggregationResponse"
},
"ec2InstanceAggregation": {
"$ref": "#/$defs/Ec2InstanceAggregationResponse"
},
"findingTypeAggregation": {
"$ref": "#/$defs/FindingTypeAggregationResponse"
},
"imageLayerAggregation": {
"$ref": "#/$defs/ImageLayerAggregationResponse"
},
"packageAggregation": {
"$ref": "#/$defs/PackageAggregationResponse"
},
"repositoryAggregation": {
"$ref": "#/$defs/RepositoryAggregationResponse"
},
"titleAggregation": {
"$ref": "#/$defs/TitleAggregationResponse"
},
"lambdaLayerAggregation": {
"$ref": "#/$defs/LambdaLayerAggregationResponse"
},
"lambdaFunctionAggregation": {
"$ref": "#/$defs/LambdaFunctionAggregationResponse"
},
"codeRepositoryAggregation": {
"$ref": "#/$defs/CodeRepositoryAggregationResponse"
},
"vmInstanceAggregation": {
"$ref": "#/$defs/VmInstanceAggregationResponse"
},
"containerImageAggregation": {
"$ref": "#/$defs/ContainerImageAggregationResponse"
},
"serverlessFunctionAggregation": {
"$ref": "#/$defs/ServerlessFunctionAggregationResponse"
}
},
"description": "Exactly one member is set."
},
"AmiAggregationResponse": {
"type": "object",
"properties": {
"ami": {
"type": "string",
"description": "The ID of the AMI that findings were aggregated for."
},
"accountId": {
"type": "string",
"description": "The Amazon Web Services account ID for the AMI."
},
"cloudProvider": {
"type": "string",
"description": "The cloud service provider associated with this Amazon Machine Image (AMI) aggregation. Valid values: AWS – Findings from Amazon Web Services resources. AZURE – Findings from Microsoft Azure resources."
},
"cloudPartition": {
"type": "string",
"description": "The cloud infrastructure partition associated with this AMI aggregation. Valid values: aws – Amazon Web Services commercial Regions. aws-cn – Amazon Web Services China Regions. aws-us-gov – Amazon Web Services GovCloud (US) Regions. AzureCloud – Azure commercial Regions."
},
"cloudRegion": {
"type": "string",
"description": "The cloud Region associated with this AMI aggregation. The value format depends on the cloud provider: An Amazon Web Services Region, such as us-east-1. An Azure region, such as eastus."
},
"cloudOrgId": {
"type": "string",
"description": "The cloud organization ID for the AMI aggregation."
},
"cloudAccountId": {
"type": "string",
"description": "The cloud account ID for the AMI aggregation."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
},
"affectedInstances": {
"type": "integer",
"description": "The IDs of Amazon EC2 instances using this AMI."
},
"scanSource": {
"type": "string",
"description": "The source of the scan that generated the findings for the Amazon Machine Image (AMI)."
}
},
"required": [
"ami"
]
},
"AwsEcrContainerAggregationResponse": {
"type": "object",
"properties": {
"resourceId": {
"type": "string",
"description": "The resource ID of the container."
},
"imageSha": {
"type": "string",
"description": "The SHA value of the container image."
},
"repository": {
"type": "string",
"description": "The container repository."
},
"architecture": {
"type": "string",
"description": "The architecture of the container."
},
"imageTags": {
"type": "array",
"items": {
"type": "string"
},
"description": "The container image stags."
},
"accountId": {
"type": "string",
"description": "The Amazon Web Services account ID of the account that owns the container."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
},
"lastInUseAt": {
"type": "string",
"format": "date-time",
"description": "The last time an Amazon ECR image was used in an Amazon ECS task or Amazon EKS pod."
},
"inUseCount": {
"type": "integer",
"description": "The number of Amazon ECS tasks or Amazon EKS pods where the Amazon ECR container image is in use."
}
},
"required": [
"resourceId"
]
},
"CodeRepositoryAggregationResponse": {
"type": "object",
"properties": {
"projectNames": {
"type": "string",
"description": "The names of the projects associated with the code repository."
},
"providerType": {
"type": "string",
"description": "The type of repository provider for the code repository."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
},
"exploitAvailableActiveFindingsCount": {
"type": "integer",
"description": "The number of active findings that have an exploit available for the code repository."
},
"fixAvailableActiveFindingsCount": {
"type": "integer",
"description": "The number of active findings that have a fix available for the code repository."
},
"accountId": {
"type": "string",
"description": "The Amazon Web Services account ID associated with the code repository."
},
"resourceId": {
"type": "string",
"description": "The resource ID of the code repository."
}
},
"required": [
"projectNames"
]
},
"ContainerImageAggregationResponse": {
"type": "object",
"properties": {
"resourceId": {
"type": "string",
"description": "The resource ID for the container image."
},
"cloudProvider": {
"type": "string",
"description": "The cloud service provider associated with this container image aggregation. Valid values: AWS – Findings from Amazon Web Services resources. AZURE – Findings from Microsoft Azure resources."
},
"cloudAccountId": {
"type": "string",
"description": "The cloud account ID for the container image aggregation."
},
"cloudPartition": {
"type": "string",
"description": "The cloud infrastructure partition associated with this container image aggregation. Valid values: aws – Amazon Web Services commercial Regions. aws-cn – Amazon Web Services China Regions. aws-us-gov – Amazon Web Services GovCloud (US) Regions. AzureCloud – Azure commercial Regions."
},
"cloudRegion": {
"type": "string",
"description": "The cloud Region associated with this container image aggregation. The value format depends on the cloud provider: An Amazon Web Services Region, such as us-east-1. An Azure region, such as eastus."
},
"cloudOrgId": {
"type": "string",
"description": "The cloud organization ID for the container image aggregation."
},
"imageDigest": {
"type": "string",
"description": "The image digest for the container image."
},
"repository": {
"type": "string",
"description": "The repository for the container image."
},
"registry": {
"type": "string",
"description": "The registry for the container image."
},
"architecture": {
"type": "string",
"description": "The architecture of the container image."
},
"imageTags": {
"type": "array",
"items": {
"type": "string"
},
"description": "The image tags attached to the container image."
},
"accountId": {
"type": "string",
"description": "The account ID associated with the container image."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
},
"lastInUseAt": {
"type": "string",
"format": "date-time",
"description": "The last time the container image was in use."
},
"inUseCount": {
"type": "integer",
"description": "The number of times the container image is in use."
},
"exploitAvailableActiveFindingsCount": {
"type": "integer",
"description": "The number of active findings with an exploit available for the container image."
},
"fixAvailableActiveFindingsCount": {
"type": "integer",
"description": "The number of active findings with a fix available for the container image."
}
},
"required": [
"resourceId"
]
},
"Ec2InstanceAggregationResponse": {
"type": "object",
"properties": {
"instanceId": {
"type": "string",
"description": "The Amazon EC2 instance ID."
},
"ami": {
"type": "string",
"description": "The Amazon Machine Image (AMI) of the Amazon EC2 instance."
},
"operatingSystem": {
"type": "string",
"description": "The operating system of the Amazon EC2 instance."
},
"instanceTags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The tags attached to the instance."
},
"accountId": {
"type": "string",
"description": "The Amazon Web Services account for the Amazon EC2 instance."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
},
"networkFindings": {
"type": "integer",
"description": "The number of network findings for the Amazon EC2 instance."
}
},
"required": [
"instanceId"
]
},
"FindingTypeAggregationResponse": {
"type": "object",
"properties": {
"accountId": {
"type": "string",
"description": "The ID of the Amazon Web Services account associated with the findings."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
},
"exploitAvailableCount": {
"type": "integer",
"description": "The number of findings that have an exploit available."
},
"fixAvailableCount": {
"type": "integer",
"description": "Details about the number of fixes."
},
"cloudProvider": {
"type": "string",
"description": "The cloud service provider associated with this finding type aggregation. Valid values: AWS – Findings from Amazon Web Services resources. AZURE – Findings from Microsoft Azure resources."
},
"cloudAccountId": {
"type": "string",
"description": "The cloud account ID for the finding type aggregation."
},
"cloudOrgId": {
"type": "string",
"description": "The cloud organization ID for the finding type aggregation."
},
"cloudRegion": {
"type": "string",
"description": "The cloud Region associated with this finding type aggregation. The value format depends on the cloud provider: An Amazon Web Services Region, such as us-east-1. An Azure region, such as eastus."
},
"cloudPartition": {
"type": "string",
"description": "The cloud infrastructure partition associated with this finding type aggregation. Valid values: aws – Amazon Web Services commercial Regions. aws-cn – Amazon Web Services China Regions. aws-us-gov – Amazon Web Services GovCloud (US) Regions. AzureCloud – Azure commercial Regions."
}
}
},
"ImageLayerAggregationResponse": {
"type": "object",
"properties": {
"repository": {
"type": "string",
"description": "The repository the layer resides in."
},
"resourceId": {
"type": "string",
"description": "The resource ID of the container image layer."
},
"layerHash": {
"type": "string",
"description": "The layer hash."
},
"accountId": {
"type": "string",
"description": "The ID of the Amazon Web Services account that owns the container image hosting the layer image."
},
"cloudProvider": {
"type": "string",
"description": "The cloud service provider associated with this image layer aggregation. Valid values: AWS – Findings from Amazon Web Services resources. AZURE – Findings from Microsoft Azure resources."
},
"cloudAccountId": {
"type": "string",
"description": "The cloud account ID for the image layer aggregation."
},
"cloudOrgId": {
"type": "string",
"description": "The cloud organization ID for the image layer aggregation."
},
"cloudRegion": {
"type": "string",
"description": "The cloud Region associated with this image layer aggregation. The value format depends on the cloud provider: An Amazon Web Services Region, such as us-east-1. An Azure region, such as eastus."
},
"cloudPartition": {
"type": "string",
"description": "The cloud infrastructure partition associated with this image layer aggregation. Valid values: aws – Amazon Web Services commercial Regions. aws-cn – Amazon Web Services China Regions. aws-us-gov – Amazon Web Services GovCloud (US) Regions. AzureCloud – Azure commercial Regions."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
}
},
"required": [
"repository",
"resourceId",
"layerHash",
"accountId"
]
},
"LambdaFunctionAggregationResponse": {
"type": "object",
"properties": {
"resourceId": {
"type": "string",
"description": "The resource IDs included in the aggregation results."
},
"functionName": {
"type": "string",
"description": "The Amazon Web Services Lambda function names included in the aggregation results."
},
"runtime": {
"type": "string",
"description": "The runtimes included in the aggregation results."
},
"lambdaTags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The tags included in the aggregation results."
},
"accountId": {
"type": "string",
"description": "The ID of the Amazon Web Services account that owns the Amazon Web Services Lambda function."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
},
"lastModifiedAt": {
"type": "string",
"format": "date-time",
"description": "The date that the Amazon Web Services Lambda function included in the aggregation results was last changed."
}
},
"required": [
"resourceId"
]
},
"LambdaLayerAggregationResponse": {
"type": "object",
"properties": {
"functionName": {
"type": "string",
"description": "The names of the Amazon Web Services Lambda functions associated with the layers."
},
"resourceId": {
"type": "string",
"description": "The Resource ID of the Amazon Web Services Lambda function layer."
},
"layerArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the Amazon Web Services Lambda function layer."
},
"accountId": {
"type": "string",
"description": "The account ID of the Amazon Web Services Lambda function layer."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
}
},
"required": [
"functionName",
"resourceId",
"layerArn",
"accountId"
]
},
"PackageAggregationResponse": {
"type": "object",
"properties": {
"packageName": {
"type": "string",
"description": "The name of the operating system package."
},
"accountId": {
"type": "string",
"description": "The ID of the Amazon Web Services account associated with the findings."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
}
},
"required": [
"packageName"
]
},
"RepositoryAggregationResponse": {
"type": "object",
"properties": {
"repository": {
"type": "string",
"description": "The name of the repository associated with the findings."
},
"accountId": {
"type": "string",
"description": "The ID of the Amazon Web Services account associated with the findings."
},
"cloudProvider": {
"type": "string",
"description": "The cloud service provider associated with this repository aggregation. Valid values: AWS – Findings from Amazon Web Services resources. AZURE – Findings from Microsoft Azure resources."
},
"cloudPartition": {
"type": "string",
"description": "The cloud infrastructure partition associated with this repository aggregation. Valid values: aws – Amazon Web Services commercial Regions. aws-cn – Amazon Web Services China Regions. aws-us-gov – Amazon Web Services GovCloud (US) Regions. AzureCloud – Azure commercial Regions."
},
"cloudRegion": {
"type": "string",
"description": "The cloud Region associated with this repository aggregation. The value format depends on the cloud provider: An Amazon Web Services Region, such as us-east-1. An Azure region, such as eastus."
},
"cloudOrgId": {
"type": "string",
"description": "The cloud organization ID for the repository aggregation."
},
"cloudAccountId": {
"type": "string",
"description": "The cloud account ID for the repository aggregation."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
},
"affectedImages": {
"type": "integer",
"description": "The number of container images impacted by the findings."
}
},
"required": [
"repository"
]
},
"ServerlessFunctionAggregationResponse": {
"type": "object",
"properties": {
"resourceId": {
"type": "string",
"description": "The resource ID for the serverless function."
},
"cloudProvider": {
"type": "string",
"description": "The cloud service provider associated with this serverless function aggregation. Valid values: AWS – Findings from Amazon Web Services resources. AZURE – Findings from Microsoft Azure resources."
},
"cloudAccountId": {
"type": "string",
"description": "The cloud account ID for the serverless function aggregation."
},
"cloudPartition": {
"type": "string",
"description": "The cloud infrastructure partition associated with this serverless function aggregation. Valid values: aws – Amazon Web Services commercial Regions. aws-cn – Amazon Web Services China Regions. aws-us-gov – Amazon Web Services GovCloud (US) Regions. AzureCloud – Azure commercial Regions."
},
"cloudRegion": {
"type": "string",
"description": "The cloud Region associated with this serverless function aggregation. The value format depends on the cloud provider: An Amazon Web Services Region, such as us-east-1. An Azure region, such as eastus."
},
"cloudOrgId": {
"type": "string",
"description": "The cloud organization ID for the serverless function aggregation."
},
"functionName": {
"type": "string",
"description": "The name of the serverless function."
},
"runtime": {
"type": "string",
"description": "The runtime of the serverless function."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The tags attached to the serverless function."
},
"accountId": {
"type": "string",
"description": "The account ID associated with the serverless function."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
},
"lastModifiedAt": {
"type": "string",
"format": "date-time",
"description": "The date and time the serverless function was last modified."
},
"exploitAvailableActiveFindingsCount": {
"type": "integer",
"description": "The number of active findings with an exploit available for the serverless function."
},
"fixAvailableActiveFindingsCount": {
"type": "integer",
"description": "The number of active findings with a fix available for the serverless function."
}
},
"required": [
"resourceId"
]
},
"SeverityCounts": {
"type": "object",
"properties": {
"all": {
"type": "integer",
"description": "The total count of findings from all severities."
},
"medium": {
"type": "integer",
"description": "The total count of medium severity findings."
},
"high": {
"type": "integer",
"description": "The total count of high severity findings."
},
"critical": {
"type": "integer",
"description": "The total count of critical severity findings."
},
"low": {
"type": "integer",
"description": "The total count of low severity findings."
},
"informational": {
"type": "integer",
"description": "The total count of informational severity findings."
},
"untriaged": {
"type": "integer",
"description": "The total count of untriaged findings."
}
}
},
"TitleAggregationResponse": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title that the findings were aggregated on."
},
"vulnerabilityId": {
"type": "string",
"description": "The vulnerability ID of the finding."
},
"accountId": {
"type": "string",
"description": "The ID of the Amazon Web Services account associated with the findings."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
}
},
"required": [
"title"
]
},
"VmInstanceAggregationResponse": {
"type": "object",
"properties": {
"resourceId": {
"type": "string",
"description": "The resource ID for the VM instance."
},
"cloudProvider": {
"type": "string",
"description": "The cloud service provider associated with this VM instance aggregation. Valid values: AWS – Findings from Amazon Web Services resources. AZURE – Findings from Microsoft Azure resources."
},
"cloudAccountId": {
"type": "string",
"description": "The cloud account ID for the VM instance aggregation."
},
"cloudPartition": {
"type": "string",
"description": "The cloud infrastructure partition associated with this VM instance aggregation. Valid values: aws – Amazon Web Services commercial Regions. aws-cn – Amazon Web Services China Regions. aws-us-gov – Amazon Web Services GovCloud (US) Regions. AzureCloud – Azure commercial Regions."
},
"cloudRegion": {
"type": "string",
"description": "The cloud Region associated with this VM instance aggregation. The value format depends on the cloud provider: An Amazon Web Services Region, such as us-east-1. An Azure region, such as eastus."
},
"cloudOrgId": {
"type": "string",
"description": "The cloud organization ID for the VM instance aggregation."
},
"vmImageReference": {
"type": "string",
"description": "The VM image reference for the VM instance."
},
"operatingSystem": {
"type": "string",
"description": "The operating system of the VM instance."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The tags attached to the VM instance."
},
"accountId": {
"type": "string",
"description": "The account ID associated with the VM instance."
},
"severityCounts": {
"$ref": "#/$defs/SeverityCounts"
},
"networkFindings": {
"type": "integer",
"description": "The number of network findings for the VM instance. This field applies only to Amazon Web Services resources."
},
"exploitAvailableActiveFindingsCount": {
"type": "integer",
"description": "The number of active findings with an exploit available for the VM instance."
},
"fixAvailableActiveFindingsCount": {
"type": "integer",
"description": "The number of active findings with a fix available for the VM instance."
}
},
"required": [
"resourceId"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-inspector-list-finding-aggregations-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.