mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2025-01-20 20:40:43 +00:00
Add carevout for /nix/store and caskroom
This commit is contained in:
parent
1afd3f6a75
commit
6bb1785df9
@ -84,10 +84,14 @@ WHERE
|
||||
OR p.path LIKE '/Users/%/Library/Application Support/com.elgato.StreamDeck/Plugins/%'
|
||||
OR p.path LIKE '/Applications/%.app/Contents/MacOS/%'
|
||||
OR p.path LIKE '/opt/homebrew/Cellar/%/bin/%'
|
||||
OR p.path LIKE '/opt/homebrew/Caskroom/%/bin/%'
|
||||
OR p.path LIKE '/Users/%/google-cloud-sdk/bin/kubectl'
|
||||
OR p.path LIKE '/nix/store/%'
|
||||
)
|
||||
)
|
||||
AND NOT (
|
||||
p.euid > 300
|
||||
AND p.path LIKE '/nix/store/%'
|
||||
)
|
||||
AND NOT (
|
||||
p.euid = 0
|
||||
AND (
|
||||
|
Loading…
Reference in New Issue
Block a user