Werk #17959: REST-API: Move rule audit log messages

Component REST API
Title REST-API: Move rule audit log messages
Date Aug 19, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p11 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p36 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This werk changes the audit log entries that generate when calling the "Move a rule to a specific location" endpoint.

Specifically, when the rule gets moved to a different folder the following message is used: Moved rule ... of ruleset "..." from folder "x" to position #0 in folder "y"

Otherwise, the following message is used (which matches the GUI): Moved rule ... from position #0 to #1 in ruleset "..." in folder "..."

Previously, the REST-API incorrectly reported the move to always be to the "top" of the folder. This is now fixed with this werk.

To the list of all Werks