Splunk SOAR SDK - the official tool for Splunk SOAR app development
Documentation
Detailed documentation can be found here
Installation
The Splunk SOAR SDK is available as a package on PyPI.
The recommended installation method is via uv.
Find us at .conf25
To learn more about the SDK, check out our (presentation slides)[https://conf.splunk.com/files/2025/slides/DEV1495.pdf] from .conf25!
Installing the SDK as a tool
This package defines the soarapps command line interface. To use it, install as a uv tool:
uv tool install splunk-soar-sdk
soarapps --help
Quick Start
Create a new, empty app: Run soarapps init.
Migrate an existing app to the SDK: Run soarapps convert myapp, where myapp is your app written using BaseConnector. This will convert asset configuration, action declarations, and inputs and outputs. You'll still need to re-implement your action code, as well as any custom views and webhooks.
Getting Help
If you need help, please file a GitHub issue at https://github.com/phantomcyber/splunk-soar-sdk/issues.
Installing the SDK as an app dependency
When developing a new Splunk SOAR app using the SDK, you should use uv as your project management tool:
uv add splunk-soar-sdk
Running the above command will add splunk-soar-sdk as a dependency of your Splunk SOAR app, in your pyproject.toml file.
Usage
In order to start using SDK and build your first Splunk SOAR App, follow the Getting Started guide.
A Splunk SOAR app developed with the SDK will look something like this:
Project structure:
string_reverser/
├─ src/
│ ├─ __init__.py
│ ├─ app.py
├─ tests/
│ ├─ __init__.py
│ ├─ test_app.py
├─ .pre-commit-config.yaml
├─ logo.svg
├─ logo_dark.svg
├─ pyproject.toml
With app.py containing:
from soar_sdk.abstract import SOARClient
from soar_sdk.app import App
from soar_sdk.asset import AssetField, BaseAsset
from soar_sdk.params import Params
from soar_sdk.action_results import ActionOutput
class Asset(BaseAsset):
base_url: str
api_key: str = AssetField(sensitive=True, description="API key for authentication")
app = App(name="test_app", asset_cls=Asset, appid="1e1618e7-2f70-4fc0-916a-f96facc2d2e4", app_type="sandbox", logo="logo.svg", logo_dark="logo_dark.svg", product_vendor="Splunk", product_name="Example App", publisher="Splunk")
@app.test_connectivity()
def test_connectivity(soar: SOARClient, asset: Asset) -> None:
soar.debug(f"testing connectivity against {asset.base_url}")
class ReverseStringParams(Params):
input_string: str
class ReverseStringOutput(ActionOutput):
reversed_string: str
@app.action(action_type="test", verbose="Reverses a string.")
def reverse_string(
param: ReverseStringParams, soar: SOARClient
) -> ReverseStringOutput:
reversed_string = param.input_string[::-1]
return ReverseStringOutput(reversed_string=reversed_string)
if __name__ == "__main__":
app.cli()
Requirements
- uv
- Python >=3.9
- Python may be installed locally with uv
- Splunk SOAR >=6.4.0
- You can get Splunk SOAR Community Edition from the Splunk website
Copyright 2025 Splunk Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Metadata
Release files for splunk-soar-sdk 6.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| splunk_soar_sdk-6.1.1.tar.gz | 983.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| splunk_soar_sdk-6.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.2 MB
Release files / splunk_soar_sdk-6.1.1.tar.gz
| Download URL | splunk_soar_sdk-6.1.1.tar.gz |
|---|---|
| Size | 983.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48ae90db38643d5f87a1ea2e41bae01dae8402390ee0ffc4f3e6c8439dfe7ff2
|
|
BLAKE2b-256 checksum How to use checksums |
807035fb3e6004bdd0e7c2286f69ddf0ac12e2646fe4ec91324ea0f2f3770a1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / splunk_soar_sdk-6.1.1-py3-none-any.whl
| Download URL | splunk_soar_sdk-6.1.1-py3-none-any.whl |
|---|---|
| Size | 226.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59a02a3c600b5dda891165c3aadd4ab28142a00301b90df0c20c67b9d83adf92
|
|
BLAKE2b-256 checksum How to use checksums |
a8781857efb40bac07ea174c9ff2e9dd01a0a7ea07fa2a51e001571df7ee1a03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|