]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: add documentation for TlsGetCertSerial Lua function
authorMats Klepsland <mats.klepsland@gmail.com>
Tue, 17 Jan 2017 08:53:23 +0000 (09:53 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 21 Feb 2017 08:58:42 +0000 (09:58 +0100)
doc/userguide/output/lua-output.rst

index 158c0505b06f8cd41dfaf053ef22229f7c768375..21e278a5e2d1548c5a0460d770b27eb626c3fc8a 100644 (file)
@@ -457,6 +457,22 @@ Example:
   end
 
 
+TlsGetCertSerial
+~~~~~~~~~~~~~~~~
+
+Get TLS certificate serial number through TlsGetCertSerial.
+
+Example:
+
+::
+
+  function log (args)
+      serial = TlsGetCertSerial()
+      if serial then
+          -- do something
+      end
+  end
+
 SSH
 ---