Amazon Inspector · JSON Structure

Inspector Image Layer Aggregation Response Structure

A response that contains the results of a finding aggregation by image layer.

Type: object Properties: 5 Required: 4
ComplianceContainer SecurityEC2LambdaSecurityVulnerability Scanning

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

Properties

accountId layerHash repository resourceId 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-image-layer-aggregation-response-structure.json",
  "name": "ImageLayerAggregationResponse",
  "description": "A response that contains the results of a finding aggregation by image layer.",
  "type": "object",
  "properties": {
    "accountId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AccountId"
        },
        {
          "description": "The ID of the Amazon Web Services account that owns the container image hosting the layer image."
        }
      ]
    },
    "layerHash": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonEmptyString"
        },
        {
          "description": "The layer hash."
        }
      ]
    },
    "repository": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonEmptyString"
        },
        {
          "description": "The repository the layer resides in."
        }
      ]
    },
    "resourceId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonEmptyString"
        },
        {
          "description": "The resource ID of the container image layer."
        }
      ]
    },
    "severityCounts": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SeverityCounts"
        },
        {
          "description": "An object that represents the count of matched findings per severity."
        }
      ]
    }
  },
  "required": [
    "accountId",
    "layerHash",
    "repository",
    "resourceId"
  ]
}