Title
#core
Stefano Bonicatti

Stefano Bonicatti

12/21/2020, 10:17 PM
@Mike Myers yep, for instance
table_name("carbon_black_info", aliases=["cb_info"])
Mike Myers

Mike Myers

12/22/2020, 1:07 AM
It looks like defining a table's name in an extension happens in either the
REGISTER_EXTERNAL
macro or the
addOsqueryExtensionEx
CMake function, but neither seem to support an alias parameter.
1:10 AM
But
table_name
even when it's a comma-delimeted list like above, does seem to end up getting passed to
REGISTER_INTERNAL
as
"${ table_name }$"