zeek/scripts/base/frameworks/supervisor
Christian Kreibich c7860e3238 Expand Supervisor to support loading additional scripts before user scripts
In supervised nodes, the Supervisor's NodeConfig$scripts vector adds scripts to
the end of the user-provided scripts (options.scripts_to_load), so they load
_after_ any user-provided ones. This can cause confusing redef pitfalls when
users expect their customizations to run last, as they normally do.

This adds two members in Supervisor::NodeConfig, `addl_base_scripts` and
`addl_user_scripts`, to store scripts to load before and after the user scripts,
respectively. The latter serves the same purpose as the old `scripts` member,
which is still there but deprecated (in scriptland only). It functions as
before, after any scripts added via `addl_user_scripts`.
2022-09-02 10:23:35 -07:00
..
__load__.zeek Move supervisor control events into SupervisorControl namespace 2020-01-22 13:28:20 -08:00
api.zeek Expand Supervisor to support loading additional scripts before user scripts 2022-09-02 10:23:35 -07:00
control.zeek Add Supervisor::node_status notification event 2022-05-30 21:36:35 -07:00
main.zeek Add Supervisor::node_status notification event 2022-05-30 21:36:35 -07:00