monsys CLI
brew install gotrust/tap/monsys # macOS / Linuxscoop install monsys # WindowsAuthenticeer:
monsys login# of via env: MONSYS_API_KEY=...Voorbeelden
Find slow endpoints over de hele vloot:
monsys query 'p99(http.req.ms) by host where path ~ "/api/.*" last 1h'Trigger emergency action:
monsys emergency \ --agent api-prod-01 --level 1 \ --action IsolateNetwork \ --reason "Honeypot tripped on /root/.ssh/id_rsa.monsys-backup"Export inventory:
monsys inventory --agent web-edge-01 --format json > inventory.json