mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2025-01-07 13:59:26 +00:00
9 lines
256 B
MySQL
9 lines
256 B
MySQL
|
-- Retrieves the command history, per user, by parsing the shell history files.
|
||
|
--
|
||
|
-- interval: 86400
|
||
|
-- platform: posix
|
||
|
-- value: Identify actions taken. Useful for compromised hosts.
|
||
|
-- version: 1.4.5
|
||
|
|
||
|
select * from users join shell_history using (uid);
|