Werk #17305: mk_filestats: Fix recent regression in file filtering

Component Checks & agents
Title mk_filestats: Fix recent regression in file filtering
Date Sep 23, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p18 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p35 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Werk 17129 introduced a regression when filtering files according to the configured globbing and regular expression patterns. In particular, the following combination never yielded any matches:

  • A globbing pattern that matches a folder name exactly.
  • Regular expressions that do not match the folder, but files inside the folder.

To the list of all Werks