Note: Must install docker desktop, vscode or pycharm pro optional
Note2: Appinspect requires libmagic verify this has been installed correctly each time a new workstation/vm is used https://dev.splunk.com/enterprise/docs/releaseapps/appinspect/splunkappinspectclitool/installappinspect
git clone git@github.com:splunk/<repo slug>.git
cd <repo dir>
git submodule update --init --recursive
poetry shell
poetry install
mkdir -p package/lib
poetry export --without-hashes -o package/lib/requirements.txt
ucc-gen
slim package output/<add-on name>
Using docker
pytest
Using external Splunk instance with Eventgen and app pre-installed
pytest --splunk-type=external --splunk-host=something --splunk-user=foo --splunk-password=something