From 7414aab86b532c81c2aa258ed4e85fa9e063230b Mon Sep 17 00:00:00 2001 From: Laurence Jones Date: Fri, 24 Jan 2025 13:53:13 +0000 Subject: [PATCH] fix: use CreatedAt instead of StartAt fix: #3321 --- cmd/crowdsec-cli/clialert/alerts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/crowdsec-cli/clialert/alerts.go b/cmd/crowdsec-cli/clialert/alerts.go index 5907d4a0fa8..184d7f4a3c1 100644 --- a/cmd/crowdsec-cli/clialert/alerts.go +++ b/cmd/crowdsec-cli/clialert/alerts.go @@ -78,7 +78,7 @@ func (cli *cliAlerts) alertsToTable(alerts *models.GetAlertsResponse, printMachi alertItem.Source.Cn, alertItem.Source.GetAsNumberName(), decisionsFromAlert(alertItem), - *alertItem.StartAt, + *alertItem.CreatedAt, } if printMachine { row = append(row, alertItem.MachineID)