From acea41cc9e64ee48051391ee307f033087f01e3d Mon Sep 17 00:00:00 2001 From: ilan Date: Mon, 5 Jun 2023 14:52:14 +0300 Subject: [PATCH 1/3] qradar --- Packs/QRadar/Integrations/QRadar_v3/QRadar_v3.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Packs/QRadar/Integrations/QRadar_v3/QRadar_v3.py b/Packs/QRadar/Integrations/QRadar_v3/QRadar_v3.py index c8433596f617..4d0230149d18 100644 --- a/Packs/QRadar/Integrations/QRadar_v3/QRadar_v3.py +++ b/Packs/QRadar/Integrations/QRadar_v3/QRadar_v3.py @@ -801,7 +801,7 @@ def update_user_query(user_query: str) -> str: def insert_to_updated_context(context_data: dict, - offense_ids: list = None, + offense_ids: list | None = None, should_update_last_fetch: bool = False, should_update_last_mirror: bool = False, should_add_reset_key: bool = False, @@ -849,7 +849,7 @@ def insert_to_updated_context(context_data: dict, def safely_update_context_data( context_data: dict, version: Any, - offense_ids: list = None, + offense_ids: list | None = None, should_update_last_fetch: bool = False, should_update_last_mirror: bool = False, should_add_reset_key: bool = False, @@ -3591,7 +3591,7 @@ def create_events_search(client: Client, events_columns: str, events_limit: int, offense_id: int, - offense_start_time: str = None, + offense_start_time: str | None = None, return_raw_response: bool = False, ) -> str: additional_where = '' @@ -4229,9 +4229,9 @@ def main() -> None: # pragma: no cover raise NotImplementedError(f'''Command '{command}' is not implemented.''') # Log exceptions and return errors - except Exception as e: + except Exception: print_debug_msg(f"The integration context_data is {get_integration_context()}") - return_error(f'Failed to execute {demisto.command()} command.\nError:\n{str(e)}') + return_error(f'Failed to execute {demisto.command()} command.\nError:\n{traceback.format_exc()}') ''' ENTRY POINT ''' From cb3829a2ed1280f89d21a548f6b75c19bdaf1c2d Mon Sep 17 00:00:00 2001 From: ilan Date: Mon, 12 Jun 2023 11:02:58 +0300 Subject: [PATCH 2/3] update docker --- Packs/QRadar/Integrations/QRadar_v3/QRadar_v3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/QRadar/Integrations/QRadar_v3/QRadar_v3.yml b/Packs/QRadar/Integrations/QRadar_v3/QRadar_v3.yml index e82e32f3c116..a0af2a4e56e6 100644 --- a/Packs/QRadar/Integrations/QRadar_v3/QRadar_v3.yml +++ b/Packs/QRadar/Integrations/QRadar_v3/QRadar_v3.yml @@ -2930,7 +2930,7 @@ script: script: '-' type: python subtype: python3 - dockerimage: demisto/python3:3.10.11.61265 + dockerimage: demisto/python3:3.10.12.62631 feed: false isfetch: false isremotesyncin: true From 81a9547c7e670e3c88eac704ec68056b06944436 Mon Sep 17 00:00:00 2001 From: ilan Date: Mon, 12 Jun 2023 11:23:34 +0300 Subject: [PATCH 3/3] RN --- Packs/QRadar/ReleaseNotes/2_4_23.md | 7 +++++++ Packs/QRadar/pack_metadata.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 Packs/QRadar/ReleaseNotes/2_4_23.md diff --git a/Packs/QRadar/ReleaseNotes/2_4_23.md b/Packs/QRadar/ReleaseNotes/2_4_23.md new file mode 100644 index 000000000000..c596c99e931d --- /dev/null +++ b/Packs/QRadar/ReleaseNotes/2_4_23.md @@ -0,0 +1,7 @@ + +#### Integrations + +##### IBM QRadar v3 + +- Fixed an issue where the full traceback was not displayed when encountered errors. +- Updated the Docker image to: *demisto/python3:3.10.12.62631*. diff --git a/Packs/QRadar/pack_metadata.json b/Packs/QRadar/pack_metadata.json index 87ecc120f4ff..6b3560ef6301 100644 --- a/Packs/QRadar/pack_metadata.json +++ b/Packs/QRadar/pack_metadata.json @@ -2,7 +2,7 @@ "name": "IBM QRadar", "description": "Fetch offenses as incidents and search QRadar", "support": "xsoar", - "currentVersion": "2.4.20", + "currentVersion": "2.4.23", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "",