mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-21 18:01:58 +00:00
fix(userspace/engine): solve description of macro-only rules
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
parent
214e41d093
commit
2e7cacb4e0
@ -41,6 +41,8 @@ void filter_details::reset()
|
|||||||
void filter_details_resolver::run(ast::expr* filter, filter_details& details)
|
void filter_details_resolver::run(ast::expr* filter, filter_details& details)
|
||||||
{
|
{
|
||||||
visitor v(details);
|
visitor v(details);
|
||||||
|
// note: we may have ASTs composed on only one macro ref
|
||||||
|
v.m_expect_macro = true;
|
||||||
filter->accept(&v);
|
filter->accept(&v);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user