qm icon indicating copy to clipboard operation
qm copied to clipboard

Cron disable/run-now and webhook update/enable/disable are not audited

Open son-risa opened this issue 1 day ago • 0 comments

Cron create, update, delete, note and retarget write audit rows (cron_*), but disabling a cron and running it now do not: the person route enables through the audited update path and disables through setCronEnabled, which takes no actor and writes no audit, and its run-now route writes none either; the agent path (ControlService.setCronEnabled / runCron) only notifies the owner. Webhooks audit creation (webhook_create) but not update, enable or disable. Suggest passing the actor to these paths and recording cron_disable / cron_run / webhook_update / webhook_enable / webhook_disable.

Checked on main efcbae65e.

son-risa avatar Dec 04 '26 16:12 son-risa