Export IoCs from a given vulnerability's relationship

Use this endpoint to export IoCs from objects associated with the vulnerability. Supported formats include JSON, CSV, and STIX.

Examples

Export files related to a given Vulnerability

import requests
import urllib

object_id = "vulnerability--cve-2022-30190"
relationship = "files"
format = "stix"
url = f"https://www.virustotal.com/api/v3/collections/{object_id}/{relationship}/download/{format}"
headers = {"accept": "application/json","x-apikey": <api-key>}
response = requests.get(url, headers=headers)
Path Params
string
required
string
required
string
required
Headers
string
required
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json