From 78c774233172bb960edb172bd4ee06c55497ac16 Mon Sep 17 00:00:00 2001 From: Shahzad Date: Fri, 12 Jun 2020 18:27:40 +0200 Subject: [PATCH] update monitor details case --- .../lib/requests/__tests__/get_latest_monitor.test.ts | 4 ++-- .../uptime/server/lib/requests/get_latest_monitor.ts | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/x-pack/plugins/uptime/server/lib/requests/__tests__/get_latest_monitor.test.ts b/x-pack/plugins/uptime/server/lib/requests/__tests__/get_latest_monitor.test.ts index f8a335c387f2e9..aa3574874af8ee 100644 --- a/x-pack/plugins/uptime/server/lib/requests/__tests__/get_latest_monitor.test.ts +++ b/x-pack/plugins/uptime/server/lib/requests/__tests__/get_latest_monitor.test.ts @@ -37,8 +37,8 @@ describe('getLatestMonitor', () => { 'monitor', 'observer', '@timestamp', - 'tls.server.x509.not_after', - 'tls.server.x509.not_before', + 'tls.certificate_not_valid_after', + 'tls.certificate_not_valid_before', ], sort: { '@timestamp': { order: 'desc' }, diff --git a/x-pack/plugins/uptime/server/lib/requests/get_latest_monitor.ts b/x-pack/plugins/uptime/server/lib/requests/get_latest_monitor.ts index db34de51592135..a47e6173d9f002 100644 --- a/x-pack/plugins/uptime/server/lib/requests/get_latest_monitor.ts +++ b/x-pack/plugins/uptime/server/lib/requests/get_latest_monitor.ts @@ -50,8 +50,8 @@ export const getLatestMonitor: UMElasticsearchQueryFn