osquery-defense-kit/incident_response/process_open_files.sql

9 lines
216 B
MySQL
Raw Normal View History

2023-02-23 14:35:38 +00:00
-- Return the list of open files by process
--
-- tags: postmortem
-- platform: posix
SELECT p.path AS p_path, p.name AS p_name,
pof.*
FROM process_open_files AS pof
LEFT JOIN processes p ON pof.pid = p.pid;