Skip to content

Commit

Permalink
Modify: fetch function
Browse files Browse the repository at this point in the history
  • Loading branch information
TOUFIKIzakarya committed Jul 15, 2024
1 parent e034587 commit 2186a32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Packs/SekoiaXDR/Integrations/SekoiaXDR/SekoiaXDR.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,11 +615,11 @@ def fetch_incidents(
# If the integration parameter is set to mirror add the appropriate fields to the incident
if mirror_direction != "None":
alert["mirror_instance"] = demisto.integrationInstance()
incident["rawJSON"] = json.dumps(alert)
incident["dbotMirrorDirection"] = MIRROR_DIRECTION.get(
alert["dbotMirrorDirection"] = MIRROR_DIRECTION.get(
str(mirror_direction)
)
incident["dbotMirrorId"] = alert["short_id"]
alert["dbotMirrorId"] = alert["short_id"]
incident["rawJSON"] = json.dumps(alert)

incidents.append(incident)

Expand Down

0 comments on commit 2186a32

Please sign in to comment.