mirror of https://github.com/MISP/PyMISP
commit
7e8544b175
|
@ -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'])"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue