mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2025-01-10 07:39:26 +00:00
Merge pull request #75 from tstromberg/more-flushing2
Add exceptions for terraform, hugo, macOS updates
This commit is contained in:
commit
0513cf159f
@ -97,6 +97,7 @@ WHERE
|
||||
AND NOT name IN (
|
||||
'chrome',
|
||||
'com.apple.MobileSoftwareUpdate.UpdateBrainService',
|
||||
'com.apple.NRD.UpdateBrainService',
|
||||
'containerd',
|
||||
'cargo',
|
||||
'esbuild',
|
||||
|
@ -46,6 +46,7 @@ WHERE
|
||||
AND dirname NOT LIKE '/usr/local/%libexec'
|
||||
and dirname NOT LIKE '/usr/local/Cellar/%'
|
||||
AND dirname NOT LIKE '/usr/lib/%'
|
||||
AND dirname NOT LIKE '%/.terraform/providers/%'
|
||||
AND dirname NOT LIKE '/usr/lib64/%'
|
||||
AND dirname NOT LIKE '/tmp/%/bin'
|
||||
AND dirname NOT LIKE '/usr/local/go/pkg/tool/%'
|
||||
|
@ -137,6 +137,7 @@ WHERE
|
||||
AND dir NOT LIKE '/private/tmp/PKInstallSandbox.%/Scripts/com.microsoft.OneDrive.%'
|
||||
AND dir NOT LIKE '/private/var/db/com.apple.xpc.roleaccountd.staging/%.xpc/Contents/MacOS'
|
||||
AND dir NOT LIKE '/private/var/folders/%/bin'
|
||||
AND dir NOT LIKE '%/.terraform/providers/%'
|
||||
AND dir NOT LIKE '/private/var/folders/%/Contents/%'
|
||||
AND dir NOT LIKE '/private/var/folders/%/d/Wrapper/%.app'
|
||||
AND dir NOT LIKE '/private/var/folders/%/go-build%'
|
||||
|
@ -58,6 +58,7 @@ WHERE
|
||||
AND dirname NOT LIKE '/nix/store/%'
|
||||
AND dirname NOT LIKE '/opt/%'
|
||||
AND dirname NOT LIKE '/snap/%'
|
||||
AND dirname NOT LIKE '%/.terraform/providers/%'
|
||||
AND dirname NOT LIKE '/tmp/%/bin'
|
||||
AND dirname NOT LIKE '/tmp/go-build%'
|
||||
AND dirname NOT LIKE '/usr/lib/%'
|
||||
|
@ -108,6 +108,7 @@ WHERE
|
||||
'~/Library/',
|
||||
'~/.local/',
|
||||
'~/projects/',
|
||||
'~/git/',
|
||||
'~/src/',
|
||||
'~/.tflint.d/',
|
||||
'~/.vscode/',
|
||||
@ -131,6 +132,7 @@ WHERE
|
||||
AND dir NOT LIKE '/private/var/folders/%/d/Wrapper/%.app'
|
||||
AND dir NOT LIKE '/private/var/folders/%/go-build%'
|
||||
AND dir NOT LIKE '/private/var/folders/%/GoLand'
|
||||
AND dir NOT LIKE '%/.terraform/providers/%'
|
||||
AND dir NOT LIKE '/Volumes/com.getdropbox.dropbox-%'
|
||||
AND homedir NOT LIKE '~/Library/Caches/ms-playwright/%'
|
||||
AND homedir NOT LIKE '~/%/node_modules/.pnpm/esbuild-%/node_modules/esbuild-darwin-arm64/bin'
|
||||
|
@ -43,6 +43,7 @@ WHERE
|
||||
'fleet_backend',
|
||||
'fsdaemon',
|
||||
'GoogleSoftwareUpdateAgent',
|
||||
'com.apple.NRD.UpdateBrainService',
|
||||
'gopls',
|
||||
'grype',
|
||||
'java',
|
||||
|
@ -132,7 +132,9 @@ WHERE
|
||||
)
|
||||
AND NOT p.cmdline LIKE '%/Library/Apple/System/Library/InstallerSandboxes%'
|
||||
AND NOT p.cmdline LIKE '%gcloud config config-helper%'
|
||||
AND NOT p.cmdline LIKE '%hugo/hugo server%'
|
||||
AND NOT pp.cmdline LIKE '/Applications/Warp.app/%'
|
||||
AND NOT pp.cmdline = 'npm run start'
|
||||
AND NOT pp.cmdline LIKE '%brew.rb%'
|
||||
AND NOT pp.cmdline LIKE '%/Homebrew/build.rb%'
|
||||
AND NOT pp.cmdline LIKE '%Code Helper%'
|
||||
|
Loading…
Reference in New Issue
Block a user