]> git.ipfire.org Git - people/ms/suricata.git/blobdiff - doc/userguide/lua/lua-usage.rst
userguide/lua: add explanation about `need` diffs
[people/ms/suricata.git] / doc / userguide / lua / lua-usage.rst
index 32b562ca62eeb54eebc061cc88d01a1c25a70cb5..091f46e7e9a7f72b1198352cbbf4405688fedf3d 100644 (file)
@@ -4,9 +4,11 @@ Lua usage in Suricata
 Lua scripting can be used in two components of Suricata. The first is in
 output and the second one in rules in the detection engine.
 
-Both features are using a list of functions to access to data extracted by
+Both features are using a list of functions to access the data extracted by
 Suricata. You can get the list of functions in the :ref:`lua-functions` page.
 
+.. note:: Currently, there is a difference in the ``needs`` key in the ``init`` function, depending on what is the usage: ``output`` or ``detection``. The list of available functions may also differ.
+
 Lua output
 ----------