mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2025-01-05 12:59:29 +00:00
Don't mask directories, run on macOS
This commit is contained in:
parent
e09e410407
commit
a22ca1f2b0
@ -7,7 +7,7 @@
|
||||
-- * programs which have legimate uses for /dev/shm (Chrome, etc)
|
||||
--
|
||||
-- tags: persistent state filesystem
|
||||
-- platform: linux
|
||||
-- platform: posix
|
||||
SELECT
|
||||
file.path,
|
||||
file.type,
|
||||
@ -49,5 +49,4 @@ WHERE
|
||||
AND file.path NOT LIKE '/dev/shm/libpod_rootless_lock_%'
|
||||
AND file.path NOT LIKE '%/../%'
|
||||
AND file.path NOT LIKE '%/./%'
|
||||
AND filename NOT IN ('..')
|
||||
AND file.path NOT IN ('/dev/.mdadm/')
|
||||
|
Loading…
Reference in New Issue
Block a user