mirror of https://github.com/MISP/misp-book
update automation chapter
parent
274cade47e
commit
13e6d905ab
|
@ -134,6 +134,36 @@ You can configure your tools to automatically download the following file:
|
|||
https://<misp url>/events/csv/download
|
||||
~~~~
|
||||
|
||||
This will download all the valid attributes in your MISP instance (might take some time).
|
||||
|
||||
You can also configure your tools to download the attributes from a specific event. Here is the old legacy CSV export that will work like exporting all attributes:
|
||||
|
||||
~~~~
|
||||
https://<misp url>/events/csv/download/<event-id>
|
||||
~~~~
|
||||
|
||||
Since version 2.4.82, the new export format allows to select more columns using the following query format:
|
||||
|
||||
~~~~
|
||||
https://<misp-instance>/events/csv/download/<event-id>?attributes=timestamp,type,uuid,value
|
||||
~~~~
|
||||
|
||||
The order of columns will be honoured including those related to object level information.
|
||||
|
||||
To select object level columns, simply pre-pend the given object column’s name by object_, such as:
|
||||
|
||||
~~~~
|
||||
https://<misp-instance>/events/csv/download/<event-id>?attributes=timestamp,type,uuid,value&object_attributes=uuid,name
|
||||
~~~~
|
||||
|
||||
The following columns will be returned (all columns related to objects will be prefixed with object_):
|
||||
|
||||
~~~~
|
||||
timestamp,type,uuid,value,object_uuid,object_name
|
||||
~~~~
|
||||
|
||||
includeContext option includes the tags for the event for each line.
|
||||
|
||||
You can specify additional flags for CSV exports as follows:
|
||||
|
||||
POST to:
|
||||
|
@ -1413,4 +1443,3 @@ PyMISP is a Python library to access MISP platforms via their REST API.
|
|||
PyMISP allows you to fetch events, add or update events/attributes, add or update samples or search for attributes.
|
||||
|
||||
[PyMISP is available](https://github.com/MISP/PyMISP) including a documentation with various examples.
|
||||
|
||||
|
|
Loading…
Reference in New Issue