]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc/lua-functions: add sha items to SCFileInfo doc
authorJuliana Fajardini <jufajardini@gmail.com>
Tue, 14 Sep 2021 09:04:38 +0000 (10:04 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 27 Sep 2021 09:52:28 +0000 (11:52 +0200)
(cherry picked from commit 751906b71d95380e64779f569b08195d6f388a2e)

doc/userguide/lua/lua-functions.rst

index 98ee284ba55b2384fd8808c462fc0f78117f5e6a..a6e93c5ac10e5b2a4d7932e3f596201440704f5d 100644 (file)
@@ -691,10 +691,10 @@ SCFileInfo
 ::
 
 
-  fileid, txid, name, size, magic, md5 = SCFileInfo()
+  fileid, txid, name, size, magic, md5, sha1, sha256 = SCFileInfo()
 
 returns fileid (number), txid (number), name (string), size (number),
-magic (string), md5 in hex (string)
+magic (string), md5 in hex (string), sha1 (string), sha256 (string)
 
 SCFileState
 ~~~~~~~~~~~