From 6d338dfa51de7f6090b0380982230822f5610ee5 Mon Sep 17 00:00:00 2001 From: Conor <93926445+cmcnally-r7@users.noreply.github.com> Date: Mon, 28 Oct 2024 11:00:35 +0000 Subject: [PATCH] Palo Alto Cortex XDR | Undo change to list split for get incidents trigger (#2903) * Undo change to list split for get incidents trigger * Black formatting * Remove self.maxdiff in unit test * Update spec file --- plugins/palo_alto_cortex_xdr/unit_test/test_get_incidents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/palo_alto_cortex_xdr/unit_test/test_get_incidents.py b/plugins/palo_alto_cortex_xdr/unit_test/test_get_incidents.py index 2e43e5b580..ca72e4df54 100644 --- a/plugins/palo_alto_cortex_xdr/unit_test/test_get_incidents.py +++ b/plugins/palo_alto_cortex_xdr/unit_test/test_get_incidents.py @@ -46,7 +46,7 @@ def check_error(): "host_count": 1, "xdr_url": "https://example.com/incident-view?caseId=1", "starred": False, - "hosts": [{"hostname": "example-host"}, {"hostname": "example-host-2"}], + "hosts": ["example-host", "example-host-2"], "users": ["administrator"], "incident_sources": ["XDR Agent"], "wildfire_hits": 4,