tzhang14 / splunk-add-on-for-cef

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup of developer env

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

#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

Test

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

About


Languages

Language:Shell 90.8%Language:Python 9.2%