mirror of https://github.com/MISP/misp-book
clarifiaction for json rest searches
I was struggling to find the right endpoint to simply search for events that match a given value, thanks to gitter I was able to solve my issue and I would like that to be covered in the documentation as well.pull/82/head
parent
142897178a
commit
09158e4ca7
|
@ -591,6 +591,18 @@ For example, to retrieve all attributes for event #5, including non IDS marked a
|
|||
~~~~
|
||||
https://<misp url>/attributes/text/download/all/null/5/true
|
||||
~~~~
|
||||
|
||||
## RESTful searches with JSON result
|
||||
|
||||
It is possible to search the database for attributes based on a list of criteria
|
||||
|
||||
To return an event with all of its attributes, relations, shadowAttributes, use the following syntax:
|
||||
|
||||
~~~~
|
||||
https://<misp url>/attributes/restSearch/json/[value]/[type]/[category]/[org]/[tag]/[quickfilter]/[from]/[to]/[last]/[eventid]/[withAttachments]/[metadata]/[uuid]
|
||||
~~~~
|
||||
|
||||
|
||||
|
||||
## RESTful searches with XML result export
|
||||
|
||||
|
|
Loading…
Reference in New Issue