mirror of https://github.com/MISP/PyMISP
chg: Add comment for controller attribute in search
parent
62cd5173f0
commit
95e31bd2e3
|
@ -2251,6 +2251,7 @@ class PyMISP:
|
|||
**kwargs) -> Union[Dict, str, List[Union[MISPEvent, MISPAttribute, MISPObject]]]:
|
||||
'''Search in the MISP instance
|
||||
|
||||
:param controller: Controller to search on, it can be `events`, `objects`, `attributes`. The response will either be a list of events, objects, or attributes.
|
||||
:param return_format: Set the return format of the search (Currently supported: json, xml, openioc, suricata, snort - more formats are being moved to restSearch with the goal being that all searches happen through this API). Can be passed as the first parameter after restSearch or via the JSON payload.
|
||||
:param limit: Limit the number of results returned, depending on the scope (for example 10 attributes or 10 full events).
|
||||
:param page: If a limit is set, sets the page to be returned. page 3, limit 100 will return records 201->300).
|
||||
|
|
Loading…
Reference in New Issue