Add privacy-aware version of the IR rules
This commit is contained in:
parent
b9cefa0d09
commit
063eb1691c
13
Makefile
13
Makefile
|
@ -16,13 +16,18 @@ out/odk-policy.conf: out/osqtool-$(ARCH) $(wildcard policy/*.sql)
|
|||
mv out/.odk-policy.conf out/odk-policy.conf
|
||||
|
||||
out/odk-incident-response.conf: out/osqtool-$(ARCH) $(wildcard incident_response/*.sql)
|
||||
./out/osqtool-$(ARCH) --verify pack incident_response/ > out/.odk-incident_response.conf
|
||||
mv out/.odk-incident_response.conf out/odk-incident_response.conf
|
||||
./out/osqtool-$(ARCH) --verify pack incident_response/ > out/.odk-incident-response.conf
|
||||
mv out/.odk-incident-response.conf out/odk-incident_response.conf
|
||||
|
||||
packs: out/odk-detection.conf out/odk-policy.conf out/odk-incident-response.conf
|
||||
# A privacy-aware variation of IR rules
|
||||
out/odk-incident-response-privacy.conf: out/osqtool-$(ARCH) $(wildcard incident_response/*.sql)
|
||||
./out/osqtool-$(ARCH) --exclude-tags=disabled,disabled-privacy pack incident_response/ > out/.odk-incident-response-privacy.conf
|
||||
mv out/.odk-incident-response-privacy.conf out/odk-incident-response-privacy.conf
|
||||
|
||||
packs: out/odk-detection.conf out/odk-policy.conf out/odk-incident-response.conf out/odk-incident-response-privacy.conf
|
||||
|
||||
out/odk-packs.zip: packs
|
||||
cd out && zip odk-packs.zip *.conf
|
||||
cd out && rm -f .*.conf && zip odk-packs.zip *.conf
|
||||
|
||||
.PHONY: reformat
|
||||
reformat:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
-- Retrieves currently running applications
|
||||
--
|
||||
-- tags: postmortem often
|
||||
-- tags: postmortem disabled-privacy
|
||||
-- platform: darwin
|
||||
SELECT
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue