Skip to main content

EditServerConfig

This Script is part of the Common Scripts Pack.#

Supported 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 Data#


NameDescription
Script Typepython3
Tags
Cortex XSOAR Version6.0.0

Inputs#


Argument NameDescription
actionThe action to make. If update is chosen and the key does not exist, a new key will be added.
keyThe key to set.
valueThe value to set.

Outputs#


There are no outputs for this script.

Script Example#

!EditServerConfig action=update key=content.unlock.integrations value=HelloWorld

Human Readable Output#

Server configuration with content.unlock.integrations was updated successfully.

Troubleshooting#

Multi-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.