mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2025-01-08 06:19:28 +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)
|
-- * programs which have legimate uses for /dev/shm (Chrome, etc)
|
||||||
--
|
--
|
||||||
-- tags: persistent state filesystem
|
-- tags: persistent state filesystem
|
||||||
-- platform: linux
|
-- platform: posix
|
||||||
SELECT
|
SELECT
|
||||||
file.path,
|
file.path,
|
||||||
file.type,
|
file.type,
|
||||||
@ -49,5 +49,4 @@ WHERE
|
|||||||
AND file.path NOT LIKE '/dev/shm/libpod_rootless_lock_%'
|
AND file.path NOT LIKE '/dev/shm/libpod_rootless_lock_%'
|
||||||
AND file.path NOT LIKE '%/../%'
|
AND file.path NOT LIKE '%/../%'
|
||||||
AND file.path NOT LIKE '%/./%'
|
AND file.path NOT LIKE '%/./%'
|
||||||
AND filename NOT IN ('..')
|
|
||||||
AND file.path NOT IN ('/dev/.mdadm/')
|
AND file.path NOT IN ('/dev/.mdadm/')
|
||||||
|
Loading…
Reference in New Issue
Block a user