Skip to content

Commit

Permalink
fix: use CreatedAt instead of StartAt
Browse files Browse the repository at this point in the history
fix: #3321
  • Loading branch information
LaurenceJJones authored Jan 24, 2025
1 parent 5b90dfb commit 7414aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/crowdsec-cli/clialert/alerts.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7414aab

Please sign in to comment.