Docker image based on Duo Log Sync utility for fetching logs to feed Devo Data Analytics Platform (or another SIEM).
The goal was to make an easy, ready-to-use, lightweight Docker image (only 67 MB!) for Duo users to send logs to Devo without having to install the utility and its dependencies.
- Create an Admin API application in the Duo Admin Panel.
- Get your integration key, secret key, and API hostname.
- Set up 4 custom Devo relay rules for these tables:
- auth.duo.administrator.login (for "admin_" actions)
- auth.duo.administrator.events
- auth.duo.authentication.events
- auth.duo.telephony.events
- Edit the
config.yml
file:- Provide your Admin API credentials (from Step 1).
- Provide your Devo relay connection settings (from Step 2).
- Execute the command:
./run.sh
- Check that
duologsync.log
was generated on the host without errors. - Go to the Devo webapp and see if you have Duo events in all
auth.duo.*
tables.
This image uses the official Docker build of Python 3.9 that runs on Alpine Linux. I choose that version and distro to have a minimal image with the latest Python available. If you need a different Python/Linux version, or you just want to add/remove packages, you can build your own image:
- Modify the
Dockerfile
file. - Run the
build.sh
script to create your custom image. - Edit the image name in the
run.sh
script to use your new image.
duologsync Docker image is licensed under the terms of the MIT License. See the LICENSE
file for details.
Find me as rcmelendez on LinkedIn, Medium, and of course GitHub.