]> git.ipfire.org Git - people/ms/suricata.git/commitdiff
userguide: rename pg Lua Scripting->Lua Detection
authorJuliana Fajardini <jufajardini@gmail.com>
Thu, 14 Oct 2021 22:06:01 +0000 (23:06 +0100)
committerVictor Julien <vjulien@oisf.net>
Wed, 24 Nov 2021 07:11:15 +0000 (08:11 +0100)
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
doc/userguide/lua/lua-usage.rst
doc/userguide/rules/differences-from-snort.rst
doc/userguide/rules/index.rst
doc/userguide/rules/lua-detection.rst [moved from doc/userguide/rules/rule-lua-scripting.rst with 96% similarity]

index 218b84939db61120d286461dfdef63d2e2606d4b..e4aab57e554eda9ef416e6fd8ec478d6762a9113 100644 (file)
@@ -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):
 
 ::
 
index 091f46e7e9a7f72b1198352cbbf4405688fedf3d..19946db5e54f065ffe739eac8008174ab70687bc 100644 (file)
@@ -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.
index 1457f2c2ff152be77c47e5a476d75acb7259c173..0d2e65a64d6f5f8bc16a6ea235d84629f37b3196 100644 (file)
@@ -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
 ------------
index bed3a82e37b9f70944a74c16a569a9cc80c3ef0d..b757ff01572d87419f276ef1fded2133a423e472 100644 (file)
@@ -36,5 +36,5 @@ Suricata Rules
    ip-reputation-rules
    config
    datasets
-   rule-lua-scripting
+   lua-detection
    differences-from-snort
similarity index 96%
rename from doc/userguide/rules/rule-lua-scripting.rst
rename to doc/userguide/rules/lua-detection.rst
index bf32c6796ec07b0873b51b6e29adb0576892e4e4..2e3c539a8702837bc4a9725cbf2b6664bc50909a 100644 (file)
@@ -1,7 +1,7 @@
-.. _lua-scripting:
+.. _lua-detection:
 
-Lua Scripting
-=============
+Lua Scripting for Detection
+===========================
 
 Syntax: