hive-c0re: rfc3339 timestamps on dashboard api + sse json

This commit is contained in:
damocles 2026-07-02 21:30:16 +02:00 committed by mara
commit bac2c0a65e
6 changed files with 23 additions and 8 deletions

View file

@ -89,6 +89,7 @@ impl AuditOutcome {
#[derive(Debug, Clone, Serialize)]
pub struct AuditEntry {
pub id: i64,
#[serde(with = "hive_sh4re::wire_time::iso")]
pub ts_unix: i64,
/// Agent on whose behalf the action was taken.
pub agent: String,