Skip to content

Commit 395710f

Browse files
Itay4yaakoviShirleyDenkberg
authored
Kaspersky Security Center (demisto#11929)
* ksc integration initial commit * ignore mypy reports * add test playbook * add missing commas * mount retry adapter only if retries != 0 * doc required permissions * refactor server param name * rm internal user leftovers * add endpoint outputs * fix type output verification * add proxy param * add search filter syntax to readme * fix typo * escape gt lt chars * Update Packs/KasperskySecurityCenter/Integrations/KasperskySecurityCenter/KasperskySecurityCenter.yml Co-authored-by: Shai Yaakovi <[email protected]> * Update Packs/KasperskySecurityCenter/Integrations/KasperskySecurityCenter/KasperskySecurityCenter.yml Co-authored-by: Shai Yaakovi <[email protected]> * Update KasperskySecurityCenter_description.md Done. * Update README.md Done. * Update 1_7_29.md Done. * Update KasperskySecurityCenter.yml Done. * Update pack_metadata.json Done. * fix detailed desc beta disclaimer Co-authored-by: Shai Yaakovi <[email protected]> Co-authored-by: ShirleyDenkberg <[email protected]>
1 parent dcadb39 commit 395710f

27 files changed

Lines changed: 3705 additions & 2 deletions

Packs/Base/ReleaseNotes/1_8_3.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
#### Scripts
3+
##### CommonServerPython
4+
Modified the *BaseClient._http_request* function to mount the retry HTTP adapter to the session only if the number of retries was specified.

Packs/Base/Scripts/CommonServerPython/CommonServerPython.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5637,7 +5637,8 @@ def _http_request(self, method, url_suffix='', full_url=None, headers=None, auth
56375637
address = full_url if full_url else urljoin(self._base_url, url_suffix)
56385638
headers = headers if headers else self._headers
56395639
auth = auth if auth else self._auth
5640-
self._implement_retry(retries, status_list_to_retry, backoff_factor, raise_on_redirect, raise_on_status)
5640+
if retries:
5641+
self._implement_retry(retries, status_list_to_retry, backoff_factor, raise_on_redirect, raise_on_status)
56415642
# Execute
56425643
res = self._session.request(
56435644
method,

Packs/Base/pack_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Base",
33
"description": "The base pack for Cortex XSOAR.",
44
"support": "xsoar",
5-
"currentVersion": "1.8.2",
5+
"currentVersion": "1.8.3",
66
"author": "Cortex XSOAR",
77
"serverMinVersion": "6.0.0",
88
"url": "https://www.paloaltonetworks.com/cortex",

Packs/KasperskySecurityCenter/.pack-ignore

Whitespace-only changes.

Packs/KasperskySecurityCenter/.secrets-ignore

Whitespace-only changes.

0 commit comments

Comments
 (0)