Copy docs into Zeek repo directly

This is based on commit 2731def9159247e6da8a3191783c89683363689c from the
zeek-docs repo.
This commit is contained in:
Tim Wojtulewicz 2025-09-15 15:52:18 -07:00
parent 83f1e74643
commit ded98cd373
1074 changed files with 169319 additions and 0 deletions

14
doc/scripting/js/api.zeek Normal file
View file

@ -0,0 +1,14 @@
## api.zeek
##
## Sample events to be invoked by api.js
module MyAPI;
export {
global print_msg: event(msg: string, ts: time &default=network_time());
}
event MyAPI::print_msg(msg: string, ts: time) {
print "ZEEK", "print_msg", ts, msg;
}
@load ./api.js