Amazon Inspector · Schema

CodeVulnerabilityDetails

Contains information on the code vulnerability identified in your Lambda function.

ComplianceContainer SecurityEC2LambdaSecurityVulnerability Scanning

Properties

Name Type Description
cwes object
detectorId object
detectorName object
detectorTags object
filePath object
referenceUrls object
ruleId object
sourceLambdaLayerArn object
View JSON Schema on GitHub

JSON Schema

inspector-code-vulnerability-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-inspector/refs/heads/main/json-schema/inspector-code-vulnerability-details-schema.json",
  "title": "CodeVulnerabilityDetails",
  "description": "Contains information on the code vulnerability identified in your Lambda function.",
  "type": "object",
  "properties": {
    "cwes": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CweList"
        },
        {
          "description": "The Common Weakness Enumeration (CWE) item associated with the detected vulnerability."
        }
      ]
    },
    "detectorId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonEmptyString"
        },
        {
          "description": "The ID for the Amazon CodeGuru detector associated with the finding. For more information on detectors see <a href=\"https://docs.aws.amazon.com/codeguru/detector-library\">Amazon CodeGuru Detector Library</a>."
        }
      ]
    },
    "detectorName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonEmptyString"
        },
        {
          "description": "The name of the detector used to identify the code vulnerability. For more information on detectors see <a href=\"https://docs.aws.amazon.com/codeguru/detector-library\">CodeGuru Detector Library</a>."
        }
      ]
    },
    "detectorTags": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DetectorTagList"
        },
        {
          "description": "The detector tag associated with the vulnerability. Detector tags group related vulnerabilities by common themes or tactics. For a list of available tags by programming language, see <a href=\"https://docs.aws.amazon.com/codeguru/detector-library/java/tags/\">Java tags</a>, or <a href=\"https://docs.aws.amazon.com/codeguru/detector-library/python/tags/\">Python tags</a>. "
        }
      ]
    },
    "filePath": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CodeFilePath"
        },
        {
          "description": "Contains information on where the code vulnerability is located in your code."
        }
      ]
    },
    "referenceUrls": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ReferenceUrls"
        },
        {
          "description": "A URL containing supporting documentation about the code vulnerability detected."
        }
      ]
    },
    "ruleId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonEmptyString"
        },
        {
          "description": "The identifier for a rule that was used to detect the code vulnerability."
        }
      ]
    },
    "sourceLambdaLayerArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LambdaLayerArn"
        },
        {
          "description": "The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability was detected in."
        }
      ]
    }
  },
  "required": [
    "cwes",
    "detectorId",
    "detectorName",
    "filePath"
  ]
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/inspector-code-vulnerability-details"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.