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 [email protected]:splunk/<repo slug>.git
cd <repo dir>
git submodule update --init --recursive
#setup python venv must be 3.7
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install https://download.splunk.com/misc/appinspect/splunk-appinspect-latest.tar.gz
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