Skip to content

Commit

Permalink
Core rest api add xsoar hosted (#27355)
Browse files Browse the repository at this point in the history
* bug fix

* RN update

---------

Co-authored-by: xsoar-bot <[email protected]>
  • Loading branch information
dansterenson and xsoar-bot authored Jun 11, 2023
1 parent 250407a commit 8b1c87b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (serverURL.slice(-1) === '/') {
isHosted = function () {
res = getDemistoVersion();
platform = res.platform;
if (((platform === "xsoar") && (isDemistoVersionGE(MIN_HOSTED_XSOAR_VERSION))) || platform === "x2") {
if (((platform === "xsoar" || platform === "xsoar_hosted") && (isDemistoVersionGE(MIN_HOSTED_XSOAR_VERSION))) || platform === "x2") {
return true
}
return false
Expand Down
6 changes: 6 additions & 0 deletions Packs/DemistoRESTAPI/ReleaseNotes/1_3_27.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### Core REST API

- Fixed an issue where the '/xsoar' suffix was not added to the URL parameter in some of the XSOAR 8.x machines.
2 changes: 1 addition & 1 deletion Packs/DemistoRESTAPI/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Cortex REST API",
"description": "Use Demisto REST APIs",
"support": "xsoar",
"currentVersion": "1.3.26",
"currentVersion": "1.3.27",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit 8b1c87b

Please sign in to comment.