]> git.ipfire.org Git - ipfire-2.x.git/commit
ids-functions.pl: Add function to get the version of suricata
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 26 Dec 2018 15:05:46 +0000 (16:05 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 26 Dec 2018 15:05:46 +0000 (16:05 +0100)
commit04a0d07c97087c9d66e09155058beacee031d627
treecaa53f324695b4d543ccdfeb90755df1eba92327
parent2ee510888c4f4a0836ef4afe5b6e30c2b94f7ddb
ids-functions.pl: Add function to get the version of suricata

The get_suricata_version() function is used to get the version
of the on the system installed version of suricata. You can
specify the how detailed the returned result should be "major" will
return only the major version, were "minor" will provide the major
and minor version (1.2 for example). All other calls will be answered
with the full version string (1.2.3).

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-functions.pl