axoflow / axosyslog

AxoSyslog - the scalable security data processor
https://axoflow.com
Other
45 stars 14 forks source link

Filterx freeze more objects #252

Closed MrAnno closed 1 month ago

MrAnno commented 1 month ago

This also fixes a test issue where variables with double $ signs were used.

Instead of polluting FilterX expressions with GlobalConfig (to freeze them locally), the same is done on the grammar level. This also makes testing easier but has the disadvantage of losing some C-level type-checking (I added g_assert() calls instead).