Skip to content

Commit

Permalink
fix demisto PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shabina-metron committed Mar 18, 2024
1 parent de9fb78 commit 29768c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Packs/Cybereason/Integrations/Cybereason/Cybereason.py
Original file line number Diff line number Diff line change
Expand Up @@ -1964,6 +1964,7 @@ def query_malop_management_command(client: Client, args: dict):
if dict_safe_get(response, ['data', 'data']) == []:
raise DemistoException(f"Could not find details for the provided MalopGuid {malop_guid}")
else:
outputs = []
for single_malop in response["data"]["data"]:
guid = single_malop.get("guid", "")
creation_time = single_malop.get("creationTime", "")
Expand All @@ -1974,8 +1975,6 @@ def query_malop_management_command(client: Client, args: dict):
link = SERVER + '/#/malop/' + guid
else:
link = SERVER + '/#/detection-malop/' + guid

outputs = []
malop_output = {
'GUID': guid,
'Link': link,
Expand Down

0 comments on commit 29768c9

Please sign in to comment.