Add carevout for /nix/store and caskroom

This commit is contained in:
Thomas Stromberg 2022-10-21 11:40:47 -04:00
parent 1afd3f6a75
commit 6bb1785df9
Failed to extract signature

View File

@ -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 (