From 60b184d5fd95b2b01791e5b3e81c2d2abee391f9 Mon Sep 17 00:00:00 2001 From: Ido Cohen Date: Tue, 14 Jun 2022 11:07:32 +0300 Subject: [PATCH] update latest transform key --- .../server/create_transforms/latest_findings_transform.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/cloud_security_posture/server/create_transforms/latest_findings_transform.ts b/x-pack/plugins/cloud_security_posture/server/create_transforms/latest_findings_transform.ts index 4b048d7e3e8e6..88202c032f85c 100644 --- a/x-pack/plugins/cloud_security_posture/server/create_transforms/latest_findings_transform.ts +++ b/x-pack/plugins/cloud_security_posture/server/create_transforms/latest_findings_transform.ts @@ -31,7 +31,7 @@ export const latestFindingsTransform: TransformPutTransformRequest = { }, latest: { sort: '@timestamp', - unique_key: ['resource_id.keyword', 'rule.id.keyword'], + unique_key: ['resource.id.keyword', 'rule.id'], }, _meta: { managed: 'true',