zeek/testing/scripts
Johanna Amann af77a7a83b Analyzer failure logging: tweaks and test fixes
The main part of this commit are changes in tests. A lot of the tests
that previously relied on analyzer.log or dpd.log now use the new
analyzer-failed.log.

I verified all the changes and, as far as I can tell, everything
behaves as it should. This includes the external test baselines.

This change also enables logging of file and packet analyzer to
analyzer_failed.log and fixes some small behavior issues.

The analyzer_failed event is no longer raised when the removal of an
analyzer is vetoed.

If an analyzer is no longer active when an analyzer violation is raised,
currently the analyzer_failed event is raised. This can, e.g., happen
when an analyzer error happens at the very end of the connection. This
makes the behavior more similar to what happened in the past, and also
intuitively seems to make sense.

A bug introduced in the failed service logging was fixed.
2025-06-03 15:56:42 +01:00
..
spicy spicy/diff-remove-timestamp: Fix missing -e 2024-01-31 14:06:32 +01:00
can-listen-tcp cluster/websocket: Deprecate $listen_host, introduce $listen_addr 2025-05-30 11:02:41 +02:00
coverage-calc Swap pre-commit yapf for ruff/ruff-format, fix findings 2024-12-11 11:08:37 -07:00
diff-canonifier Format shell scripts with shfmt. 2021-11-24 23:13:02 +01:00
diff-canonifier-external Analyzer failure logging: tweaks and test fixes 2025-06-03 15:56:42 +01:00
diff-canonifier-spicy Integrate the Spicy plugin into Zeek proper. 2023-05-16 10:17:45 +02:00
diff-clean-doctest testing/scripts: Use sed -E everywhere 2024-01-24 11:19:17 +01:00
diff-remove-abspath diff-remove-abspath: Add separate handling of Windows paths 2024-11-06 16:06:17 -07:00
diff-remove-fields Format shell scripts with shfmt. 2021-11-24 23:13:02 +01:00
diff-remove-file-ids Improve a few test canonifiers 2015-09-19 18:08:31 -05:00
diff-remove-fractions Format shell scripts with shfmt. 2021-11-24 23:13:02 +01:00
diff-remove-openclose-timestamps testing/scripts: Use sed -E everywhere 2024-01-24 11:19:17 +01:00
diff-remove-spicy-abspath testing/scripts: Use sed -E everywhere 2024-01-24 11:19:17 +01:00
diff-remove-timestamps testing/scripts: Use sed -E everywhere 2024-01-24 11:19:17 +01:00
diff-remove-timestamps-and-sort Fix formatting 2022-04-27 23:02:27 +02:00
diff-remove-uids Improve a few test canonifiers 2015-09-19 18:08:31 -05:00
diff-remove-x509-key-info Adjust x509 unit tests to work around OpenSSL 1.0 vs. 1.1 differences 2018-06-29 16:01:23 -05:00
diff-remove-x509-names Merge remote-tracking branch 'origin/master' into topic/dnthayer/ticket1467 2015-10-02 11:31:00 -07:00
diff-sort Format shell scripts with shfmt. 2021-11-24 23:13:02 +01:00
diff-sort-and-remove-abspath baseline & btest updates 2022-05-26 17:39:47 -07:00
diff-sort-set-elements Extend external test suite canonifier with set-sorting logic 2020-08-11 11:26:21 -07:00
external-ca-list.zeek Use .zeek file suffix in unit tests 2019-04-16 16:08:57 -07:00
external-ct-list.zeek External tests: add removed logs to CT list to prevent baseline changes 2025-04-28 16:42:52 +01:00
fake-sendmail Format shell scripts with shfmt. 2021-11-24 23:13:02 +01:00
file-analysis-test.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
has-writer More bro-to-zeek renaming in the unit tests 2019-05-16 02:27:54 -05:00
have-af-packet Include in Jan's AF_PACKET plugin as builtin plugin 2022-10-13 13:29:27 +02:00
have-javascript Add experimental JavaScript support when libnode is available 2023-04-14 11:26:41 +02:00
have-redis Redis: Add btests for the redis backend 2025-03-18 09:32:34 -07:00
have-spicy Provide infrastructure to migrate legacy analyzers to Spicy. 2023-02-01 11:33:48 +01:00
have-spicy-ssl testing: Add have-spicy-ssl helper and update tests 2024-10-29 09:30:01 +01:00
have-tsan btest: Skip core.script-args under TSAN 2024-08-08 15:32:20 +02:00
have-zeromq cluster/backend/zeromq: Add ZeroMQ based cluster backend 2024-12-10 20:33:02 +01:00
hilti-ignore-cxx-errors Deprecate bro_int_t and bro_uint_t 2022-07-12 12:01:23 -07:00
httpd.py Swap pre-commit yapf for ruff/ruff-format, fix findings 2024-12-11 11:08:37 -07:00
rst-filter Going over initial parts of the scripting overview. 2013-08-30 16:23:17 -07:00
run-dnsmasq btest/dns_mgr: Update run-dnsmasq, use --host-record 2025-03-05 12:39:15 +01:00
run-redis-server Change how redis-server is run during btests, removing redis.conf 2025-03-18 10:20:33 -07:00
snmp-test.zeek spelling: repetitions 2022-11-18 10:26:33 -05:00
spicy-version Integrate the Spicy plugin into Zeek proper. 2023-05-16 10:17:45 +02:00
update-external-repo-pointer.sh Format shell scripts with shfmt. 2021-11-24 23:13:02 +01:00
wait-for-file Merge remote-tracking branch 'origin/topic/etyp/centos-missing-file-test-fail' 2024-10-04 19:32:48 +02:00