For the complete documentation index, see llms.txt. This page is also available as Markdown.

Manage custom content for connectors

Understand how to manage custom content for connectors in Cortex XSIAM.

Cortex XSIAM is transitioning to a unified connector experience that consolidates all vendor security capabilities, including log ingestion, automation, and threat intelligence, into a single entry in the catalog. Within a connector, these individual services are referred to as sub-capabilities (integrations).

Availability

The method for managing custom content depends on your onboarding date and the implementation status of the specific vendor:

  • New customers (onboarded after July 26, 2026): Your entire catalog follows the unified connector experience. To create custom content based on any existing service in the catalog, you must use the external management workflow (GitHub and the SDK).

  • Existing customers (onboarded before July 26, 2026):

    • Unified connectors: These represent a simplified onboarding experience for your tenant and do not support custom content.

    • Legacy integrations: To create custom content, you must continue to use the Duplicate and View Source options for original Marketplace integrations, which remain fully supported using the built-in editor in Cortex XSIAM.

Duplicate and view source code

The method for managing source code depends on whether you are duplicating a legacy integration or a sub-capability within a connector:

  • Legacy integrations: You can continue to use the Duplicate and View Source options directly within Cortex XSIAM. Upon duplication, the item transitions to a custom content status, and you can modify the source code using the built-in editor.

  • Connector sub-capabilities (integrations): The built-in editor is not supported for duplicating or expanding existing sub-capabilities. To view the source code of a sub-capability or to duplicate it as custom content, you must perform the manual flow using GitHub and the demisto-sdk.

    Note

    The built-in editor remains fully supported for creating new custom integrations from scratch.

External management workflow

When you select Duplicate or View Source for a sub-capability (integration) on the Data Sources & Integrations page, Cortex XSIAM provides the names of all the connector's sub-capabilities (integrations) so you can select the one relevant to you. You will need this name to locate the relevant files in the official repository.

Option 1: View source in GitHub

If you only need to review the code without making changes:

  1. Copy the Integration Name provided for the sub-capability (integration) on the Data Sources & Integrations page in Cortex XSIAM.

  2. Navigate to the official Cortex Content GitHub Repository.

  3. Search for the integration folder under the Packs/ directory using the name you copied (such as, Packs/<PackName>/Integrations/<IntegrationName>/).

  4. Review the YAML and Python/PowerShell files directly in the repository.

Option 2: Duplicate and modify using the SDK

To modify an existing sub-capability (integration) and upload it as custom content, you must use the SDK.

Important

Prerequisite

Step 1: Install or update demisto-sdk

The custom upload flow requires demisto-sdk version 1.39.10 or higher.

  1. Run the following command to install or upgrade: pip install --upgrade demisto-sdk

  2. Verify the version and confirm the command is available: demisto-sdk upload-custom-integration --version

Note

For full installation instructions and system requirements, see the Demisto-SDK Installation Guide.

Step 2: Clone or sync the content repository

Warning

Clone the official demisto/content repository locally.

  • Option A SSH (recommended for local uploads only): git clone git@github.com:demisto/content.git

  • Option B (HTTPS): git clone https://github.com/demisto/content.git

Note

If you already have a local copy, ensure it is up to date before proceeding: git checkout master

git pull origin master --rebase

Step 3: Configure environment variables

To allow demisto-sdk to authenticate with your platform instance, create a .env file in the root directory of your cloned content repository (content/.env).

How to obtain credentials from Cortex XSIAM:

  1. Log in to Cortex XSIAM.

  2. Navigate to Settings → Configurations → search for API Keys.

  3. API URL (DEMISTO_BASE_URL): Click Copy API URL in the top right corner.

  4. API Key (DEMISTO_API_KEY): a. Click New Key (top right corner). b. Set Key Type to Standard. c. Set Role to Instance Administrator. d. Click Generate and copy the key immediately from the window.

  5. Auth ID (XSIAM_AUTH_ID): a. Close the key window to view the API Keys table. b. Locate the row for your newly created API key. c. Copy the numerical ID in the ID column (such as, 4).

Populate content/.env Add your credentials to content/.env:

DEMISTO_BASE_URL=https://api-your-tenant-url.xdr.us.paloaltonetworks.com/xsoar

DEMISTO_API_KEY=your_copied_api_key_here

XSIAM_AUTH_ID=your_key_id_number_here

Step 4: Duplicate and update YAML

  1. Locate the sub-capability (integration): Find the directory you want to duplicate under the Packs directory (such as, Packs/<PackName>/Integrations/<IntegrationName>/).

  2. Add the _copy marker: Open the integration's .yml file in your favorite IDE (such as, VS Code) and update both the commonfields.id and name fields to include the _copy marker. If either field is missing this marker, the upload command will block execution to prevent tenant corruption.

Note

Updating the display field with the _copy marker is optional but recommended. It helps distinguish your custom duplicate from the original sub-capability (integration) in Cortex XSIAM.

Important

For example:

# BEFORE

commonfields:

id: PolarSecurity

name: Polar Security

# AFTER (Required Duplication Convention)

commonfields:

id: PolarSecurity_copy

name: Polar Security_copy

Step 5: Upload the custom sub-capability (integration)

Run the upload-custom-integration command, passing the path to your modified directory or direct YAML file.

  • Recommended (upload using directory path): demisto-sdk upload-custom-integration -i 'Packs/MyPack/Integrations/MyIntegration'

  • Alternative (upload using direct YAML file): demisto-sdk upload-custom-integration -i 'Packs/MyPack/Integrations/MyIntegration/MyIntegration.yml'

Expected command output:

Step 6: Verify in Cortex XSIAM

  1. Log in to Cortex XSIAM.

  2. Select Settings → Data Sources & Integrations → Add New.

  3. Locate your sub-capability (integration); it will display a Custom badge.

  4. Click Add to configure and use your custom duplicate.

Troubleshooting & FAQ

Error: Missing _copy Marker

If you see an error like the one below, the SDK has blocked the upload to prevent ID conflicts: Invalid value: Integration field(s) missing the '_copy' marker: commonfields.id = 'MyIntegration' and name = 'MyIntegration' Fix: Open your YAML file and append _copy to both commonfields.id and name.

Bypassing Validation (--force-id)

Important

If you must upload without the _copy marker, pass the --force-id flag: demisto-sdk upload-custom-integration -i <path> --force-id This will log a high-visibility CLI warning before proceeding: [WARNING] Uploading custom content without the '_copy' marker risks conflicting with official system pack IDs... Proceeding because --force-id was explicitly set.

Last updated

Was this helpful?