From 7248284b125da9cfbffaacd370eaa0ec46cd1be6 Mon Sep 17 00:00:00 2001 From: Jason Dellaluce Date: Mon, 22 May 2023 10:22:02 +0000 Subject: [PATCH] chore(userspace/falco/app): print all supported plugin caps Signed-off-by: Jason Dellaluce --- userspace/falco/app/actions/helpers_generic.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/userspace/falco/app/actions/helpers_generic.cpp b/userspace/falco/app/actions/helpers_generic.cpp index b516473c..511cccdc 100644 --- a/userspace/falco/app/actions/helpers_generic.cpp +++ b/userspace/falco/app/actions/helpers_generic.cpp @@ -97,11 +97,23 @@ void falco::app::actions::format_plugin_info(std::shared_ptr 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; + } }