From de24aac7d51eb58b09196a9af834ce70e9148e4b Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Wed, 18 Dec 2019 15:40:01 -0800 Subject: [PATCH] (cobra-to-sentry) capture application version from device field --- docs/CHANGELOG.md | 4 ++++ ixsentry/ixsentry/IXSentryClient.cpp | 5 +++++ ixwebsocket/IXWebSocketVersion.h | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 6ace1dab..5652c507 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog All notable changes to this project will be documented in this file. +## [7.5.8] - 2019-12-18 + +(cobra-to-sentry) capture application version from device field + ## [7.5.7] - 2019-12-18 (tls) Experimental TLS server support with mbedtls (windows) + process cert tlsoption (client + server) diff --git a/ixsentry/ixsentry/IXSentryClient.cpp b/ixsentry/ixsentry/IXSentryClient.cpp index 568b3c8a..e957efc6 100644 --- a/ixsentry/ixsentry/IXSentryClient.cpp +++ b/ixsentry/ixsentry/IXSentryClient.cpp @@ -199,6 +199,11 @@ namespace ix environmentTag.append(msg["device"]["environment"]); tags.append(environmentTag); + Json::Value clientVersionTag; + clientVersionTag.append("client_version"); + clientVersionTag.append(msg["device"]["app_version"]); + tags.append(clientVersionTag); + payload["tags"] = tags; return _jsonWriter.write(payload); diff --git a/ixwebsocket/IXWebSocketVersion.h b/ixwebsocket/IXWebSocketVersion.h index ccc91115..9e6e0941 100644 --- a/ixwebsocket/IXWebSocketVersion.h +++ b/ixwebsocket/IXWebSocketVersion.h @@ -6,4 +6,4 @@ #pragma once -#define IX_WEBSOCKET_VERSION "7.5.7" +#define IX_WEBSOCKET_VERSION "7.5.8"