]> git.ipfire.org Git - thirdparty/suricata.git/commit
lua/streaming: provide streaming buffer as argument
authorJason Ish <jason.ish@oisf.net>
Mon, 2 Jun 2025 21:47:03 +0000 (15:47 -0600)
committerVictor Julien <victor@inliniac.net>
Wed, 4 Jun 2025 07:39:51 +0000 (09:39 +0200)
commit02bdea2bce46b7833133f5e2c2dfa34630fe047c
treed15abd12122570290e1d2659cc5a013c32f63e28
parent11b3ebcb5f60b36eefc8cb397590b30a8b71a958
lua/streaming: provide streaming buffer as argument

When setting up a Lua output script for streaming data, we're
explicitly requesting stream data. Just pass the streaming data as
arguments, rather than requiring the script to make an extra call to
get the stream data.

The streaming data will be passed in the "stream" field of the args
passed to the log function.

Eliminates the SCStreamingBuffer Lua function.
doc/userguide/lua/lua-functions.rst
src/output-lua.c
src/util-lua-common.c
src/util-lua-common.h