mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-20 08:01:26 +00:00
950965fe90
The audit calls added in the last commit went to AuditService.LogAction, which writes to the general user-facing audit log (Cassandra). The admin audit-log viewer at /admin/audit-logs queries the admin_audit_log table in Postgres, so worker / credentials / release actions never showed up. Add a public AdminService.LogAdminAction that wraps the existing private logAction (writes to admin_audit_log with the same shape as ban_user / update_worker / etc.). Repoint h.audit() at it. Actions now visible in the audit viewer: test, install, restart, upgrade, uninstall, rotate_keys, apply, assign, system_update, reboot, check_releases (plus the existing create/update/delete across workers, AWS creds, and profiles).