zeek/doc/scripting/js/global-vars.js
Tim Wojtulewicz ded98cd373 Copy docs into Zeek repo directly
This is based on commit 2731def9159247e6da8a3191783c89683363689c from the
zeek-docs repo.
2025-09-26 02:58:29 +00:00

9 lines
234 B
JavaScript

// global-vars.js
const timeouts = zeek.global_vars['Conn::analyzer_inactivity_timeouts'];
// Similar to redef.
timeouts['AllAnalyzers::ANALYZER_ANALYZER_SSH'] = 42.0;
zeek.on('zeek_init', () => {
console.log('js', timeouts);
});