Merge pull request #325 from winklerrr/patch-1

Update pymisp tutorial
pull/328/head
Raphaël Vinot 2019-01-26 13:31:37 +01:00 committed by GitHub
commit 7e8544b175
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -315,9 +315,11 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"results = misp.search_index(eventinfo='notebook')\n", "result = misp.search_index(eventinfo='notebook')\n",
"events = result['response']\n",
"\n", "\n",
"for event in results:\n", "print('Found ', len(events), ' events!')\n",
"for event in events:\n",
" print(event['id'], ':', event['info'])" " print(event['id'], ':', event['info'])"
] ]
}, },