mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
A new event bro_script_loaded() raised for each policy script loaded.
Also removing the -l command-line option as that can now be done at the script-level. A couple tests fail now that use -l. Leaving that until we have script-level replacement.
This commit is contained in:
parent
df1b2f922b
commit
97b5f812c7
7 changed files with 46 additions and 50 deletions
0
testing/btest/Baseline/policy.misc.loaded-scripts/output
Normal file
0
testing/btest/Baseline/policy.misc.loaded-scripts/output
Normal file
7
testing/btest/policy/misc/loaded-scripts.bro
Normal file
7
testing/btest/policy/misc/loaded-scripts.bro
Normal file
|
@ -0,0 +1,7 @@
|
|||
# @TEST-EXEC: bro %INPUT >output
|
||||
# @TEST-EXEC: btest-diff output
|
||||
|
||||
event bro_script_loaded(path: string, level: count)
|
||||
{
|
||||
print level, path;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue