Welcome to the open-source repository for Splunk> SOAR's Cydarm App.
Please have a look at our Contributing Guide if you are interested in contributing, raising issues, or learning more about open-source Phantom apps.
This SOAR App is licensed under the Apache 2.0 license. Please see our Contributing Guide for further details.
- SOAR app which integrates with Cydarm API
- https://support.cydarm.com/en/knowledge/api-documentation (requires login)
- A Github action called
Build SOAR App
has been setup which creates the SOAR app.tgz
as an artifact.
app/
contains all SOAR app filespackage.sh
is used to create a.tgz
SOAR app bundleapp/cydarm.json
is generated viaupdate_app_json.sh
, which runs thegen_app_json
Python module
- requires the python package
pyclean
installed
- Note that the tests in
test_cydarm_api.py
expect to hit a real Cydarm environment. - Also some of the tests are hardcoded against my own Cydarm instance, so may fail in another env.
- TODO: generalise any hardcoded tests OR use mocks instead of real requests.
- Python Requirements:
- pytest
- pytest-dotenv
- Create a
.env
file in repo root based on this template:CYDARM_BASE_URL= CYDARM_USERNAME= CYDARM_PASSWORD=
- Run
PYTHONPATH=. pytest -v test/
from repo root.