From 4256c1ccd5d95c1889a6e28cb1b9124568ccac67 Mon Sep 17 00:00:00 2001 From: Juliana Fajardini Date: Thu, 14 Oct 2021 23:06:01 +0100 Subject: [PATCH] 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 --- doc/userguide/lua/lua-functions.rst | 2 +- doc/userguide/lua/lua-usage.rst | 2 +- doc/userguide/rules/differences-from-snort.rst | 2 +- doc/userguide/rules/index.rst | 2 +- .../rules/{rule-lua-scripting.rst => lua-detection.rst} | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) rename doc/userguide/rules/{rule-lua-scripting.rst => lua-detection.rst} (96%) diff --git a/doc/userguide/lua/lua-functions.rst b/doc/userguide/lua/lua-functions.rst index 218b84939..e4aab57e5 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 091f46e7e..19946db5e 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 1457f2c2f..0d2e65a64 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 bed3a82e3..b757ff015 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 bf32c6796..2e3c539a8 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: -- 2.47.3