mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2024-12-13 17:44:33 +00:00
12 lines
223 B
SQL
12 lines
223 B
SQL
-- Return the list of open sockets per process
|
|
--
|
|
-- tags: postmortem
|
|
-- platform: posix
|
|
SELECT
|
|
p.path AS p_path,
|
|
p.name AS p_name,
|
|
pos.*
|
|
FROM
|
|
process_open_sockets AS pos
|
|
LEFT JOIN processes p ON pos.pid = p.pid;
|