@@ -224,6 +224,8 @@ def search_indicators(
224224 pattern: The pattern of the indicator to search for.
225225 description: The description of the indicator to search for. (substring match)
226226 tags: The tags of the indicator to search for.
227+ count: The number of results to return (default is 100, which means all).
228+ page: The page of results to return (default is 0, which means the first page).
227229
228230 Returns:
229231 The response from the API; a list of dicts representing indicators.
@@ -299,6 +301,7 @@ def search_entities(
299301 name : str | None = None ,
300302 entity_type : str | None = None ,
301303 description : str | None = None ,
304+ tags : list [str ] | None = None ,
302305 count : int = 100 ,
303306 page : int = 0 ,
304307 ) -> list [YetiObject ]:
@@ -310,6 +313,7 @@ def search_entities(
310313 name: The name of the entity to search for (substring match).
311314 entity_type: The type of the entity to search for.
312315 description: The description of the entity to search for. (substring match)
316+ tags: The tags of the entity to search for.
313317 count: The number of results to return (default is 100, which means all).
314318 page: The page of results to return (default is 0, which means the first page).
315319
@@ -326,6 +330,8 @@ def search_entities(
326330 query ["type" ] = entity_type
327331 if description :
328332 query ["description" ] = description
333+ if tags :
334+ query ["tags" ] = tags
329335
330336 params = {"query" : query , "count" : count , "page" : page }
331337 response = self .do_request (
0 commit comments