about summary refs log tree commit diff
path: root/nixos/tests/osquery.nix
AgeCommit message (Collapse)AuthorFilesLines
2023-10-06nixos/tests/osquery: fix evalK9001-1/+1
2023-08-01nixos/tests/osquery.nix: remove overuses of `with`Anderson Torres1-5/+1
2023-07-19nixos/tests/osquery: initAntoine Eiche1-0/+56
2019-11-24osquery: removeFlorian Klink1-28/+0
osquery was marked as broken since April. If somebody steps up to fix it, we can always revive it from the histroy, but there's not much value in shipping completely broken things in current master. cc @ma27
2019-03-24nixos/tests: osquery: /var/run -> /runBob van der Linden1-2/+2
2018-04-30nixos/osquery: add testMaximilian Bosch1-0/+28
Some time ago I fixed the broken package `osquery` (see #39336). I had to test the package manually by starting the daemon locally, however this doesn't ensure that the module is still functional. In order to cover the package *and* the integration with the NixOS module I thought that adding a testcase might be the best idea. The current testcase does the following things: * Starts an `osqueryd` service in a test machine with customized logger path and PID file * Ensures that the `osqueryd.service` unit is running * Checks if the customized flags (`pidfile`, `logger_path`) are applied to `osquery`. * Performs a simple test query against the `etc_hosts` database to check if the basic funcitonality of `osquery` (storing system information into a database) works fine.