From 08c0fe541f21db4728ae3a38bf2e09cebd7cef2f Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Sun, 8 Nov 2026 13:05:23 +0100 Subject: [PATCH 1/2] 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 fdec726d651004d0dd55133e45730ca24c2117d5 Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Fri, 13 Nov 2026 16:42:13 +0100 Subject: [PATCH 2/2] 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