From 95e31bd2e3b4f14b55001a40cd51e44ec5cf7644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Tue, 6 Apr 2021 20:05:10 +0200 Subject: [PATCH] chg: Add comment for controller attribute in search --- pymisp/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pymisp/api.py b/pymisp/api.py index 0cb80b1..e0dd047 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -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).