diff --git a/Packs/ApiModules/ReleaseNotes/2_2_38.md b/Packs/ApiModules/ReleaseNotes/2_2_38.md new file mode 100644 index 000000000000..588240d7eb29 --- /dev/null +++ b/Packs/ApiModules/ReleaseNotes/2_2_38.md @@ -0,0 +1,5 @@ +#### Scripts + +##### CoreXQLApiModule + +Added logs to the module. \ No newline at end of file diff --git a/Packs/ApiModules/Scripts/CoreXQLApiModule/CoreXQLApiModule.py b/Packs/ApiModules/Scripts/CoreXQLApiModule/CoreXQLApiModule.py index 2282f6bb5790..3ed0f1346f75 100644 --- a/Packs/ApiModules/Scripts/CoreXQLApiModule/CoreXQLApiModule.py +++ b/Packs/ApiModules/Scripts/CoreXQLApiModule/CoreXQLApiModule.py @@ -648,6 +648,7 @@ def start_xql_query_polling_command(client: CoreClient, args: dict) -> Union[Com raise DemistoException('Please provide a query name') execution_id = start_xql_query(client, args) if execution_id == 'FAILURE': + demisto.debug("Did not succeed to start query, retrying.") # the 'start_xql_query' function failed because it reached the maximum allowed number of parallel running queries. # running the command again using polling with an interval of 'interval_in_secs' seconds. command_results = CommandResults() @@ -661,6 +662,7 @@ def start_xql_query_polling_command(client: CoreClient, args: dict) -> Union[Com if not execution_id: raise DemistoException('Failed to start query\n') + demisto.debug(f"Succeeded to start query with {execution_id=}.") args['query_id'] = execution_id args['command_name'] = demisto.command() @@ -703,12 +705,14 @@ def get_xql_query_results_polling_command(client: CoreClient, args: dict) -> Uni # if status is pending, the command will be called again in the next run until success. if outputs.get('status') == 'PENDING': + demisto.debug(f"Returned status 'PENDING' for {args.get('query_id', '')}.") scheduled_command = ScheduledCommand(command='xdr-xql-get-query-results', next_run_in_seconds=interval_in_secs, args=args, timeout_in_seconds=600) command_results.scheduled_command = scheduled_command command_results.readable_output = 'Query is still running, it may take a little while...' return command_results + demisto.debug(f"Returned status '{outputs.get('status')}' for {args.get('query_id', '')}.") results_to_format = outputs.pop('results') # create Human Readable output query = args.get('query', '') diff --git a/Packs/ApiModules/pack_metadata.json b/Packs/ApiModules/pack_metadata.json index 38a715c26d0a..e833639d4a7c 100644 --- a/Packs/ApiModules/pack_metadata.json +++ b/Packs/ApiModules/pack_metadata.json @@ -2,7 +2,7 @@ "name": "ApiModules", "description": "API Modules", "support": "xsoar", - "currentVersion": "2.2.37", + "currentVersion": "2.2.38", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", diff --git a/Packs/Core/ReleaseNotes/3_2_19.md b/Packs/Core/ReleaseNotes/3_2_19.md new file mode 100644 index 000000000000..82c98f633183 --- /dev/null +++ b/Packs/Core/ReleaseNotes/3_2_19.md @@ -0,0 +1,6 @@ + +#### Integrations + +##### XQL Query Engine + +Documentation and metadata improvements. \ No newline at end of file diff --git a/Packs/Core/pack_metadata.json b/Packs/Core/pack_metadata.json index 2b9ea34fca04..889908496e92 100644 --- a/Packs/Core/pack_metadata.json +++ b/Packs/Core/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Core - Investigation and Response", "description": "Automates incident response", "support": "xsoar", - "currentVersion": "3.2.18", + "currentVersion": "3.2.19", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", diff --git a/Packs/CortexXDR/ReleaseNotes/6_2_6.md b/Packs/CortexXDR/ReleaseNotes/6_2_6.md new file mode 100644 index 000000000000..15b08b3d7c41 --- /dev/null +++ b/Packs/CortexXDR/ReleaseNotes/6_2_6.md @@ -0,0 +1,6 @@ + +#### Integrations + +##### Cortex XDR - XQL Query Engine + +Documentation and metadata improvements. diff --git a/Packs/CortexXDR/pack_metadata.json b/Packs/CortexXDR/pack_metadata.json index d6623703b74a..89ff1859ec5b 100644 --- a/Packs/CortexXDR/pack_metadata.json +++ b/Packs/CortexXDR/pack_metadata.json @@ -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.2.5", + "currentVersion": "6.2.6", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "",