test-all-policy: Do not load nodes-experimental/manager.zeek

Turns out loading this script in non-cluster mode uses Cluster::log()
and creates cluster.log in the external baselines saying "cluster
started". Do not load it into test-all-policy.zeek and instead rely
on the new test-all-policy-cluster.test to load it transitively
when running as manager for basic checking.
This commit is contained in:
Arne Welzel 2023-06-06 15:17:46 +02:00
parent eef7acc1e9
commit 820c011ffc
2 changed files with 5 additions and 1 deletions

View file

@ -12,7 +12,10 @@
# @load frameworks/control/controllee.zeek # @load frameworks/control/controllee.zeek
# @load frameworks/control/controller.zeek # @load frameworks/control/controller.zeek
@load frameworks/cluster/experimental.zeek @load frameworks/cluster/experimental.zeek
@load frameworks/cluster/nodes-experimental/manager.zeek # Loaded via the above through test-all-policy-cluster.test
# when running as a manager, creates cluster.log entries
# even in non-cluster mode if loaded like the below.
# @load frameworks/cluster/nodes-experimental/manager.zeek
@load frameworks/management/agent/__load__.zeek @load frameworks/management/agent/__load__.zeek
@load frameworks/management/agent/api.zeek @load frameworks/management/agent/api.zeek
@load frameworks/management/agent/boot.zeek @load frameworks/management/agent/boot.zeek

View file

@ -3,6 +3,7 @@
# Scripts which are commented out in test-all-policy.zeek. # Scripts which are commented out in test-all-policy.zeek.
@load protocols/mqtt/__load__.zeek @load protocols/mqtt/__load__.zeek
@load protocols/ssl/decryption.zeek @load protocols/ssl/decryption.zeek
@load frameworks/cluster/nodes-experimental/manager.zeek
@load frameworks/control/controllee.zeek @load frameworks/control/controllee.zeek
@load frameworks/control/controller.zeek @load frameworks/control/controller.zeek
@load frameworks/management/agent/main.zeek @load frameworks/management/agent/main.zeek