Werk #14741: Use internal folder ID in audit log on moving hosts

Component Setup
Title Use internal folder ID in audit log on moving hosts
Date Aug 24, 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.0p12 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p29 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If hosts were moved between folders, the audit log uses the ID of the folder.

This could lead to unclear log entries if folder were renamed in the past, because the ID does not change on folder renaming.

We now added the internal ID of the folder for a better understanding of this log entries.

For example:

"Moved host from "Main directory" (ID: 21016475a7554c11afca66ae620b4c52) to "myfolder1/myfolder2" (ID: fffa1507d66248cd9da17ac3cc5103d5)"

To the list of all Werks