Skip to content

Commit cc34ef6

Browse files
Rapid7 fix (demisto#34061)
* transplant demisto#34055 * rn and metadata * Update Packs/Rapid7_InsightIDR/ReleaseNotes/2_0_1.md Co-authored-by: Shahaf Ben Yakir <[email protected]> --------- Co-authored-by: Shahaf Ben Yakir <[email protected]>
1 parent 2220581 commit cc34ef6

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

Packs/Rapid7_InsightIDR/Integrations/Rapid7_InsightIDR/Rapid7_InsightIDR.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1745,7 +1745,7 @@ def main():
17451745
params = demisto.params()
17461746
region = params.get("region", {})
17471747
api_key = params.get("apikey_creds", {}).get("password") or params.get("apiKey", {})
1748-
is_multi_customer = argToBoolean(params["is_multi_customer"])
1748+
is_multi_customer = argToBoolean(params.get("is_multi_customer", "false"))
17491749
max_fetch = params.get("max_fetch", "50")
17501750

17511751
base_url = f"https://{region}.api.insight.rapid7.com/"
@@ -1774,7 +1774,7 @@ def main():
17741774
elif demisto.args().get("api_version") == API_V2:
17751775
api_version = API_V2
17761776
else:
1777-
api_version = API_V2 if argToBoolean(demisto.params().get("is_v2")) else API_V1
1777+
api_version = API_V2 if argToBoolean(demisto.params().get("is_v2", "false")) else API_V1
17781778

17791779
api_version_constants: Constants = {
17801780
API_V1: ConstantsV1,
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
#### Integrations
3+
4+
##### Rapid7 InsightIDR
5+
6+
- Fixed an issue where upgrading to version `2.0.0` without reconfiguring an instance caused an error.

Packs/Rapid7_InsightIDR/pack_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Rapid7 InsightIDR",
33
"description": "Rapid7 InsightIDR is a Cloud-Based SIEM that detect and respond to security incidents.",
44
"support": "xsoar",
5-
"currentVersion": "2.0.0",
5+
"currentVersion": "2.0.1",
66
"author": "Cortex XSOAR",
77
"url": "https://www.paloaltonetworks.com/cortex",
88
"email": "",

0 commit comments

Comments
 (0)