Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xdrir fix polling timeout #27238

Merged
merged 2 commits into from Jun 8, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -2990,7 +2990,8 @@ def get_script_code_command(client: CoreClient, args: Dict[str, str]) -> Tuple[s
@polling_function(
name=demisto.command(),
interval=arg_to_number(demisto.args().get('polling_interval_in_seconds', 10)),
timeout=arg_to_number(demisto.args().get('polling_timeout', 600)),
# Check for both 'polling_timeout_in_seconds' and 'polling_timeout' to avoid breaking BC:
timeout=arg_to_number(demisto.args().get('polling_timeout_in_seconds', demisto.args().get('polling_timeout', 600))),
requires_polling_arg=False # means it will always be default to poll, poll=true
)
def script_run_polling_command(args: dict, client: CoreClient) -> PollResult:
Expand Down
6 changes: 6 additions & 0 deletions Packs/Core/ReleaseNotes/1_4_1.md
@@ -0,0 +1,6 @@

#### Integrations

##### Investigation & Response

- Fixed an issue in the ***CoreIRApiModule***.
2 changes: 1 addition & 1 deletion Packs/Core/pack_metadata.json
Expand Up @@ -2,7 +2,7 @@
"name": "Core - Investigation and Response",
"description": "Automates incident response",
"support": "xsoar",
"currentVersion": "1.4.0",
"currentVersion": "1.4.1",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
6 changes: 6 additions & 0 deletions Packs/CortexXDR/ReleaseNotes/4_11_4.md
@@ -0,0 +1,6 @@

#### Integrations

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

- Fixed an issue in the ***xdr-script-run*** command where the polling timeout parameter was not handled correctly.
2 changes: 1 addition & 1 deletion Packs/CortexXDR/pack_metadata.json
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": "4.11.3",
"currentVersion": "4.11.4",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down