Date Field Definitions for Alerts and Cases#
TheHive records several timestamps for alerts and cases to track their lifecycle and support time-based analysis across investigations.
Stages and statuses
Some of those dates are based on the stage of alerts and cases. To learn more about how statuses and stages interact, see About Statuses.
Date field definitions for alerts#
| API field | Definition |
|---|---|
date |
The time the event occurred, as sent by the source that created the alert. If the source doesn't send a date, the alert creation date in TheHive is used. Corresponds to the Occurred date field in TheHive interface. |
_createdAt |
The time the alert was created in TheHive. |
_updatedAt |
The last time the alert was modified. |
newDate |
The first time the alert entered a status linked to the New stage. |
inProgressDate |
The first time the alert entered a status linked to the In progress stage. |
closedDate |
The first time the alert entered a status linked to the Closed stage because no further investigation was required. |
importedDate |
The first time the alert entered the Imported status. This occurs when the alert is merged into a new or existing case for investigation. |
Date field definitions for cases#
| API field | Definition |
|---|---|
startDate |
The time the event occurred, as set when the case was created. If no date is set, the case creation date in TheHive is used. Corresponds to the Start date field in TheHive interface. |
_createdAt |
The time the case was created in TheHive. |
_updatedAt |
The last time the case was modified. |
newDate |
The first time the case entered a status linked to the New stage. |
inProgressDate |
The first time the case entered a status linked to the In progress stage. |
closedDate |
The first time the case entered a status linked to the Closed stage because the investigation was completed. |
endDate |
The time the event actually ended. By default, this corresponds to the last time the case entered a status linked to the Closed stage. You can modify this value via the API to reflect the actual end time of the incident. |