mirror of https://github.com/MISP/PyMISP
Merge pull request #1211 from Wachizungu/allow-orgc-context-for-search-galaxy-clusters
chg: allow orgc context for search_galaxy_clusterspull/1214/head
commit
a74dd078a6
|
@ -1554,7 +1554,7 @@ class PyMISP:
|
|||
"""
|
||||
|
||||
galaxy_id = get_uuid_or_id_from_abstract_misp(galaxy)
|
||||
allowed_context_types: list[str] = ["all", "default", "custom", "org", "deleted"]
|
||||
allowed_context_types: list[str] = ["all", "default", "custom", "org", "orgc", "deleted"]
|
||||
if context not in allowed_context_types:
|
||||
raise PyMISPError(f"The context must be one of {', '.join(allowed_context_types)}")
|
||||
kw_params = {"context": context}
|
||||
|
|
Loading…
Reference in New Issue