No project description provided
Project description
xsoar-client
Python client library for Palo Alto XSOAR (formerly Demisto). Provides programmatic access to XSOAR servers for content pack management, case operations, and artifact handling.
This library is the foundation for xsoar-cli. Use xsoar-client directly when building custom integrations or automation scripts. For command-line usage, use xsoar-cli instead.
Installation
pip install xsoar-client
Requirements
- Python 3.10 or higher
- XSOAR/XSIAM server (version 6 or 8)
- Valid API credentials
Configuration
Environment Variables
Authentication credentials are read from environment variables:
DEMISTO_API_KEY- XSOAR API keyDEMISTO_BASE_URL- XSOAR server URL (e.g.,https://xsoar.example.com)XSIAM_AUTH_ID- XSIAM authentication ID (XSOAR 8 only)
ClientConfig Parameters
server_version(required) - XSOAR server version (6 or 8)custom_pack_authors- List of custom pack authors (default:[])api_token- API token (default: fromDEMISTO_API_KEYenvironment variable)server_url- Server URL (default: fromDEMISTO_BASE_URLenvironment variable)xsiam_auth_id- XSIAM auth ID (default: fromXSIAM_AUTH_IDenvironment variable)verify_ssl- SSL verification, boolean or path to CA bundle (default:False)
Artifact Providers
Artifact providers handle storage and retrieval of custom content packs from cloud storage.
AWS S3
Requires AWS credentials configured via AWS CLI or standard AWS environment variables.
Azure Blob Storage
Requires AZURE_STORAGE_SAS_TOKEN environment variable.
Use Cases
- Custom automation scripts for XSOAR operations
- CI/CD pipeline integration for content deployment
- Bulk operations across multiple XSOAR instances
- Custom tooling built on top of XSOAR APIs
For CLI-based workflows and usage examples, see xsoar-cli.
License
Distributed under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xsoar_client-2.0.7.tar.gz.
File metadata
- Download URL: xsoar_client-2.0.7.tar.gz
- Upload date:
- Size: 36.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4e77c4fae0c59d3ec78499653acfe330767b96fe5548d486741c3d49eb1d5f0
|
|
| MD5 |
b0f1b55a686c9c52c22b34249da041d3
|
|
| BLAKE2b-256 |
01604940676c2ed00ed02ce3cc8847ba91ee8504c71a532c18be1ca81ab6d2f9
|
Provenance
The following attestation bundles were made for xsoar_client-2.0.7.tar.gz:
Publisher:
release.yml on tlium/xsoar-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xsoar_client-2.0.7.tar.gz -
Subject digest:
b4e77c4fae0c59d3ec78499653acfe330767b96fe5548d486741c3d49eb1d5f0 - Sigstore transparency entry: 976529378
- Sigstore integration time:
-
Permalink:
tlium/xsoar-client@f547484480352ebcee05ba544603f953c95ab1ee -
Branch / Tag:
refs/tags/2.0.7 - Owner: https://github.com/tlium
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f547484480352ebcee05ba544603f953c95ab1ee -
Trigger Event:
release
-
Statement type:
File details
Details for the file xsoar_client-2.0.7-py3-none-any.whl.
File metadata
- Download URL: xsoar_client-2.0.7-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
147675bc2dd775fb38e7ecd33d18848c5dac4bca1276d9d900f6ce34b5bfeaab
|
|
| MD5 |
798450d55b00dde689874a3b974293e9
|
|
| BLAKE2b-256 |
f3e1652e7a2be50d88b9db5d359f9cd4b987c5143604067678aef91838e726d4
|
Provenance
The following attestation bundles were made for xsoar_client-2.0.7-py3-none-any.whl:
Publisher:
release.yml on tlium/xsoar-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xsoar_client-2.0.7-py3-none-any.whl -
Subject digest:
147675bc2dd775fb38e7ecd33d18848c5dac4bca1276d9d900f6ce34b5bfeaab - Sigstore transparency entry: 976529386
- Sigstore integration time:
-
Permalink:
tlium/xsoar-client@f547484480352ebcee05ba544603f953c95ab1ee -
Branch / Tag:
refs/tags/2.0.7 - Owner: https://github.com/tlium
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f547484480352ebcee05ba544603f953c95ab1ee -
Trigger Event:
release
-
Statement type: