mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

This is based on commit 2731def9159247e6da8a3191783c89683363689c from the zeek-docs repo.
9 lines
234 B
JavaScript
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);
|
|
});
|