Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Packs/CortexXDR/Integrations/CortexXDRIR/CortexXDRIR.py
Original file line number Diff line number Diff line change
Expand Up @@ -3334,7 +3334,7 @@ def update_issue_command(client: Client, args: Dict) -> CommandResults:
severity=args["severity"].upper() if args.get("severity") else None,
)
if status := ISSUE_STATUSES_MAP.get(args.get("status", "")):
update_data["status_progress"] = status
update_data["status"] = status
if resolution_reason := ISSUE_REASON_MAP.get(args.get("resolve_reason", "")):
update_data["status_resolution_reason"] = resolution_reason
if resolution_comment := args.get("resolve_comment"):
Expand Down
6 changes: 6 additions & 0 deletions Packs/CortexXDR/Integrations/CortexXDRIR/CortexXDRIR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ configuration:
type: 8
section: Collect
required: false
- display: Incidents Fetch Interval
name: incidentFetchInterval
defaultvalue: '1'
type: 19
section: Collect
required: false
Comment thread
talzich marked this conversation as resolved.
- display: Incident type
name: incidentType
type: 13
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4256,7 +4256,7 @@ def test_create_issue_command_invalid_json():
[
(
{"issue_id": "100", "status": "new"},
{"status_progress": "New"},
{"status": "New"},
),
(
{"issue_id": "200", "severity": "high"},
Expand All @@ -4270,14 +4270,14 @@ def test_create_issue_command_invalid_json():
"resolve_comment": "Not a real issue",
},
{
"status_progress": "Resolved",
"status": "Resolved",
"status_resolution_reason": "resolved - false positive",
"status_resolution_comment": "Not a real issue",
},
),
(
{"issue_id": "400", "status": "in_progress", "severity": "low"},
{"severity": "LOW", "status_progress": "In Progress"},
{"severity": "LOW", "status": "In Progress"},
),
(
{
Expand Down
6 changes: 6 additions & 0 deletions Packs/CortexXDR/ReleaseNotes/6_3_34.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### Palo Alto Networks Cortex XDR - Investigation and Response

- Fixed an issue where the ***xdr-issue-update*** command reported success but did not update the issue status.
2 changes: 1 addition & 1 deletion Packs/CortexXDR/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Cortex XDR by Palo Alto Networks",
"description": "Automates Cortex XDR incident response, and includes custom Cortex XDR incident views and layouts to aid analyst investigations.",
"support": "xsoar",
"currentVersion": "6.3.33",
"currentVersion": "6.3.34",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Loading