EditServerConfig

Edit the server configuration (under *settings/troubleshooting*). You can either add a new configuration or update and remove an existing one.

python · Common Scripts

Details

IDEditServerConfig
Languagepython
From Version6.0.0
Docker Imagedemisto/python3:3.12.13.10404775

README

Edit the server configuration (under settings/troubleshooting). You can either add a new configuration or update and remove an existing one.

Script Data


Name Description
Script Type python3
Tags  
Cortex XSOAR Version 6.0.0

Inputs


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

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.

args:
- description: The action to make. If update is chosen and the key does not exist, a new key will be added.
  name: action
  required: true
  auto: PREDEFINED
  predefined:
  - update
  - remove
- description: The key to set.
  name: key
  required: true
- description: The value to set.
  name: value
comment: Edit the server configuration (under *settings/troubleshooting*). You can either add a new configuration or update and remove an existing one.
commonfields:
  id: EditServerConfig
  version: -1
name: EditServerConfig
script: '-'
timeout: '0'
type: python
subtype: python3
dockerimage: demisto/python3:3.12.13.10404775
fromversion: 6.0.0
tests:
- TestEditServerConfig
marketplaces:
- xsoar
- marketplacev2
- platform
supportedModules:
- agentix
- cloud
- cloud_runtime_security
- cloud_posture
- xsiam
- edr