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

Component Checks & agents
Title Fix "KeyError('use_regular')"
Date Oct 20, 2022
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0p16
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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