zeek/testing/btest/scripts/policy
Arne Welzel e1cf38101b btest/dump-events: Run in bare mode, load conn and smtp scripts only
The dump-events baseline changes are pure noise and have spurred confusion
for internal and external contributors. For example, adding new
analyzers have perturbed orderings of sets holding analyzer tags.

Running in non-bare mode, the baselines change almost whenever any of the
record types attached to connections change in the default scripts. This
causes continuous and seemingly little useful updates to the baselines.

This change switches the test to run in bare mode and explicitly loads
just base/protocols/conn and base/protocols/smtp. The primary intention
of the test should be testing the functionality of the misc/dump-events
script, not the raised events of all loaded default scripts (for that the
used PCAP is too narrow).

Protocol specific scripts that do want to leverage misc/dump-events for
baseline creation of their or their analyzer's events can add additional
specific tests with suitable PCAP files.

(cherry picked from commit 88bb527026)
2024-09-23 20:28:26 -07:00
..
frameworks Make worker restart in cluster btest race-proof 2024-05-14 10:52:28 -07:00
misc btest/dump-events: Run in bare mode, load conn and smtp scripts only 2024-09-23 20:28:26 -07:00
protocols Merge remote-tracking branch 'origin/topic/johanna/update-tls-ca-stuff' 2024-05-14 14:38:31 -07:00