Skip to content

Commit

Permalink
Fix kenna proxy (demisto#15183)
Browse files Browse the repository at this point in the history
* fix proxy param handling

* RN

* Update Packs/Kenna/ReleaseNotes/1_1_5.md

Co-authored-by: Andrew Shamah <42912128+amshamah419@users.noreply.github.com>

Co-authored-by: Andrew Shamah <42912128+amshamah419@users.noreply.github.com>
  • Loading branch information
yuvalbenshalom and amshamah419 committed Oct 5, 2021
1 parent 61759ad commit 869c495
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Packs/Kenna/Integrations/KennaV2/KennaV2.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from typing import List, Tuple, Dict, Any, Optional, Callable
from typing import Tuple, Callable

import urllib3

import demistomock as demisto # noqa: F401
from CommonServerPython import * # noqa: F401

Expand Down Expand Up @@ -559,7 +561,7 @@ def main():
# Should we use SSL
use_ssl = not params.get('insecure', False)
# Should we use system proxy settings
use_proxy = params.get('proxy') == 'true'
use_proxy = params.get('proxy')
# Initialize Client object
client = Client(base_url=base_url, api_key=api, verify=use_ssl, proxy=use_proxy)
command = demisto.command()
Expand Down
3 changes: 3 additions & 0 deletions Packs/Kenna/ReleaseNotes/1_1_5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#### Integrations
##### Kenna v2
- Fixed an issue where the integration would not use the **proxy** parameter correctly.
2 changes: 1 addition & 1 deletion Packs/Kenna/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Kenna",
"description": "Use the Kenna v2 integration to search and update vulnerabilities, schedule a run connector, and manage tags and attributes.",
"support": "xsoar",
"currentVersion": "1.1.4",
"currentVersion": "1.1.5",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit 869c495

Please sign in to comment.