Get IoC Collections associated with a Hunting ruleset

Use this endpoint to list descriptors of IoC Collections associated with a certain Hunting ruleset.

These associations can be added and also deleted by objects' owners and editors.

Examples

Get descriptors of all IoC Collections that are associated with the Hunting ruleset with 20899097850 identifier.

import requests

id = "20899097850"
url = f"https://www.virustotal.com/api/v3/intelligence/hunting_rulesets/{id}/relationships/associations"
headers = {"accept": "application/json","x-apikey": <api-key>}
response = requests.get(url, headers=headers)

Get descriptors of 3 IoC Collections that are associated with the Hunting ruleset with 20899097850 identifier.

import requests

id = "20899097850"
url = f"https://www.virustotal.com/api/v3/intelligence/hunting_rulesets/{id}/relationships/associations"
headers = {"accept": "application/json","x-apikey": <api-key>}
response = requests.get(url, headers=headers)
Path Params
string
required

Ruleset identifier

Query Params
int32
0 to 40
Defaults to 10

Maximum number of related objects to retrieve

string

Continuation cursor

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