}
response = requests.request(
"GET",
url,
headers=headers,
params=querystring
)
print(response.text)
Example 11-21 shows the JSON response to the request
in Example 11-20.
Example 11-21 Threat Grid Search Response
Click here to view code image
{
"api_version": 2,
"id": 4482656,
"data": {
"index": 0,
"total": 1,
"took": 3956,
"timed_out": false,
"items_per_page": 100,
"current_item_count": 1,
"items": [
{
"item": {
"properties": {
"metadata": null
},
"tags": [],
"vm_runtime": 300,
"md5":
"b5c26cab57c41208bd6bf92d495ee1f0",
"state": "succ",
"sha1":
"8fbb3bd96b80e28ea41107728ce8c073cbadb0dd",
"sample":
"b7d3dd2a6d47ea640f719cc76c2122f8",
"filename":
"FlashPlayer.exe",
....cut
Feeds
Threat Grid supports three different types of feeds: