CLI monsys
brew install gotrust/tap/monsys # macOS / Linuxscoop install monsys # WindowsAuthentifier :
monsys login# ou via env : MONSYS_API_KEY=...Exemples
Section intitulée « Exemples »Trouver les points d’entrée lents sur tout le parc :
monsys query 'p99(http.req.ms) by host where path ~ "/api/.*" last 1h'Déclencher une action d’urgence :
monsys emergency \ --agent api-prod-01 --level 1 \ --action IsolateNetwork \ --reason "Le honeypot a été déclenché sur /root/.ssh/id_rsa.monsys-backup"Exporter l’inventaire :
monsys inventory --agent web-edge-01 --format json > inventory.json