Install osqtool (unversioned at the moment)
This commit is contained in:
parent
97343fc348
commit
220dfc74ea
17
Makefile
17
Makefile
|
@ -1,14 +1,15 @@
|
||||||
out/odk-detection.sql:
|
out/osqtool:
|
||||||
mkdir -p out
|
mkdir -p out
|
||||||
osqtool pack detection/ > out/odk-detection.conf
|
GOBIN=$(CURDIR)/out go install github.com/chainguard-dev/osqtool/cmd/osqtool@latest
|
||||||
|
|
||||||
out/odk-policy.sql:
|
out/odk-detection.sql: out/osqtool
|
||||||
mkdir -p out
|
./out/osqtool pack detection/ > out/odk-detection.conf
|
||||||
osqtool pack policy/ > out/odk-policy.conf
|
|
||||||
|
|
||||||
out/odk-incident_response.sql:
|
out/odk-policy.sql: out/osqtool
|
||||||
mkdir -p out
|
./out/osqtool pack policy/ > out/odk-policy.conf
|
||||||
osqtool pack incident_response/ > out/odk-incident_response.conf
|
|
||||||
|
out/odk-incident_response.sql: out/osqtool
|
||||||
|
./out/osqtool 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.sql out/odk-policy.sql out/odk-incident_response.sql
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue