From 4797dc4555cfa1a987ef48a7a0d087517619ff64 Mon Sep 17 00:00:00 2001 From: Ido Cohen <90558359+CohenIdo@users.noreply.github.com> Date: Sun, 15 Sep 2024 14:53:45 +0300 Subject: [PATCH] [Cloud Security] Prevent 'index not found' error log --- .../cloud_security_posture/server/routes/status/status.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugins/cloud_security_posture/server/routes/status/status.ts b/x-pack/plugins/cloud_security_posture/server/routes/status/status.ts index e153479a43b0a..47ad4c32cba6e 100644 --- a/x-pack/plugins/cloud_security_posture/server/routes/status/status.ts +++ b/x-pack/plugins/cloud_security_posture/server/routes/status/status.ts @@ -170,6 +170,7 @@ const checkIndexHasFindings = async ( ], }, }, + ignore_unavailable: true, }); // Check the number of hits