Skip to content

Commit

Permalink
fix: use CreatedAt instead of StartAt (crowdsecurity#3427)
Browse files Browse the repository at this point in the history
* fix: use CreatedAt instead of StartAt

fix: crowdsecurity#3321

* not a ptr
  • Loading branch information
LaurenceJJones authored Jan 27, 2025
1 parent b2bcf31 commit 5a37161
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 5a37161

Please sign in to comment.