Skip to content

indicator_get_v1 API Doesn't Return Tags #652

Answered by jshcodes
mtobias-getty asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mtobias-getty!

You will only get a response back containing the tags branch if there are tags set on the indicator. This should hold true for both the indicator_get_v1 and indicator_combined_v1 operations.

Example

import json
from falconpy import IOC

ioc = IOC(client_id="CLIENT_ID_HERE", client_secret="CLIENT_SECRET_HERE")
result = ioc.indicator_combined_v1(filter="value:'1.2.3.4'")["body"]["resources"]
print(json.dumps(result, indent=4))

Which should return you something along the lines of ...

[
    {
        "id": "a9e43608f2dd50138b6REDACTED",
        "type": "ipv4",
        "value": "1.2.3.4",
        "action": "no_action",
        "severity": "",
        "metadata": {},
        "…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@jshcodes
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jshcodes
Comment options

You must be logged in to vote
1 reply
@jshcodes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
iocs IOCs (both) issues and questions API usage General API usage issues and questions
2 participants