Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lachesis

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).

Install

API

cd api
npm install

Dashboard

cd dashboard
npm install

Needs MariaDB running with a monitor database.

Usage

# start api (port 6380)
cd api && npm run dev

# start dashboard (port 4200)
cd dashboard && npm start

Ingest a Clotho report

curl -X POST http://localhost:6380/api/ingest \
  -H "Content-Type: application/json" \
  -d @clotho_report.json

Check stats

curl http://localhost:6380/api/threads/stats

Database

sudo 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.

What it tracks

  • Entropy — weighted score of failed controls (higher = worse)
  • Stability — time since last failure / total uptime
  • MTBF — mean time between "fray" events

License

MIT

About

Tracks compliance drift over time with charts and entropy scores. Companion to Clotho

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages