Skip to content

Commit 7622bde

Browse files
tcarmeli1Content Bot
andauthored
Update the Interval In Seconds for polling mechanism default value to 30. (demisto#39292)
* first commit * first commit * first commit * first commit * Bump pack from version Core to 3.2.30. --------- Co-authored-by: Content Bot <[email protected]>
1 parent c346a68 commit 7622bde

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

Packs/ApiModules/Scripts/CoreXQLApiModule/CoreXQLApiModule.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ def start_xql_query_polling_command(client: CoreClient, args: dict) -> Union[Com
654654
# the 'start_xql_query' function failed because it reached the maximum allowed number of parallel running queries.
655655
# running the command again using polling with an interval of 'interval_in_secs' seconds.
656656
command_results = CommandResults()
657-
interval_in_secs = int(args.get('interval_in_seconds', 5))
657+
interval_in_secs = int(args.get('interval_in_seconds', 20))
658658
scheduled_command = ScheduledCommand(command='xdr-xql-generic-query', next_run_in_seconds=interval_in_secs,
659659
args=args, timeout_in_seconds=600)
660660
command_results.scheduled_command = scheduled_command
@@ -684,7 +684,7 @@ def get_xql_query_results_polling_command(client: CoreClient, args: dict) -> Uni
684684
# get the query data either from the integration context (if its not the first run) or from the given args.
685685
parse_result_file_to_context = argToBoolean(args.get('parse_result_file_to_context', 'false'))
686686
command_name = args.get('command_name', demisto.command())
687-
interval_in_secs = int(args.get('interval_in_seconds', 10))
687+
interval_in_secs = int(args.get('interval_in_seconds', 30))
688688
max_fields = arg_to_number(args.get('max_fields', 20))
689689
if max_fields is None:
690690
raise DemistoException('Please provide a valid number for max_fields argument.')

Packs/Core/ReleaseNotes/3_2_30.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
#### Integrations
3+
4+
##### XQL Query Engine
5+
6+
Updated the default polling interval to 30 seconds.

Packs/Core/pack_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Core - Investigation and Response",
33
"description": "Automates incident response",
44
"support": "xsoar",
5-
"currentVersion": "3.2.29",
5+
"currentVersion": "3.2.30",
66
"author": "Cortex XSOAR",
77
"url": "https://www.paloaltonetworks.com/cortex",
88
"email": "",
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
#### Integrations
3+
4+
##### Cortex XDR - XQL Query Engine
5+
6+
Updated the default polling interval to 30 seconds.

Packs/CortexXDR/pack_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Cortex XDR by Palo Alto Networks",
33
"description": "Automates Cortex XDR incident response, and includes custom Cortex XDR incident views and layouts to aid analyst investigations.",
44
"support": "xsoar",
5-
"currentVersion": "6.2.15",
5+
"currentVersion": "6.2.16",
66
"author": "Cortex XSOAR",
77
"url": "https://www.paloaltonetworks.com/cortex",
88
"email": "",

0 commit comments

Comments
 (0)