mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2025-02-16 09:27:06 +00:00
Makefile: Rename .sql targets to .conf, extend max-duration for IR
This commit is contained in:
parent
df4fdeba30
commit
724e2fbc84
10
Makefile
10
Makefile
@ -2,16 +2,16 @@ out/osqtool:
|
||||
mkdir -p out
|
||||
GOBIN=$(CURDIR)/out go install github.com/chainguard-dev/osqtool/cmd/osqtool@latest
|
||||
|
||||
out/odk-detection.sql: out/osqtool
|
||||
out/odk-detection.conf: out/osqtool
|
||||
./out/osqtool --verify pack detection/ > out/odk-detection.conf
|
||||
|
||||
out/odk-policy.sql: out/osqtool
|
||||
out/odk-policy.conf: out/osqtool
|
||||
./out/osqtool --verify pack policy/ > out/odk-policy.conf
|
||||
|
||||
out/odk-incident_response.sql: out/osqtool
|
||||
./out/osqtool --verify pack incident_response/ > out/odk-incident_response.conf
|
||||
out/odk-incident_response.conf: out/osqtool
|
||||
./out/osqtool --max-duration=8s --verify pack incident_response/ > out/odk-incident_response.conf
|
||||
|
||||
packs: out/odk-detection.sql out/odk-policy.sql out/odk-incident_response.sql
|
||||
packs: out/odk-detection.conf out/odk-policy.conf out/odk-incident_response.conf
|
||||
|
||||
out/odk-packs.zip: packs
|
||||
cd out && zip odk-packs.zip *.conf
|
||||
|
Loading…
Reference in New Issue
Block a user