Skip to content
/ lachesis Public

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

License

Notifications You must be signed in to change notification settings

0x1eo/lachesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published