update(outputs): make tags configurable in json output

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
Jason Dellaluce
2021-09-23 07:15:14 +00:00
committed by poiana
parent b82cbb1b59
commit 21fa6e9505
9 changed files with 35 additions and 6 deletions

View File

@@ -37,7 +37,8 @@ public:
falco_engine *engine,
lua_State *ls,
bool json_output,
bool json_include_output_property);
bool json_include_output_property,
bool json_include_tags_property);
// formatter = falco.formatter(format_string)
static int lua_formatter(lua_State *ls);
@@ -56,4 +57,5 @@ public:
static std::unique_ptr<sinsp_evt_formatter_cache> s_formatters;
static bool s_json_output;
static bool s_json_include_output_property;
static bool s_json_include_tags_property;
};