EditServerConfig
Common Scripts Pack.#
This Script is part of theSupported versions
Supported Cortex XSOAR versions: 6.0.0 and later.
Edit the server configuration (under settings/troubleshooting). You can either add a new configuration or update and remove an existing one.
#
Script DataName | Description |
---|---|
Script Type | python3 |
Tags | |
Cortex XSOAR Version | 6.0.0 |
#
InputsArgument Name | Description |
---|---|
action | The action to make. If update is chosen and the key does not exist, a new key will be added. |
key | The key to set. |
value | The value to set. |
#
OutputsThere are no outputs for this script.
#
Script Example!EditServerConfig action=update key=content.unlock.integrations value=HelloWorld
#
Human Readable OutputServer configuration with content.unlock.integrations was updated successfully.
#
TroubleshootingMulti-tenant environments should be configured with the Cortex Rest API instance when using this automation. Make sure the Use tenant parameter (in the Cortex Rest API integration) is checked to ensure that API calls are made to the current tenant instead of the master tenant.