From fc48c088d9b0fd4e6ab26168cc1755357ce3e7d0 Mon Sep 17 00:00:00 2001 From: Binat Ziser <89336697+bziser@users.noreply.github.com> Date: Mon, 8 May 2023 23:13:35 +0300 Subject: [PATCH] [splunk] fix for proxy parameter wasn't parsed correctly (#26395) * added default for proxy * rn * docker * rn for docker * rn update --- Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.py | 2 +- Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.yml | 12 +++++------- Packs/SplunkPy/ReleaseNotes/3_0_17.md | 7 +++++++ Packs/SplunkPy/pack_metadata.json | 2 +- 4 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 Packs/SplunkPy/ReleaseNotes/3_0_17.md diff --git a/Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.py b/Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.py index a033de9f7dfd..7efb037d62b4 100644 --- a/Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.py +++ b/Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.py @@ -2619,7 +2619,7 @@ def main(): # pragma: no cover splunk_parse_raw_command() sys.exit(0) service = None - proxy = argToBoolean(params.get('proxy')) + proxy = argToBoolean(params.get('proxy', False)) connection_args = get_connection_args() diff --git a/Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.yml b/Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.yml index eee678a4bde7..80bcedc92dcd 100644 --- a/Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.yml +++ b/Packs/SplunkPy/Integrations/SplunkPy/SplunkPy.yml @@ -113,7 +113,7 @@ configuration: type: 15 section: Collect hidden: - - marketplacev2 + - marketplacev2 - additionalinfo: When selected, closing the Splunk notable event with a "Closed" status will close the Cortex XSOAR incident. defaultvalue: 'false' display: Close Mirrored Cortex XSOAR Incidents (Incoming Mirroring) @@ -123,7 +123,7 @@ configuration: section: Collect advanced: true hidden: - - marketplacev2 + - marketplacev2 - display: Additional Splunk status labels to close on mirror (Incoming Mirroring) name: close_extra_labels required: false @@ -145,7 +145,7 @@ configuration: section: Collect advanced: true hidden: - - marketplacev2 + - marketplacev2 additionalinfo: When selected, closing the Cortex XSOAR incident will close the Notable Event in Splunk. defaultvalue: 'false' - display: Trust any certificate (not secure) @@ -391,9 +391,7 @@ script: - False Positive - Inaccurate Data - Other - Undetermined - description: Disposition of the notable. If the more options exist on the server, - specifying the disposition as `disposition:#` will work in place of choosing - one of the default values from the list. + description: Disposition of the notable. If the more options exist on the server, specifying the disposition as `disposition:#` will work in place of choosing one of the default values from the list. description: Updates existing notable events in Splunk ES. execution: true name: splunk-notable-event-edit @@ -628,7 +626,7 @@ script: - contextPath: Splunk.UserMapping.SplunkUser description: Splunk user mapping. type: String - dockerimage: demisto/splunksdk-py3:1.0.0.56501 + dockerimage: demisto/splunksdk-py3:1.0.0.57580 isfetch: true ismappable: true isremotesyncin: true diff --git a/Packs/SplunkPy/ReleaseNotes/3_0_17.md b/Packs/SplunkPy/ReleaseNotes/3_0_17.md new file mode 100644 index 000000000000..18b55ffcf774 --- /dev/null +++ b/Packs/SplunkPy/ReleaseNotes/3_0_17.md @@ -0,0 +1,7 @@ + +#### Integrations + +##### SplunkPy + +- Updated the Docker image to: *demisto/splunksdk-py3:1.0.0.57580*. +- Fixed an issue where proxy parameter wasn't parsed correctly in cases it was not checked. diff --git a/Packs/SplunkPy/pack_metadata.json b/Packs/SplunkPy/pack_metadata.json index 18474e615238..c1df5cf68928 100644 --- a/Packs/SplunkPy/pack_metadata.json +++ b/Packs/SplunkPy/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Splunk", "description": "Run queries on Splunk servers.", "support": "xsoar", - "currentVersion": "3.0.16", + "currentVersion": "3.0.17", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "",