Skip to content

Retrieve file integrity monitoring logs from osquery running on a Linux host

License

Notifications You must be signed in to change notification settings

bc-stone/osquery-fim-logs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osquery-fim-logs

Retrieve file integrity monitoring logs from Osquery running on a Linux host

For organizations already running Osquery with the file integrity monitoring pack enabled, this script will retrieve those logs (filtered by username, date, filename and action) from a Linux host. It sends the results in tabular format as an email attachment to one or more recipients. Based on the number of files and directories being monitored, the results file can become quite large.

The send_email.py module in this repo uses a site-specific SMTP server identified by environment variables on the local system.

Also in the repo is osquery_logs.sh - a bash wrapper script that can be used as a model for running from cron.

About

Retrieve file integrity monitoring logs from osquery running on a Linux host

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published