osquery-defense-kit/incident_response/files-etc.sql
Thomas Stromberg 41d83350a1
make reformat
2023-05-08 13:20:47 -04:00

12 lines
202 B
SQL

-- Returns a list of file information from /etc (non-hidden only)
--
-- tags: postmortem
-- platform: posix
SELECT
*
FROM
file
JOIN hash ON file.path = hash.path
WHERE
file.path LIKE "/etc/%%";