mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2025-02-02 10:41:36 +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.remote_address LIKE '151.101.%'
|
||||||
AND s.state = 'ESTABLISHED'
|
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
|
GROUP BY
|
||||||
p.cmdline
|
p.cmdline
|
||||||
|
@ -34,5 +34,6 @@ WHERE
|
|||||||
AND f.path NOT LIKE '/snap/%'
|
AND f.path NOT LIKE '/snap/%'
|
||||||
AND f.path NOT LIKE '/home/%'
|
AND f.path NOT LIKE '/home/%'
|
||||||
AND f.path != '/usr/local/bin/chainctl'
|
AND f.path != '/usr/local/bin/chainctl'
|
||||||
|
AND f.path NOT LIKE '/tmp/go-build%/exe/main'
|
||||||
GROUP by
|
GROUP by
|
||||||
p.pid
|
p.pid
|
||||||
|
Loading…
Reference in New Issue
Block a user