osquery-defense-kit/incident_response/user_ssh_keys.sql

9 lines
116 B
MySQL
Raw Normal View History

2023-02-23 14:35:38 +00:00
-- Retrieves the ssh keys per user
--
-- tags: postmortem
SELECT
*
FROM
users
JOIN user_ssh_keys USING (uid);