Change the Docker Image for Scripts and Integrations - Playbook Design Guide - 8 - Cortex XSOAR - Cortex - Security Operations

Cortex XSOAR Playbook Design Guide

Product
Cortex XSOAR
Version
8
Creation date
2024-09-21
Last date published
2024-09-22
Category
Playbook Design Guide
Abstract

Use an alternative Docker image for Python scripts in Cortex XSOAR. Set the Docker image to use to run an integration.

By default, Cortex XSOAR runs Python scripts in a Docker image. See Docker Images for more information.

The default Docker image that Cortex XSOAR uses is demisto/python3, but you can use other Docker images that you have on your system.

  • 2.7

  • 3.0 and later

Change the Docker Image for a Custom Script

  1. Edit the script.

  2. Under ADVANCED, click X to clear the current selection and then select a Docker image name from the dropdown menu.

  3. Save your changes.

Change the Docker Image for a Custom Integration

  1. Go to Settings & InfoSettingsIntegrationsInstances, find your custom integration, and click the pencil icon to edit the integration’s source.

  2. In the INTEGRATION SETTINGS, expand the SCRIPT section.

  3. Click X to clear the current selection and then select a Docker image name from the dropdown menu.

  4. Save your changes.