Skip to content

Artifact ID? #514

Answered by jshcodes
philldtaylor asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @philldtaylor!

Try this sample and let us know if it helps. Currently configured to download both types of the four formats (broad and strict for csv, json, stix and maec).

import json
from falconpy import FalconXSandbox

sandbox = FalconXSandbox(client_id="CLIENT_ID_HERE",
                         client_secret="CLIENT_SECRET_HERE"
                         )

FORMATS = ["csv", "json", "stix", "maec"]
TYPES = ["broad", "strict"]

# Get a list of available reports
reports = sandbox.query_reports()   # Use the filter parameter to prune this initial list

# Just grabbing the first one for our example
report_id = reports["body"]["resources"][0]

# Retrieve report details for this report
re…

Replies: 2 comments

Comment options

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

You must be logged in to vote
0 replies
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 Falcon Intelligence Falcon Intelligence issues and questions
2 participants