mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2024-12-14 10:04:40 +00:00
12 lines
218 B
SQL
12 lines
218 B
SQL
-- 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;
|