Source
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 def main(): urls = demisto.demistoUrls() outputs = {"urls": urls, "version": demisto.demistoVersion()} command_results = CommandResults(outputs_prefix="ServerInfo", outputs=outputs) return_results(command_results) if __name__ in ["__main__", "builtin", "builtins"]: main()
README
Get version and URL of current Cortex XSOAR server.
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | basescript |
| Cortex XSOAR Version | 6.10.0 |
Inputs
There are no inputs for this script.
Outputs
| Path | Description | Type |
|---|---|---|
| ServerInfo | A dictionary of “URLs” and “version”. | Dictionary |