mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-11 21:48:31 +00:00
rule_loader.lua: comments cleanups
This commit is contained in:
parent
fe880c2c53
commit
c695051990
@ -31,6 +31,9 @@ local function mark_relational_nodes(ast, index)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--[[
|
||||||
|
Take a filter AST and set it up in the libsinsp runtime, using the filter API.
|
||||||
|
--]]
|
||||||
local function install_filter(node)
|
local function install_filter(node)
|
||||||
local t = node.type
|
local t = node.type
|
||||||
|
|
||||||
@ -60,17 +63,6 @@ local function install_filter(node)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
-- filter.rel_expr("proc.name", "=", "cat")
|
|
||||||
-- filter.bool_op("and")
|
|
||||||
-- filter.nest()
|
|
||||||
-- filter.nest()
|
|
||||||
-- filter.rel_expr("fd.num", "=", "1")
|
|
||||||
-- filter.bool_op("or")
|
|
||||||
-- filter.rel_expr("fd.num", "=", "2")
|
|
||||||
-- filter.unnest()
|
|
||||||
-- filter.unnest()
|
|
||||||
|
|
||||||
local state
|
local state
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
|
Loading…
Reference in New Issue
Block a user