mirror of https://github.com/OISF/suricata
lua/datasets: rework to be a "required" module
Re-work the Lua dataset lib to be required into a user script like:
local dataset = require("suricata.data")
The main difference from loading it into global space is providing a
custom require function (as we removed it in the sandbox) and load it on
demand, returning a table to the module.
pull/12379/head
parent
ccebae6ec0
commit
e397f21019
Loading…
Reference in New Issue