From e8ca3073ab38745d4d79fbe9bd1c850e15fb69de Mon Sep 17 00:00:00 2001 From: Github Workflow Date: Tue, 7 Jan 2025 07:22:04 +0000 Subject: [PATCH] JSON Schema Update --- config/v3/login_history/receive.json | 42 +++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/config/v3/login_history/receive.json b/config/v3/login_history/receive.json index 59845fea..28bc348b 100644 --- a/config/v3/login_history/receive.json +++ b/config/v3/login_history/receive.json @@ -18,9 +18,17 @@ "additionalProperties": false, "required": [ "action", + "browser", + "country", + "datetime", + "device", "environment", + "ip", + "language", + "os", "status", - "time" + "time", + "version" ], "properties": { "action": { @@ -31,10 +39,38 @@ "logout" ] }, + "browser": { + "description": "Browser used", + "type": "string" + }, + "country": { + "description": "Country the login originated (IP Based))", + "type": "string" + }, + "datetime": { + "description": "ISO6801 timestame of the activity", + "type": "string" + }, + "device": { + "description": "Client device", + "type": "string" + }, "environment": { "description": "Provides details about browser, device used during login or logout", "type": "string" }, + "ip": { + "description": "IP Address the login was from", + "type": "string" + }, + "language": { + "description": "Browser language", + "type": "string" + }, + "os": { + "description": "Operating system", + "type": "string" + }, "status": { "description": "Status of activity: 1 - success, 0 - failure", "type": "integer", @@ -46,6 +82,10 @@ "time": { "description": "Epoch time of the activity", "type": "integer" + }, + "version": { + "description": "Version of the browser", + "type": "string" } } }