From: Juliana Fajardini Date: Thu, 14 Oct 2021 22:06:01 +0000 (+0100) Subject: userguide: rename pg Lua Scripting->Lua Detection X-Git-Tag: suricata-7.0.0-beta1~1146 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4256c1ccd5d95c1889a6e28cb1b9124568ccac67;p=thirdparty%2Fsuricata.git userguide: rename pg Lua Scripting->Lua Detection Since we can have scripts for output _or_ detection, it seems more clear to rename this page to add more meaning --- diff --git a/doc/userguide/lua/lua-functions.rst b/doc/userguide/lua/lua-functions.rst index 218b84939d..e4aab57e55 100644 --- a/doc/userguide/lua/lua-functions.rst +++ b/doc/userguide/lua/lua-functions.rst @@ -8,7 +8,7 @@ Differences between `output` and `detect`: Currently, the ``needs`` key initialization varies, depending on what is the goal of the script: output or detection. -If the script is for detection, the ``needs`` initialization should be as seen in the example below (see :ref:`lua-scripting` for a complete example for a detect script): +If the script is for detection, the ``needs`` initialization should be as seen in the example below (see :ref:`lua-detection` for a complete example of a detection script): :: diff --git a/doc/userguide/lua/lua-usage.rst b/doc/userguide/lua/lua-usage.rst index 091f46e7e9..19946db5e5 100644 --- a/doc/userguide/lua/lua-usage.rst +++ b/doc/userguide/lua/lua-usage.rst @@ -17,4 +17,4 @@ Lua can be used to write arbitrary output. See :ref:`lua-output` for more inform Lua detection ------------- -Lua script can be used as a filter condition in signatures. See :ref:`lua-scripting` for more information. +Lua script can be used as a filter condition in signatures. See :ref:`lua-detection` for more information. diff --git a/doc/userguide/rules/differences-from-snort.rst b/doc/userguide/rules/differences-from-snort.rst index 1457f2c2ff..0d2e65a64d 100644 --- a/doc/userguide/rules/differences-from-snort.rst +++ b/doc/userguide/rules/differences-from-snort.rst @@ -492,7 +492,7 @@ Lua Scripting HTTP buffers, etc. - Provides powerful flexibility and capabilities that Snort does not have. -- :doc:`rule-lua-scripting` +- More details in: :ref:`lua-detection` Fast Pattern ------------ diff --git a/doc/userguide/rules/index.rst b/doc/userguide/rules/index.rst index bed3a82e37..b757ff0157 100644 --- a/doc/userguide/rules/index.rst +++ b/doc/userguide/rules/index.rst @@ -36,5 +36,5 @@ Suricata Rules ip-reputation-rules config datasets - rule-lua-scripting + lua-detection differences-from-snort diff --git a/doc/userguide/rules/rule-lua-scripting.rst b/doc/userguide/rules/lua-detection.rst similarity index 96% rename from doc/userguide/rules/rule-lua-scripting.rst rename to doc/userguide/rules/lua-detection.rst index bf32c6796e..2e3c539a87 100644 --- a/doc/userguide/rules/rule-lua-scripting.rst +++ b/doc/userguide/rules/lua-detection.rst @@ -1,7 +1,7 @@ -.. _lua-scripting: +.. _lua-detection: -Lua Scripting -============= +Lua Scripting for Detection +=========================== Syntax: