Skip to content

Local Development for Splunk SOAR Connectors

pytest-splunk-soar-connectors is a plugin for the pytest framework that provides a set of mock packages and fixtures for unit testing Splunk SOAR Apps (Connectors).

It provides a way to run and test Splunk SOAR connectors locally. Pair it with other pytest packages such as requests-mock or vcrpy to test connectors in total isolation, without a development SOAR instance or even access to the remote system the connector integrates with.

Beyond testing, the package can be used to get IDE autocompletions for the phantom package that is typically only found within the Splunk SOAR Python environment. This can ease development significantly. The initial scope of this project is to cover the entire App Authoring API.

Other Projects

Its purpose is similiar to the phantom-test-harness project and some of the features fo the phantom-dev framework.

Support

This is not an official Splunk product.