zeek/testing/btest/coverage
Arne Welzel f0b9c59adb Add experimental JavaScript support when libnode is available
zeek.on('zeek_init', () => {
        console.log('Hello, Zeek!');
    });

For interaction with external systems and HTTP APIs, JavaScript and the
Node.js ecosystem beat Zeek script. Make it more easily accessible by
including ZeekJS with Zeek directly.

When a recent enough libnode version is found on the build system, ZeekJS is
added as a builtin plugin. This behavior can be disabled via
``--disable-javascript``. Linux distributions providing such a package are
Ubuntu (22.10) and Debian (testing/bookworm) as libnode-dev.
Fedora provides it as nodejs-devel.

This plugin takes over loading of .js or .cjs files. When no such files
are provided to Zeek, Node and the V8 engine are not initialized and
should not get into the way.

This should be considered experimental.
2023-04-14 11:26:41 +02:00
..
bare-load-baseline.test Add experimental JavaScript support when libnode is available 2023-04-14 11:26:41 +02:00
bare-mode-errors.test mqtt: Move from policy/ into base/ 2022-11-30 10:14:20 +01:00
basic-no-errors.test Introduce basic test triggering when zeek -r triggers script errors 2022-09-27 17:49:58 +02:00
coverage-blacklist.zeek updates for gen-C++ maintenance, including skipping some inappropriate tests 2022-08-01 16:47:17 -07:00
default-load-baseline.test Add experimental JavaScript support when libnode is available 2023-04-14 11:26:41 +02:00
find-bro-logs.test Update Python invocations to explicit python3 2020-11-25 14:57:09 -08:00
init-default.test egrep reported as obsolete by opensuse-tumbleweed builds 2022-10-27 11:48:43 -07:00
test-all-policy.test GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
zeek-profiler-file.zeek updates to test suite tests for compatibility with upcoming ZAM functionality 2021-06-01 09:25:30 -07:00
zeekygen.sh egrep reported as obsolete by opensuse-tumbleweed builds 2022-10-27 11:48:43 -07:00