]> git.ipfire.org Git - thirdparty/suricata.git/commit
doc/conf/yaml: replace underscore with dashes
authorJuliana Fajardini <jufajardini@gmail.com>
Tue, 17 Sep 2024 18:50:37 +0000 (15:50 -0300)
committerVictor Julien <victor@inliniac.net>
Mon, 23 Sep 2024 16:59:26 +0000 (18:59 +0200)
commitd1d1c8cdac2bfa02aa373492bde273878b342636
tree769a3599ffe9daeaad4e654f85bc2f13a5e8b5f4
parent6ff0f72f4d66130eea4099a73b3969bbcc35b72a
doc/conf/yaml: replace underscore with dashes

Use sed + regex to replace all occurrences of suricata.yaml terms that
used underscore for their up-to-date dash version.

Also search for such terms in the eve-log.yaml partials file, as that
is referenced in the configuration section.

commands used:

sed -i 's/\(^ *[a-z]*\)_\([a-z]*:\)/\1-\2/g'
sed -i 's/\(^ *[a-z]*\)_\([a-z]*\)_\([a-z]*:\)/\1-\2-\3/g'

Some other instances were found manually.

Task #7260
doc/userguide/configuration/suricata-yaml.rst
doc/userguide/partials/eve-log.yaml