fix: update audit action for container termination

Change the audit action from "kill" to "stop" for the containerKill function to better reflect the operation being performed. This aligns the logging with the intended action and improves clarity in audit records.
This commit is contained in:
Mauricio Siu
2026-04-13 20:36:04 -06:00
parent a48306a2c6
commit 385850f354
+1 -1
View File
@@ -135,7 +135,7 @@ export const dockerRouter = createTRPCRouter({
}
await containerKill(input.containerId, input.serverId);
await audit(ctx, {
action: "kill",
action: "stop",
resourceType: "docker",
resourceId: input.containerId,
resourceName: input.containerId,