Skip to content

Commit

Permalink
Merge pull request #1211 from Wachizungu/allow-orgc-context-for-searc…
Browse files Browse the repository at this point in the history
…h-galaxy-clusters

chg: allow orgc context for search_galaxy_clusters
  • Loading branch information
Rafiot authored Apr 29, 2024
2 parents 7df8d77 + 1daac6e commit a74dd07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymisp/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ def search_galaxy_clusters(self, galaxy: MISPGalaxy | int | str | UUID, context:
"""

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}
Expand Down

0 comments on commit a74dd07

Please sign in to comment.