Skip to content

paaland/UnifiThreatMap

Repository files navigation

This application subscribes to events from a Unifi UDM/UDM Pro or UDM SE via unifi.js. It serves a web page with a LeafletJS map and plots IDS/IPS alerts on the map in real-time via socket.io.

To run you need to add an .env file and the following keys:

unifi_ip=192.168.10.1
unifi_user=localUdmAdminUsername
unifi_password='localUdmAdminPassword'

To run either use docker (see docker_build_local.sh and docker_run_local.sh) or via node server.js Also available prebuilt at Docker Hub: https://hub.docker.com/r/paaland/unifithreatmap

Then navigate to http://your-ip:9999

Demo running against my own Unifi UDM SE: https://map.funcraft.no

Sample alert