Dashboard for tracking if my servers are staying compliant over time.
Ingests JSON reports from Clotho, stores them in MariaDB, shows pretty graphs. Tells me when things "fray" (drift from baseline).
cd api
npm installcd dashboard
npm installNeeds MariaDB running with a monitor database.
# start api (port 6380)
cd api && npm run dev
# start dashboard (port 4200)
cd dashboard && npm startcurl -X POST http://localhost:6380/api/ingest \
-H "Content-Type: application/json" \
-d @clotho_report.jsoncurl http://localhost:6380/api/threads/statssudo mariadb -e "
CREATE DATABASE monitor;
CREATE USER 'lachesis'@'localhost' IDENTIFIED BY 'changeme';
GRANT ALL ON monitor.* TO 'lachesis'@'localhost';
"Tables auto-create on first run.
- Entropy — weighted score of failed controls (higher = worse)
- Stability — time since last failure / total uptime
- MTBF — mean time between "fray" events
MIT