From 761106b1cde77db0ad5e5162952001e2a95f9661 Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Sun, 8 Nov 2026 13:05:23 +0100 Subject: [PATCH 1/3] MPF now filters classes reported by `cf-agent` with `report_metatags_include` and `report_metatags_exclude` Report filtering is moving from `cf-serverd` (`report_data_select` in `controls/reports.cf`) to `cf-agent`, one chapter at a time as each moves to leech2 reporting. Classes are the first, so `cf-agent` now filters them with the same metatags. `cf-serverd` keeps filtering variables (`VAD`), execution log (`ELD`), promise log (`PLG`) and monitoring (`MOM`, `MOY`, `MOH`) until they have moved too. Changelog: Title Ticket: ENT-14507 Signed-off-by: Lars Erik Wik --- controls/cf_agent.cf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/controls/cf_agent.cf b/controls/cf_agent.cf index 47840bc1f6..eac975b511 100644 --- a/controls/cf_agent.cf +++ b/controls/cf_agent.cf @@ -62,4 +62,11 @@ body agent control # The order in which promises are evaluated (top_down|classic) evaluation_order => "$(default:def.control_agent_evaluation_order)"; @endif +@if minimum_version(3.30.0) + any:: + # Metatags filter for classes reported to the hub. Keep in sync with + # metatags_include / metatags_exclude in controls/reports.cf. + report_metatags_include => { "inventory", "report" }; + report_metatags_exclude => { "noreport" }; +@endif } From 915f1e9cdb740748d35a3dcfcbbb97c9bd722cb8 Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Fri, 13 Nov 2026 16:42:13 +0100 Subject: [PATCH 2/3] cf_agent.cf: metatags filter comment now mentions variables Ticket: ENT-14516 Signed-off-by: Lars Erik Wik --- controls/cf_agent.cf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controls/cf_agent.cf b/controls/cf_agent.cf index eac975b511..3eaa3d829d 100644 --- a/controls/cf_agent.cf +++ b/controls/cf_agent.cf @@ -64,8 +64,8 @@ body agent control @endif @if minimum_version(3.30.0) any:: - # Metatags filter for classes reported to the hub. Keep in sync with - # metatags_include / metatags_exclude in controls/reports.cf. + # Metatags filter for classes and variables reported to the hub. Keep in + # sync with metatags_include / metatags_exclude in controls/reports.cf. report_metatags_include => { "inventory", "report" }; report_metatags_exclude => { "noreport" }; @endif From 17ed8a338b19addcd26ca201585a077b9534d72d Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Mon, 16 Nov 2026 15:18:33 +0100 Subject: [PATCH 3/3] MPF now filters promise executions reported by `cf-agent` with `report_promise_handle_exclude` Ticket: ENT-14519 Changelog: Title Signed-off-by: Lars Erik Wik --- controls/cf_agent.cf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/controls/cf_agent.cf b/controls/cf_agent.cf index 3eaa3d829d..9ef5fe0818 100644 --- a/controls/cf_agent.cf +++ b/controls/cf_agent.cf @@ -68,5 +68,9 @@ body agent control # sync with metatags_include / metatags_exclude in controls/reports.cf. report_metatags_include => { "inventory", "report" }; report_metatags_exclude => { "noreport" }; + + # Promise handle filter for promise executions reported to the hub. Keep + # in sync with promise_handle_exclude in controls/reports.cf. + report_promise_handle_exclude => { "noreport_.*" }; @endif }