mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-26 14:52:20 +00:00
AST: Rule node always has an Output child node
This commit is contained in:
parent
a7d0132154
commit
3a56c1a0e4
@ -168,6 +168,9 @@ local function outputformat (format)
|
||||
end
|
||||
|
||||
local function rule(filter, output)
|
||||
if not output then
|
||||
output = outputformat("")
|
||||
end
|
||||
return {type = "Rule", filter = filter, output = output}
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user