osquery-defense-kit/incident_response/last.sql

9 lines
143 B
SQL

-- Retrieves the list of the latest logins with PID, username and timestamp.
--
-- tags: postmortem
-- platform: posix
SELECT
*
FROM
last;