From 09ab9db423437266debf831138c63d98b2f515f8 Mon Sep 17 00:00:00 2001 From: Jason Dellaluce Date: Tue, 28 Feb 2023 14:31:01 +0000 Subject: [PATCH] chore(userspace/falco): apply review suggestion Co-authored-by: Melissa Kilby Signed-off-by: Jason Dellaluce --- .../falco/app/actions/configure_interesting_sets.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/userspace/falco/app/actions/configure_interesting_sets.cpp b/userspace/falco/app/actions/configure_interesting_sets.cpp index c903dc5c..9d2f74fa 100644 --- a/userspace/falco/app/actions/configure_interesting_sets.cpp +++ b/userspace/falco/app/actions/configure_interesting_sets.cpp @@ -54,8 +54,8 @@ static void check_for_rules_unsupported_events(falco::app::state& s, const libsi /* Get the names of the events (syscall and non syscall events) that were not activated and print them. */ auto names = libsinsp::events::sc_set_to_names(unsupported_sc_set); - std::cerr << "Loaded rules match event types that are not activated or unsupported with current configuration: warning (unsupported-evttype): " + concat_set_in_order(names) << std::endl; - std::cerr << "If syscalls in rules include high volume I/O syscalls (-> activate via `-A` flag), else syscalls might be associated with syscalls undefined on your architecture (https://marcin.juszkiewicz.com.pl/download/tables/syscalls.html)" << std::endl; + std::cerr << "Loaded rules match syscalls that are not activated (e.g. were removed via config settings such as no -A flag or negative base_syscalls elements) or unsupported with current configuration: warning (unsupported-evttype): " + concat_set_in_order(names) << std::endl; + std::cerr << "If syscalls in rules include high volume I/O syscalls (-> activate via `-A` flag), else syscalls may have been removed via base_syscalls option or might be associated with syscalls undefined on your architecture (https://marcin.juszkiewicz.com.pl/download/tables/syscalls.html)" << std::endl; } static void select_event_set(falco::app::state& s, const libsinsp::events::set& rules_sc_set) @@ -127,7 +127,7 @@ static void select_event_set(falco::app::state& s, const libsinsp::events::set

activate via `-A` flag): " + + ") ignored syscalls (-> activate via `-A` flag): " + concat_set_in_order(erased_sc_set_names) + "\n"); } } @@ -154,7 +154,7 @@ static void select_event_set(falco::app::state& s, const libsinsp::events::set