chg: Add comment for controller attribute in search

pull/749/head
Raphaël Vinot 2021-04-06 20:05:10 +02:00
parent 62cd5173f0
commit 95e31bd2e3
1 changed files with 1 additions and 0 deletions

View File

@ -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).