]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc/userguide: explain --strict-rule-keywords
authorVictor Julien <victor@inliniac.net>
Wed, 4 Nov 2020 20:00:41 +0000 (21:00 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 19 Nov 2020 14:00:10 +0000 (15:00 +0100)
doc/userguide/partials/options.rst

index cb871e16d06c6c609b054cb53ddd07205efad810..ef3b9f6803e58d109d6fef35a78da999ee453390 100644 (file)
@@ -48,6 +48,7 @@
    flow state between files.
 
 .. option:: --pcap-file-recursive
+
    Used with the -r option when the path provided is a directory.  This option
    enables recursive traversal into subdirectories to a maximum depth of 255.
    This option cannot be combined with --pcap-file-continuous.  Symlinks are
 
    Exit with a failure when errors are encountered loading signatures.
 
+.. option:: --strict-rule-keywords[=all|<keyword>|<keywords(csv)]
+
+   Applies to: classtype, reference and app-layer-event.
+
+   By default missing reference or classtype values are warnings and
+   not errors. Additionally, loading outdated app-layer-event events are
+   also not treated as errors, but as warnings instead.
+
+   If this option is enabled these warnings are considered errors.
+
+   If no value, or the value 'all', is specified, the option applies to
+   all of the keywords above. Alternatively, a comma separated list can
+   be supplied with the keyword names it should apply to.
+
 .. option:: --disable-detection
 
    Disable the detection engine.