Skip to content

Grabs the administrator and authentication logs from the Duo Security API and sends CEF-formatted syslog.

License

Notifications You must be signed in to change notification settings

tarxvf/duo_log_grabber

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a utility that will leverage the Duo Security API (https://www.duosecurity.com/docs) and pulls both the admin and authentication logs and then write CEF-compliant syslog messages to an arbitrary server.

This could used used to with a scheduled job to import Duo Security logs into a SIEM or log management solution.

Installation

  1. download the zip archive
  2. pip install -r requirements.txt
  3. update the conf.ini file

Notes

Pay attention to the conf.ini file. Many important value are set, including:

  • syslog destination
  • timeframe for log retrieval
  • API authentication credentials
  • rudimentary debugging

Dependencies

The following modules are used:

Only tested on Python 2.7.6.

Resources

This is the most current CEF definition, but requires a Protect724 login.

This is slightly older, but good enough:

About

Grabs the administrator and authentication logs from the Duo Security API and sends CEF-formatted syslog.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published