Skip to content

Commit

Permalink
doc: Update documentation for by_rule and by_both thresholds.
Browse files Browse the repository at this point in the history
  • Loading branch information
mordak authored and victorjulien committed Apr 6, 2020
1 parent 62b5001 commit 79b597a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/userguide/configuration/global-thresholds.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Syntax:
::

threshold gen_id <gid>, sig_id <sid>, type <threshold|limit|both>, \
track <by_src|by_dst>, count <N>, seconds <T>
track <by_src|by_dst|by_rule|by_both>, count <N>, seconds <T>

rate_filter
~~~~~~~~~~~
Expand Down
4 changes: 2 additions & 2 deletions doc/userguide/rules/thresholding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ frequency. It has 3 modes: threshold, limit and both.

Syntax::

threshold: type <threshold|limit|both>, track <by_src|by_dst>, count <N>, seconds <T>
threshold: type <threshold|limit|both>, track <by_src|by_dst|by_rule|by_both>, count <N>, seconds <T>

type "threshold"
~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -97,7 +97,7 @@ again.

Syntax::

detection_filter: track <by_src|by_dst>, count <N>, seconds <T>
detection_filter: track <by_src|by_dst|by_rule|by_both>, count <N>, seconds <T>

Example::

Expand Down

0 comments on commit 79b597a

Please sign in to comment.