Title
#general
Jordan

Jordan

07/05/2022, 12:49 PM
Morning all - I am testing this extension and running into what I thing is an issue. I have added a log line at the beginning of GenerateConfigs, and I am only seeing that function run once. I expected to see it run every --extention_interval….does anyone have any ideas where I am going wrong?
Stefano Bonicatti

Stefano Bonicatti

07/05/2022, 12:56 PM
You have to check the doc on the
extensions_interval
flag, because it doesn't do that (check
osqueryd --help
or https://osquery.readthedocs.io/) In any case, for that you want to enable and control the configuration refresh, setting the registered config plugin by the extension as the
--config_plugin
and the set
--config_refresh
to something different than 0
Jordan

Jordan

07/05/2022, 1:09 PM
Ugh, I have been writing too many other plugins, I completely forgot that config and logger had their own flags….Thanks a ton @Stefano Bonicatti