From ff3a94b888af1279a09849f1db8eca24b213ef7f Mon Sep 17 00:00:00 2001 From: mrhid6 Date: Mon, 20 Jul 2026 11:42:31 +0100 Subject: [PATCH] fix(api): audit workflow run cancellation --- server/internal/api/workflows.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/internal/api/workflows.go b/server/internal/api/workflows.go index 94e9b04..f65b297 100644 --- a/server/internal/api/workflows.go +++ b/server/internal/api/workflows.go @@ -170,5 +170,6 @@ func cancelRun(c *gin.Context) { c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) return } + services.LogEvent("workflow.run_cancelled", actorFromCtx(c), "", c.Param("runId"), "run cancelled") c.JSON(http.StatusOK, gin.H{"cancelled": true}) }