From 91d56c36161fbe5b134426683c236931a82dc1cb Mon Sep 17 00:00:00 2001 From: Rajas Date: Tue, 20 Feb 2024 14:35:06 -0500 Subject: [PATCH 1/5] deprecating coordinates, adding lat, lon, geohash Signed-off-by: Rajas --- dictionary.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/dictionary.json b/dictionary.json index 3035d4de7..27d4803bc 100644 --- a/dictionary.json +++ b/dictionary.json @@ -1015,6 +1015,10 @@ "type": "string_t" }, "coordinates": { + "@deprecated": { + "message": "Use specific lat, long attributes instead.", + "since": "1.2.0" + }, "caption": "Coordinates", "description": "A two-element array, containing a longitude/latitude pair. The format conforms with GeoJSON. For example: [-73.983, 40.719].", "is_array": true, @@ -1717,6 +1721,11 @@ "description": "The entry-point function of the module. The system calls the entry-point function whenever a process or thread loads or unloads the module.", "type": "string_t" }, + "geohash": { + "caption": "Geohash", + "description": "

Geohash of the geo-coordinates (latitude and longitude).

Geohashing is a geocoding system used to encode geographic coordinates in decimal degrees, to a single string.", + "type": "string_t" + }, "given_name": { "caption": "Given Name", "description": "The given or first name of the user.", @@ -2164,6 +2173,11 @@ "description": "The most recent detection time of the activity or object. See specific usage.", "type": "timestamp_t" }, + "lat": { + "caption": "Latitude", + "description": "The geographical Latitude coordinate represented in Decimal Degrees (DD). For example: 42.361145.", + "type": "string_t" + }, "latency": { "caption": "Latency", "description": "The HTTP response latency measured in milliseconds.", @@ -2339,6 +2353,11 @@ "sibling": "logon_type", "type": "integer_t" }, + "long": { + "caption": "Longitude", + "description": "The geographical Longitude coordinate represented in Decimal Degrees (DD). For example: -71.057083.", + "type": "string_t" + }, "mac": { "caption": "MAC Address", "description": "The Media Access Control (MAC) address that is associated with the network interface.", From 47a76fee6b54435046913099bd5fdaf10e872f72 Mon Sep 17 00:00:00 2001 From: Rajas Date: Tue, 20 Feb 2024 14:36:11 -0500 Subject: [PATCH 2/5] Adding lat, long, geohash to coordinates Signed-off-by: Rajas --- objects/location.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/objects/location.json b/objects/location.json index e9f314bc0..af40e3483 100644 --- a/objects/location.json +++ b/objects/location.json @@ -12,7 +12,7 @@ "requirement": "recommended" }, "coordinates": { - "requirement": "recommended" + "requirement": "optional" }, "country": { "requirement": "recommended" @@ -21,12 +21,21 @@ "description": "The description of the geographical location.", "requirement": "optional" }, + "geohash": { + "requirement": "optional" + }, "is_on_premises": { "requirement": "optional" }, "isp": { "requirement": "optional" }, + "lat": { + "requirement": "optional" + }, + "long": { + "requirement": "optional" + }, "postal_code": { "requirement": "optional" }, @@ -41,7 +50,6 @@ }, "constraints": { "at_least_one": [ - "coordinates", "city", "country", "postal_code", From 3336bd4df6a089c588468be5beb091516b32ef52 Mon Sep 17 00:00:00 2001 From: Rajas Date: Tue, 20 Feb 2024 14:54:23 -0500 Subject: [PATCH 3/5] updating Changelog entries, formatting corrections Signed-off-by: Rajas --- CHANGELOG.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22b9eb762..695feda58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,11 +15,22 @@ Thankyou! --> ### Added * #### Objects - 1. Added `auth_factor` object. #949 + 1. Added `auth_factor` object. #949 ### Improved * #### Event Classes - 1. Added `auth_factors` array to Authentication event class. #949 + 1. Added `auth_factors` array to Authentication event class. #949 +* #### Objects + 1. Added `lat`, `long`, `geohash` attributes to `location` object. #971 + +### Bugfixes + 1. Changed datatype of `priority` from `integer_t` to `string_t` #959 + +### Deprecated + 1. Deprecated `coordinates` attrubute in favor of specific `lat`, `long` attributes. #971 + +### Misc +1. New Extension registration for Sedara. #951 ### Breaking changes ### Misc -1. New Extension registration for Sedara. #951 --> -### Misc - 1. Changed datatype of `priority` from `integer_t` to `string_t` #959 - ## [v1.1.0] - January 25th, 2024 ### Added From 6adaf30aba32726cd52ec9ca32aff87c372c98b3 Mon Sep 17 00:00:00 2001 From: Rajas Date: Tue, 20 Feb 2024 15:14:19 -0500 Subject: [PATCH 4/5] fixing formatting issues in changelog Signed-off-by: Rajas --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 695feda58..afd952659 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,10 +24,10 @@ Thankyou! --> 1. Added `lat`, `long`, `geohash` attributes to `location` object. #971 ### Bugfixes - 1. Changed datatype of `priority` from `integer_t` to `string_t` #959 +1. Changed datatype of `priority` from `integer_t` to `string_t` #959 ### Deprecated - 1. Deprecated `coordinates` attrubute in favor of specific `lat`, `long` attributes. #971 +1. Deprecated `coordinates` attrubute in favor of specific `lat`, `long` attributes. #971 ### Misc 1. New Extension registration for Sedara. #951 From f203f9083781d3fcfec36c4f73dc01f0845758e9 Mon Sep 17 00:00:00 2001 From: Rajas Date: Wed, 21 Feb 2024 16:09:43 -0500 Subject: [PATCH 5/5] updating lat, long data-types to float Signed-off-by: Rajas --- dictionary.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dictionary.json b/dictionary.json index 27d4803bc..9dd763960 100644 --- a/dictionary.json +++ b/dictionary.json @@ -2176,7 +2176,7 @@ "lat": { "caption": "Latitude", "description": "The geographical Latitude coordinate represented in Decimal Degrees (DD). For example: 42.361145.", - "type": "string_t" + "type": "float_t" }, "latency": { "caption": "Latency", @@ -2356,7 +2356,7 @@ "long": { "caption": "Longitude", "description": "The geographical Longitude coordinate represented in Decimal Degrees (DD). For example: -71.057083.", - "type": "string_t" + "type": "float_t" }, "mac": { "caption": "MAC Address",