{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kenna-security/json-schema/kenna-security-service-now-vulnerability-get-response-schema-schema.json",
  "title": "service_now_vulnerability_get_response_schema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kenna-security-integrations-api-openapi.yml#/components/schemas/service_now_vulnerability_get_response_schema",
  "type": "object",
  "properties": {
    "primary-locator": {
      "type": "string",
      "description": "The primary locator used for the corresponding asset. This is required to associate the vulnerability with the asset it was found on. This should be one of the following values: application, ec2, external_id, database, fqdn, hostname, ip-address, mac-address, netbios, or url.  Use this value with '-locator' to find the primary locator field.  For example, the value 'hostname' would have a field 'hostname-locator'."
    },
    "ec2-locator": {
      "type": "string",
      "description": "Asset Amazon EC2 identifier."
    },
    "url-locator": {
      "type": "string",
      "description": "Asset URL."
    },
    "file-locator": {
      "type": "string",
      "description": "File name of the asset."
    },
    "fqdn-locator": {
      "type": "string",
      "description": "Fully Qualified Domain Name (FQDN) of the asset."
    },
    "database-locator": {
      "type": "string",
      "description": "Asset database."
    },
    "application-locator": {
      "type": "string",
      "description": "Application name of the asset."
    },
    "ip-address-locator": {
      "type": "string",
      "description": "The IP address of the asset."
    },
    "mac-address-locator": {
      "type": "string",
      "description": "The MAC address of the asset"
    },
    "asset-id": {
      "type": "integer",
      "description": "The asset ID associated with the vulnerability."
    },
    "asset-score": {
      "type": "integer",
      "description": "The the asset score between 0 and 1000."
    },
    "id": {
      "type": "integer",
      "description": "The vulnerability ID."
    },
    "status": {
      "type": "string",
      "description": "The status of the vulnerability.",
      "enum": [
        "closed",
        "closed_by_human",
        "false_positive_by_human",
        "open",
        "open_by_api",
        "risk_accepted_by_human"
      ]
    },
    "last-seen-time": {
      "type": "string",
      "description": "The date of the vulnerability was last seen in ISO 8601 format.",
      "format": "date-time"
    },
    "fix-id": {
      "type": "integer",
      "description": "The fix ID of the vulnerability if there is one."
    },
    "first-found-on": {
      "type": "string",
      "description": "The date the vulnerability was first found in ISO 8601 format.",
      "format": "date-time"
    },
    "vulnerability-score": {
      "type": "integer",
      "description": "The vulnerability score from 0 to 100."
    },
    "name": {
      "type": "string",
      "description": "The name on the vulnerability."
    },
    "cve-id": {
      "type": "string",
      "description": "The CVE ID."
    },
    "all-details-html": {
      "type": "string",
      "description": "Vulnerability details."
    },
    "latest-scanner-id": {
      "type": "integer",
      "description": "The ID of the scanner that found this vulnerability and ran most recently."
    },
    "last-scan-at": {
      "type": "string",
      "description": "The date and time of the most recent run of any scanner that found this vulnerability.",
      "format": "date-time"
    }
  }
}