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
pull/6642/head
Juliana Fajardini 4 years ago committed by Victor Julien
parent 59e5a21fca
commit 4256c1ccd5

@ -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):
::

@ -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.

@ -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
------------

@ -36,5 +36,5 @@ Suricata Rules
ip-reputation-rules
config
datasets
rule-lua-scripting
lua-detection
differences-from-snort

@ -1,7 +1,7 @@
.. _lua-scripting:
.. _lua-detection:
Lua Scripting
=============
Lua Scripting for Detection
===========================
Syntax:
Loading…
Cancel
Save