mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2025-01-07 05:49:28 +00:00
Add exception for 'go run'
This commit is contained in:
parent
889ad9a5fd
commit
46ef9668d7
@ -136,5 +136,9 @@ WHERE
|
||||
AND s.remote_address LIKE '151.101.%'
|
||||
AND s.state = 'ESTABLISHED'
|
||||
)
|
||||
AND NOT (
|
||||
exception_key = '500,/tmp/main,500u,500g,main'
|
||||
AND p.path LIKE '/tmp/go-build%/exe/main'
|
||||
)
|
||||
GROUP BY
|
||||
p.cmdline
|
||||
|
@ -34,5 +34,6 @@ WHERE
|
||||
AND f.path NOT LIKE '/snap/%'
|
||||
AND f.path NOT LIKE '/home/%'
|
||||
AND f.path != '/usr/local/bin/chainctl'
|
||||
AND f.path NOT LIKE '/tmp/go-build%/exe/main'
|
||||
GROUP by
|
||||
p.pid
|
||||
|
Loading…
Reference in New Issue
Block a user