Before you start using the discovery app, there a few pre-requisites:
- Ensure requirements are satisfied on linux system, especially docker support (if required), https inbound / outbound connectivity, twigs CLI and cron support (if running standalone).
- Download / clone the ThreatWorx Discovery App repository
git clone https://github.com/threatworx/discovery_app.git
- Run the setup.sh script to create self signed certificates
cd discovery_app
./setup.sh
- Modify the uwsgi.ini (or uwsgi-local.ini if you are running as as standalone app) for http/https ports and certificates.
- Start the app service by running the
docker composeor thedocker-composecommand
docker compose up -d
OR
Start the app service in standalone mode on the system by running ./run.sh script
- Point a browser to
https://linux-systemto start using the app
Most of the options and configuration can be changed later by editing the
./config/config.inior the./config/uwsgi.inior./config/uwsgi-local.inifiles.
For example, any existing discovery scan configurations can be deleted or modified from the
config.ini
Restarting the app server will refresh the scan configurations in their respective cron schedules.
Backup of discovery app configuration
To backup discovery app configuration, please back up the “discovery_app/config” folder. This folder can be restored for a new discovery app installation and will ensure that all discovery job configurations are restored and preserved.