Werk #14651: Fix "KeyError('use_regular')"

Component Checks & agents
Title Fix "KeyError('use_regular')"
Date Oct 20, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p16 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If users configured a rule "Encryption (Linux, Windows)" without actually setting values in it and used the unencryted mode of the agent controller, the Checkmk service would go {CRIT}.

To the list of all Werks