---
updatedAt: 2026-07-26T12:14:49.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/security/llms.txt
---

# Get all related images for a CVE

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Runtime Security RESTful API",
    "version": "1.0.0",
    "description": "This document describes the Runtime Security RESTful API.<br/>\nAt the moment these API Endpoints can only be used internally,<br/>\nby the Runtime Frontend and other JPD services.\n"
  },
  "servers": [
    {
      "url": "http://localhost:9999/v1",
      "description": "localhost"
    },
    {
      "url": "http://demo-runtime.jfrog.net/v1",
      "description": "demo"
    }
  ],
  "tags": [
    {
      "name": "Vulnerabilities",
      "description": "Runtime vulnerability details and related image lookups."
    }
  ],
  "paths": {
    "/vulnerabilities/related-images": {
      "post": {
        "tags": [
          "Vulnerabilities"
        ],
        "summary": "Get all related images for a CVE",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VulnerabilityRelatedImagesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VulnerabilityRelatedImagesResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Error message."
          }
        },
        "required": [
          "message"
        ]
      },
      "RelatedImage": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "tag": {
            "type": "string"
          },
          "arch": {
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "registry": {
            "type": "string"
          }
        }
      },
      "VulnerabilityRelatedImagesRequest": {
        "type": "object",
        "required": [
          "xray_id"
        ],
        "properties": {
          "xray_id": {
            "type": "string",
            "description": "Xray vulnerability identifier to fetch related images for"
          },
          "image_name": {
            "type": "string",
            "description": "Optional image name filter (case-insensitive substring match)"
          }
        }
      },
      "VulnerabilityRelatedImagesResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "calculating",
              "ready"
            ]
          },
          "next_poll_ms": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "total_count": {
            "type": "integer",
            "format": "int64"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RelatedImage"
            }
          }
        }
      }
    }
  }
}
```