chore(userspace/falco/app): print all supported plugin caps

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
Jason Dellaluce
2023-05-22 10:22:02 +00:00
committed by poiana
parent f72489e431
commit 7248284b12

View File

@@ -97,11 +97,23 @@ void falco::app::actions::format_plugin_info(std::shared_ptr<sinsp_plugin> p, st
os << " (ID=" << p->id();
os << ", source='" << p->event_source() << "')";
}
else
{
os << " (system events)";
}
os << std::endl;
}
if(p->caps() & CAP_EXTRACTION)
{
os << " - Field Extraction" << std::endl;
}
if(p->caps() & CAP_PARSING)
{
os << " - Event Parsing" << std::endl;
}
if(p->caps() & CAP_ASYNC)
{
os << " - Async Events" << std::endl;
}
}