Export IoCs from a vulnerability

Use this endpoint to export associated IoCs in any of the supported formats: JSON, CSV, STIX.

Examples

Export IoCs from a Vulnerability.

import requests
import urllib

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

Vulnerability's ID

string
required

Export format (one of json, csv, or stix)

Headers
string
required

Your API key

Responses

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