osquery-1/tools/tests/configs/test_noninline_packs.conf
Stefano Bonicatti 515704954c Move the test config files in their own directory
This is to have better separation between them and the python tests.
BUCK files have been updated accordingly.

Changes to the internal generateCopyFileTarget function were needed.
The function now supports a base folder to be set so that the regex or file path
is appended to that base path, without having it included in the destination.
It will also not use a library target anymore, but a custom one so
that's possible to set properties with custom names.

Use only one copy target to copy test config files instead of having
multiple that overlaps.
It may give issues when copying and tests in the end will need all of
them.
2019-12-07 20:51:09 -05:00

17 lines
371 B
Plaintext

{
"packs": {
// This pack is "non-inline", meaning it should trigger genPack.
"tester": "lester",
// This pack is "inlined", the content is a JSON dictionary.
"foobar": {
"version": "1.5.0",
"queries": {
"kernel_modules": {
"query": "select * from kernel_modules;",
"interval": 3600
}
}
}
}
}