https://github.com/osquery/osquery logo
Title
s

Stefano Bonicatti

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

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.
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 }$"