Sign inSign up

rcmelendez/duologsync

By rcmelendez

•Updated over 5 years ago

Docker image based on Duo Log Sync utility for fetching logs to feed Devo (or another SIEM).

Image
0

1.0K

rcmelendez/duologsync repository overview

⁠duologsync Docker image

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.

⁠How to use this image

⁠1. Duo
  • Create an Admin API⁠ application in the Duo Admin Panel.
  • Get your integration key, secret key, and API hostname.
⁠2. Devo
  • 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
⁠3. Duo Log Sync
  • Edit the config.yml⁠ file:
    • Provide your Admin API credentials (from Step 1).
    • Provide your Devo relay connection settings (from Step 2).
⁠4. Run the image
⁠5. Validation
  • 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.

⁠Building a custom image

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:

⁠License

duologsync⁠ Docker image is licensed under the terms of the MIT License. See the LICENSE⁠ file for details.

⁠Contact

Find me as rcmelendez on LinkedIn⁠, Medium⁠, and GitHub⁠.

Tag summary

Content type

Image

Digest

Size

26.2 MB

Last updated

over 5 years ago

docker pull rcmelendez/duologsync