Werk #15185: REST API: update password change time when changing automation user's secret

Component REST API
Title REST API: update password change time when changing automation user's secret
Date Jan 23, 2023
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.0p20 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously, changing an automation user's authentication secret did not update the recorded timestamp of the last password change for the automation user. As a result, the automation user could have been prevented from logging in by the password policy for local users, because the secret appeared to be too old.

The recorded timestamp is now updated when the secret is changed via the REST API.

Note that the issue did not affect changing an automation user's secret via the user management GUI (Setup > Users). Here the timestamp was already updated correctly.

To the list of all Werks