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
|
||||
osqtool pack detection/ > out/odk-detection.conf
|
||||
GOBIN=$(CURDIR)/out go install github.com/chainguard-dev/osqtool/cmd/osqtool@latest
|
||||
|
||||
out/odk-policy.sql:
|
||||
mkdir -p out
|
||||
osqtool pack policy/ > out/odk-policy.conf
|
||||
out/odk-detection.sql: out/osqtool
|
||||
./out/osqtool pack detection/ > out/odk-detection.conf
|
||||
|
||||
out/odk-incident_response.sql:
|
||||
mkdir -p out
|
||||
osqtool pack incident_response/ > out/odk-incident_response.conf
|
||||
out/odk-policy.sql: out/osqtool
|
||||
./out/osqtool pack policy/ > out/odk-policy.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
|
||||
|
||||
|
|
Loading…
Reference in New Issue