mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2025-02-19 19:26:55 +00:00
Merge pull request #162 from tstromberg/fpr-again
Add local port and address to network queries
This commit is contained in:
commit
9bebd8a59a
@ -14,6 +14,8 @@ SELECT
|
||||
protocol,
|
||||
s.remote_port,
|
||||
s.remote_address,
|
||||
s.local_port,
|
||||
s.local_address,
|
||||
s.action,
|
||||
s.status,
|
||||
p.name,
|
||||
|
@ -18,6 +18,8 @@ SELECT
|
||||
pp.path AS parent_path,
|
||||
p.parent AS parent_pid,
|
||||
pp.cmdline AS parent_cmd,
|
||||
s.local_address,
|
||||
s.local_port,
|
||||
s.state,
|
||||
hash.sha256,
|
||||
-- This intentionally avoids file.path, as it won't join across mount namespaces
|
||||
|
@ -11,6 +11,8 @@
|
||||
SELECT
|
||||
s.remote_address,
|
||||
s.remote_port,
|
||||
s.local_port,
|
||||
s.local_address,
|
||||
p.name,
|
||||
p.path,
|
||||
p.cmdline AS child_cmd,
|
||||
|
@ -10,6 +10,8 @@ SELECT
|
||||
s.local_port,
|
||||
s.remote_port,
|
||||
s.remote_address,
|
||||
s.local_port,
|
||||
s.local_address,
|
||||
p.name,
|
||||
p.path,
|
||||
p.cmdline AS child_cmd,
|
||||
|
@ -22,6 +22,8 @@ SELECT DISTINCT
|
||||
p.start_time,
|
||||
pos.remote_address,
|
||||
pos.remote_port,
|
||||
pos.local_address,
|
||||
pos.local_port,
|
||||
pp.cmdline,
|
||||
pp.path
|
||||
FROM
|
||||
|
Loading…
Reference in New Issue
Block a user