From d8bc31d5e39244341b2ce62c959daf96d97cdf59 Mon Sep 17 00:00:00 2001 From: Ryland Herrick Date: Thu, 13 Apr 2023 14:25:54 -0500 Subject: [PATCH] Remove nonindexed mappings(?) from Signals Migration SO These fields are captured in schema elsewhere (and validated there as well). This effort is part of @elastic/security-team#6268. --- .../migrations/saved_objects.ts | 32 ------------------- 1 file changed, 32 deletions(-) diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/migrations/saved_objects.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/migrations/saved_objects.ts index 8a168d3c43ba07..3381a0ba069acb 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/migrations/saved_objects.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/migrations/saved_objects.ts @@ -14,41 +14,9 @@ export const signalsMigrationMappings: SavedObjectsType['mappings'] = { sourceIndex: { type: 'keyword', }, - destinationIndex: { - type: 'keyword', - index: false, - }, version: { type: 'long', }, - error: { - type: 'text', - index: false, - }, - taskId: { - type: 'keyword', - index: false, - }, - status: { - type: 'keyword', - index: false, - }, - created: { - type: 'date', - index: false, - }, - createdBy: { - type: 'text', - index: false, - }, - updated: { - type: 'date', - index: false, - }, - updatedBy: { - type: 'text', - index: false, - }, }, };