Check_MK-Things icon indicating copy to clipboard operation
Check_MK-Things copied to clipboard

Issue in CheckMK Patch Day Plugin when processing regex

Open DirkHoelscherKH opened this issue 6 months ago • 6 comments

If I exclude some "unwanted updates" in the agent rules of CheckMK plugin "Windows Patch Day”, the regex expression does not work as expected. If the exclude is image (to exclude updates with the shown KB-numbers) it don't exclude these updates in the agent output. The $filter_regex in windows_patch_day.ps1 has the value (?i)^(KB2267602|KB4052623) so it looks right.

If the exclude in agent rule is image the content of $filter_regex will be escaped as image This completely destroys the regex expression.

Used version is 2.3.1 on Checkmk Enterprise Edition 2.3.0p12

Is this a bug or how exactly are the unwanted updates has to be defined?

DirkHoelscherKH avatar Aug 20 '24 10:08 DirkHoelscherKH