From 8109a531118739eb81e56c3454ae7657a7656404 Mon Sep 17 00:00:00 2001 From: jbergner Date: Mon, 18 May 2026 08:53:23 +0200 Subject: [PATCH] Bugfix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index bf3aaa7..7cf2e2c 100644 --- a/main.go +++ b/main.go @@ -6326,7 +6326,7 @@ func (d *detector) insertDetection(ctx context.Context, det Detection) (bool, er const q = ` INSERT IGNORE INTO detections (rule_name, severity, hostname, channel_name, event_id, score, window_start, window_end, summary, details_json, created_at, status) -VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, UTC_TIMESTAMP(6)) +VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, UTC_TIMESTAMP(6),?) ` res, err := d.db.ExecContext(ctx, q,