Does TheHive plugin supports URL syntax?

I am trying to setup a connection from Insight Connect Orchestrator to TheHive and cannot find a setting to specify TheHive API full URL. Our Hive instance is hosted in the cloud and API is not located at the root of host/domain.

Instead of https://thehive.company.com:9000 I would like to specify API URL as following

https://thehive.company.com:9000/companyinstanceid/thehive/

Host parameter doesnt accept URL or relative API location.

{
  "api_key": "9de5069c5afe602b2ea0a04b66beb2c0",
  "credentials": {},
  "host": "thehive.company.com",
  "port": 9000,
  "protocol": "http",
  "proxy": {},
  "verify": true
}

the answer is URL-relative syntax not supported, as can be seen here as well:

Input for port number is not validated that it is actually a digit, so if you specify as port number the follwowing 443/subsite/relative_url/thehive
The python code f"{protocol}://{host}:{port}" will append to whatever was in port to create correct URL. With this trick TheHive plugin works, but obviously Rapid7 need to fix it.

1 Like