Registry / devops / demisto-sdk

demisto-sdk

JSON →
library1.39.1pypypi✓ verified 81d ago

A Python library for developing, testing, and managing Cortex XSOAR content. Version 1.38.24 supports Python 3.9-3.12. Released approximately monthly.

pip install demisto-sdk
INSTALL
IMPORT
SIG · DEMISTO-SDK
D
demisto-sdk
devopspythonv1.39.1
Install
29.2s avg
Import
Disk
300MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.39.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 320.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 29.2s · import 0.000s · 310MB
300MB installed
● package 300MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

commands
from demisto_sdk import commands
from demisto_sdk import DemistoSDK

Initialize DemistoSDK with API key and base URL, then run a content validation.

from demisto_sdk import DemistoSDK import os api_key = os.environ.get('DEMISTO_API_KEY', '') base_url = os.environ.get('DEMISTO_BASE_URL', 'https://api.demisto.com') sdk = DemistoSDK(api_key=api_key, base_url=base_url) # Example: validate content sdk.content_validate()
demisto-sdk --version
Debug
Known issues
breakingIn v1.16.0, the DemistoSDK class moved from `demisto_sdk` to `demisto_sdk.__main__`. Import from `demisto_sdk` directly going forward.
fix
Use `from demisto_sdk import DemistoSDK`
affects: <1.16.0
deprecatedThe `validate` command's `--prev-ver` flag is deprecated in favor of `--previous-version`.
fix
Use `--previous-version` instead
affects: >=1.30.0
gotchaAPI keys should be stored securely. The SDK does not encrypt keys; avoid hardcoding.
fix
Use environment variables or a secrets manager.
affects: all
Upgrade
Version history
1.39.1latest on PyPI · released Jun 1, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
20
OpenAI (training)
1
Resources
demisto-sdk — pip install demisto-sdk · libregistry