Log updater.secret
creation and expiration
#45714
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
enhancement
feature: install and update
We should be logging whenever the
updater.secret
gets set and whenever it expires out. This may help catch some situations such as:The
updater.secret
is re-generated every time the "Open updater" button is clicked in the Administration settings->Overview screen.server/apps/updatenotification/src/components/UpdateNotification.vue
Line 57 in 3237123
server/apps/updatenotification/src/components/UpdateNotification.vue
Line 426 in 3237123
server/apps/updatenotification/lib/Controller/AdminController.php
Line 56 in 08baf17
The token is also automatically deleted 48 hours later:
server/apps/updatenotification/lib/BackgroundJob/ResetToken.php
Lines 44 to 46 in 08baf17
We should log:
updater.secret
is generatedupdater.secret
is removedThe log level should be WARN so that it's picked up by default in most environments. This should be acceptable because the secret is generated rarely and the expiration background job can only have a secret to clear (and thus log about) as often as a new secret is generated.
The text was updated successfully, but these errors were encountered: