Get object descriptors related to a vulnerability

🚧

Special privileges required

Vulnerability Intelligence is only available to users with the Google Threat Intelligence (Google TI) Enterprise or Enterprise Plus licenses.

This endpoint is the same as /collections/{id}/{relationship} except it returns just the related object's descriptor instead of returning all attributes.

Vulnerability's available relationships are described in the Vulnerability object documentation.

Examples

Get files descriptors related to a vulnerability.

import requests
import urllib

object_id = "vulnerability--cve-2022-30190"
relationship = "files"
limit = 10
url = f"https://www.virustotal.com/api/v3/collections/{object_id}/relationships/{relationship}?limit={limit}"
headers = {"accept": "application/json","x-apikey": <api-key>}
response = requests.get(url, headers=headers)
Language
Click Try It! to start a request and see the response here!