zeek/testing/btest/scripts/base/frameworks/analyzer
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
..
disable-analyzer.zeek Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00
disabled-file-analyzers.zeek analyzer: Add file_analyzer support to enable_analyzer()/disable_analyzer() 2022-09-30 11:47:56 +02:00
disabled-packet-analyzers.zeek packet_analysis: Introduce PacketAnalyzer::__disable_analyzer() 2022-09-30 09:27:22 +02:00
dpd-logging-configuration.zeek Fix policy/protocols/conn/failed-service-logging.zeek 2025-05-06 13:37:12 +01:00
enable-analyzer.zeek Remove full scripts marked as 6.1 deprecations 2023-06-14 10:07:22 -07:00
register-for-port.zeek Remove full scripts marked as 6.1 deprecations 2023-06-14 10:07:22 -07:00
request-analyzer.zeek scripts/analyzer: Introduce Analyzer::requested_analyzers 2022-12-13 14:28:16 +01:00
request-response-protocol-differences.zeek Add two protocol mismatch testcases 2025-03-04 15:38:20 +00:00
schedule-analyzer.zeek 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
tags.zeek Add concept of "parent" tag namespaces 2021-11-23 19:36:49 -07:00
toggle-packet-analyzers.zeek packet_analysis: Introduce PacketAnalyzer::__disable_analyzer() 2022-09-30 09:27:22 +02:00