incident_response: bugfixes across queries
This commit is contained in:
parent
e50a84f382
commit
5fa706805e
|
@ -5,4 +5,4 @@
|
||||||
SELECT
|
SELECT
|
||||||
*
|
*
|
||||||
FROM
|
FROM
|
||||||
authorizations;
|
disk_events;
|
||||||
|
|
|
@ -2,7 +2,11 @@
|
||||||
--
|
--
|
||||||
-- tags: postmortem
|
-- tags: postmortem
|
||||||
-- platform: posix
|
-- platform: posix
|
||||||
SELECT *
|
SELECT
|
||||||
FROM file
|
file.*,
|
||||||
JOIN hash ON file.path = hash.path
|
magic.data
|
||||||
WHERE file.path LIKE "/dev/%%";
|
FROM
|
||||||
|
file
|
||||||
|
JOIN magic ON file.path = magic.path
|
||||||
|
WHERE
|
||||||
|
file.path LIKE "/dev/%%";
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
-- Return the list of interface addresses
|
-- Return the list of open pipes per process
|
||||||
--
|
--
|
||||||
-- tags: postmortem
|
-- tags: postmortem
|
||||||
-- platform: posix
|
-- platform: posix
|
||||||
SELECT p.path AS p_path, p.name AS p_name,
|
SELECT
|
||||||
|
p.path AS p_path,
|
||||||
|
p.name AS p_name,
|
||||||
pop.*
|
pop.*
|
||||||
FROM process_open_pipes AS pop
|
FROM
|
||||||
|
process_open_pipes AS pop
|
||||||
LEFT JOIN processes p ON pop.pid = p.pid;
|
LEFT JOIN processes p ON pop.pid = p.pid;
|
|
@ -2,7 +2,8 @@
|
||||||
--
|
--
|
||||||
-- tags: postmortem
|
-- tags: postmortem
|
||||||
-- platform: posix
|
-- platform: posix
|
||||||
SELECT pid,
|
SELECT
|
||||||
|
pid,
|
||||||
name,
|
name,
|
||||||
path,
|
path,
|
||||||
cmdline,
|
cmdline,
|
||||||
|
@ -13,7 +14,7 @@ SELECT pid,
|
||||||
gid,
|
gid,
|
||||||
euid,
|
euid,
|
||||||
egid,
|
egid,
|
||||||
seuid,
|
suid,
|
||||||
sgid,
|
sgid,
|
||||||
on_disk,
|
on_disk,
|
||||||
start_time,
|
start_time,
|
||||||
|
@ -22,4 +23,5 @@ SELECT pid,
|
||||||
threads,
|
threads,
|
||||||
nice,
|
nice,
|
||||||
cgroup_path
|
cgroup_path
|
||||||
FROM processes
|
FROM
|
||||||
|
processes
|
||||||
|
|
|
@ -2,4 +2,7 @@
|
||||||
--
|
--
|
||||||
-- tags: postmortem
|
-- tags: postmortem
|
||||||
-- platform: linux
|
-- platform: linux
|
||||||
SELECT * FROM seccomp_events;
|
SELECT
|
||||||
|
*
|
||||||
|
FROM
|
||||||
|
seccomp_events;
|
||||||
|
|
Loading…
Reference in New Issue