Update for osqtool v1.0
This commit is contained in:
parent
fd1b5d28c4
commit
2d81061df3
8
Makefile
8
Makefile
|
@ -3,17 +3,17 @@ out/osqtool:
|
|||
GOBIN=$(CURDIR)/out go install github.com/chainguard-dev/osqtool/cmd/osqtool@latest
|
||||
|
||||
out/odk-detection.conf: out/osqtool
|
||||
./out/osqtool --verify pack detection/ > out/odk-detection.conf
|
||||
./out/osqtool --max-results=0 --verify pack detection/ > out/odk-detection.conf
|
||||
|
||||
out/odk-policy.conf: out/osqtool
|
||||
./out/osqtool --verify pack policy/ > out/odk-policy.conf
|
||||
./out/osqtool --max-results=0 --verify pack policy/ > out/odk-policy.conf
|
||||
|
||||
out/odk-incident-response.conf: out/osqtool
|
||||
./out/osqtool --max-duration=8s --verify pack incident_response/ > out/odk-incident-response.conf
|
||||
./out/osqtool --max-results=40960 --max-query-duration=8s --max-total-daily-duration=90m --verify pack incident_response/ > out/odk-incident-response.conf
|
||||
|
||||
# An alternative rules file for configurations where the "wireless_networks" table is forbidden for querying
|
||||
out/odk-incident-response-no-wifi.conf: out/osqtool
|
||||
./out/osqtool --max-duration=8s --verify --exclude wireless_networks_macos pack incident_response/ > out/odk-incident-response-no-wifi.conf
|
||||
./out/osqtool --max-results=40960 --max-query-duration=8s --max-total-daily-duration=90m --verify --exclude wireless_networks_macos pack incident_response/ > out/odk-incident-response-no-wifi.conf
|
||||
|
||||
packs: out/odk-detection.conf out/odk-policy.conf out/odk-incident-response.conf out/odk-incident-response-no-wifi.conf
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
-- platform: posix
|
||||
--
|
||||
-- Uncomment once the underlying problem is addressed:
|
||||
-- XintervalX: 60
|
||||
-- interval: 60
|
||||
SELECT
|
||||
file.mode AS p0_binary_mode,
|
||||
pe.env AS p0_env,
|
||||
|
|
Loading…
Reference in New Issue