Bugfix
All checks were successful
release-tag / release-image (push) Successful in 2m9s

This commit is contained in:
2026-05-18 08:53:23 +02:00
parent ba30e4f3da
commit 8109a53111

View File

@@ -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,