-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XSUP-31342 - XDR mirroring changes incident resolution (#32359)
* added more debug logs to the mirroring process * more debug logs * updated the schema * added ckose_reason * updated the schema name * updated the outgoing mapper and some debug logs * added RN * Bump pack from version CortexXDR to 6.1.14. * Bump pack from version CortexXDR to 6.1.15. * updated test_get_mapping_fields_command * updated handle_outgoing_issue_closure to use close_reason or closeReason * updated RN and docker image * added a unit test test_handle_outgoing_issue_closure * added RN to core pack and ctf01 pack * Bump pack from version CortexXDR to 6.1.16. * updated the RN * added an incident type to the outgoing mapper and updated the RN --------- Co-authored-by: Content Bot <bot@demisto.com>
- Loading branch information
Showing
11 changed files
with
171 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
Packs/ApiModules/Scripts/CoreIRApiModule/test_data/handle_outgoing_issue_closure_input.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"xsoar_ui_common_mapping": { | ||
"args": { | ||
"remoteId": "47", | ||
"delta": { | ||
"close_reason": "False Positive", | ||
"resolve_comment": "closing 47 false positive" | ||
}, | ||
"data": { | ||
"assigned_user_mail": "assigned_user_mail", | ||
"assigned_user_pretty_name": "User", | ||
"close_reason": "False Positive", | ||
"manual_severity": "high", | ||
"resolve_comment": "closing 47 false positive", | ||
"status": "new" | ||
}, | ||
"status": 2 | ||
}, | ||
"expected_delta": { | ||
"close_reason": "False Positive", | ||
"resolve_comment": "closing 47 false positive", | ||
"status": "resolved_false_positive" | ||
} | ||
}, | ||
"xsoar_ui_cortex_xdr_incident": { | ||
"args": { | ||
"remoteId": "47", | ||
"delta": { | ||
"closeReason": "False Positive", | ||
"closeNotes": "closing 47 false positive" | ||
}, | ||
"data": { | ||
"assigned_user_mail": "assigned_user_mail", | ||
"assigned_user_pretty_name": "User", | ||
"manual_severity": "high", | ||
"status": "new" | ||
}, | ||
"status": 2 | ||
}, | ||
"expected_delta": { | ||
"closeReason": "False Positive", | ||
"closeNotes": "closing 47 false positive", | ||
"resolve_comment": "closing 47 false positive", | ||
"status": "resolved_false_positive" | ||
} | ||
}, | ||
"xdr": { | ||
"args": { | ||
"remoteId": "47", | ||
"delta": { | ||
"close_reason": "False Positive", | ||
"resolve_comment": "resolving from xdr" | ||
}, | ||
"data": { | ||
"assigned_user_mail": "assigned_user_mail", | ||
"assigned_user_pretty_name": "User", | ||
"close_reason": "False Positive", | ||
"manual_severity": "high", | ||
"resolve_comment": "resolving from xdr", | ||
"status": "resolved_false_positive" | ||
}, | ||
"status": 2 | ||
}, | ||
"expected_delta": { | ||
"close_reason": "False Positive", | ||
"resolve_comment": "resolving from xdr" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
#### Integrations | ||
|
||
##### Investigation & Response | ||
- Updated the outgoing mirroring process to also check the **close reason** of the incident, if needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
#### Integrations | ||
|
||
##### Cortex XDR - IR CTF | ||
|
||
- Updated the outgoing mirroring process to also check the **close reason** of the incident, if needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters