osquery-defense-kit/incident_response/file_events.sql

8 lines
189 B
MySQL
Raw Normal View History

2023-02-23 14:35:38 +00:00
-- Return the list of watched file events (must be configured)
--
-- tags: postmortem
-- platform: posix
2023-05-12 20:35:00 +00:00
-- interval: 900
SELECT *
FROM file_events
WHERE time > (strftime('%s', 'now') -900)