feat: add location based on ip to the audit log

This commit is contained in:
Elias Schneider
2024-10-04 12:11:10 +02:00
parent e033ba6d45
commit 025378d14e
18 changed files with 110 additions and 6 deletions

View File

@@ -11,6 +11,8 @@ type AuditLogDto struct {
Event model.AuditLogEvent `json:"event"`
IpAddress string `json:"ipAddress"`
Country string `json:"country"`
City string `json:"city"`
Device string `json:"device"`
UserID string `json:"userID"`
Data model.AuditLogData `json:"data"`