{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-inspector/json-schema/amazon-inspector-search-vulnerabilities-response-schema.json",
  "title": "SearchVulnerabilitiesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-inspector-vulnerabilities-api-openapi.yml#/components/schemas/SearchVulnerabilitiesResponse",
  "type": "object",
  "properties": {
    "vulnerabilities": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Vulnerability"
      },
      "description": "Details about the listed vulnerability."
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination parameter to be used on the next list operation to retrieve more items."
    }
  },
  "required": [
    "vulnerabilities"
  ],
  "$defs": {
    "AtigData": {
      "type": "object",
      "properties": {
        "firstSeen": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time this vulnerability was first observed."
        },
        "lastSeen": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time this vulnerability was last observed."
        },
        "targets": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The commercial sectors this vulnerability targets."
        },
        "ttps": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The MITRE ATT&amp;CK tactics, techniques, and procedures (TTPs) associated with vulnerability."
        }
      }
    },
    "CisaData": {
      "type": "object",
      "properties": {
        "dateAdded": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time CISA added this vulnerability to their catalogue."
        },
        "dateDue": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time CISA expects a fix to have been provided vulnerability."
        },
        "action": {
          "type": "string",
          "description": "The remediation action recommended by CISA for this vulnerability."
        }
      }
    },
    "Cvss2": {
      "type": "object",
      "properties": {
        "baseScore": {
          "type": "number",
          "description": "The CVSS v2 base score for the vulnerability."
        },
        "scoringVector": {
          "type": "string",
          "description": "The scoring vector associated with the CVSS v2 score."
        }
      }
    },
    "Cvss3": {
      "type": "object",
      "properties": {
        "baseScore": {
          "type": "number",
          "description": "The CVSS v3 base score for the vulnerability."
        },
        "scoringVector": {
          "type": "string",
          "description": "The scoring vector associated with the CVSS v3 score."
        }
      }
    },
    "Cvss4": {
      "type": "object",
      "properties": {
        "baseScore": {
          "type": "number",
          "description": "The base CVSS v4 score for the vulnerability finding, which rates the severity of the vulnerability on a scale from 0 to 10."
        },
        "scoringVector": {
          "type": "string",
          "description": "The CVSS v4 scoring vector, which contains the metrics and measurements that were used to calculate the base score."
        }
      }
    },
    "Epss": {
      "type": "object",
      "properties": {
        "score": {
          "type": "number",
          "description": "The Exploit Prediction Scoring System (EPSS) score."
        }
      }
    },
    "ExploitObserved": {
      "type": "object",
      "properties": {
        "lastSeen": {
          "type": "string",
          "format": "date-time",
          "description": "The date an time when the exploit was last seen."
        },
        "firstSeen": {
          "type": "string",
          "format": "date-time",
          "description": "The date an time when the exploit was first seen."
        }
      }
    },
    "Vulnerability": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID for the specific vulnerability."
        },
        "cwes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Common Weakness Enumeration (CWE) associated with the vulnerability."
        },
        "cisaData": {
          "$ref": "#/$defs/CisaData"
        },
        "source": {
          "type": "string",
          "description": "The source of the vulnerability information. Possible results are RHEL, AMAZON_CVE, DEBIAN or NVD."
        },
        "description": {
          "type": "string",
          "description": "A description of the vulnerability."
        },
        "atigData": {
          "$ref": "#/$defs/AtigData"
        },
        "vendorSeverity": {
          "type": "string",
          "description": "The severity assigned by the vendor."
        },
        "cvss4": {
          "$ref": "#/$defs/Cvss4"
        },
        "cvss3": {
          "$ref": "#/$defs/Cvss3"
        },
        "relatedVulnerabilities": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of related vulnerabilities."
        },
        "cvss2": {
          "$ref": "#/$defs/Cvss2"
        },
        "vendorCreatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the vendor created this vulnerability."
        },
        "vendorUpdatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the vendor last updated this vulnerability."
        },
        "sourceUrl": {
          "type": "string",
          "description": "A link to the official source material for this vulnerability."
        },
        "referenceUrls": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Links to various resources with more information on this vulnerability."
        },
        "exploitObserved": {
          "$ref": "#/$defs/ExploitObserved"
        },
        "detectionPlatforms": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Platforms that the vulnerability can be detected on."
        },
        "epss": {
          "$ref": "#/$defs/Epss"
        }
      },
      "required": [
        "id"
      ]
    }
  }
}