Merge pull request #1211 from Wachizungu/allow-orgc-context-for-search-galaxy-clusters

chg: allow orgc context for search_galaxy_clusters
pull/1214/head
Raphaël Vinot 2024-04-29 10:36:25 +02:00 committed by GitHub
commit a74dd078a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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}