From 804d49d2319791e4c2944ef11d5969215eb8131b Mon Sep 17 00:00:00 2001 From: ezzamo Date: Fri, 31 Oct 2025 09:48:44 +0100 Subject: [PATCH 1/3] ESET Protect: clear cached response-id on 200 OK to prevent 404 on /v1/device_tasks --- packages/eset_protect/changelog.yml | 5 +++++ .../data_stream/device_task/agent/stream/cel.yml.hbs | 5 ++++- packages/eset_protect/manifest.yml | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/eset_protect/changelog.yml b/packages/eset_protect/changelog.yml index 9b3c0265a81..fd4b16a4dc4 100644 --- a/packages/eset_protect/changelog.yml +++ b/packages/eset_protect/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.12.0" + changes: + - description: "Fix 404 Not Found responses caused by a stale cached `response-id` header. Clear `cursor.response_id` on 200 OK and only include the header after 202 Accepted." + type: bugfix + link: https://github.com/elastic/integrations/pull/15819 - version: "1.11.0" changes: - description: "Add support for a toggle to preserve or drop the HEARTBEAT messages." diff --git a/packages/eset_protect/data_stream/device_task/agent/stream/cel.yml.hbs b/packages/eset_protect/data_stream/device_task/agent/stream/cel.yml.hbs index 4e710cb86e9..32f16ef736a 100644 --- a/packages/eset_protect/data_stream/device_task/agent/stream/cel.yml.hbs +++ b/packages/eset_protect/data_stream/device_task/agent/stream/cel.yml.hbs @@ -70,7 +70,10 @@ program: | "" ), "want_more": has(body.nextPageToken) && body.nextPageToken != null && body.nextPageToken != "", - "page_size": state.page_size + "page_size": state.page_size, + "cursor": { + "response_id": null + } }) : ( diff --git a/packages/eset_protect/manifest.yml b/packages/eset_protect/manifest.yml index 24166cec8e5..144f242c009 100644 --- a/packages/eset_protect/manifest.yml +++ b/packages/eset_protect/manifest.yml @@ -1,7 +1,7 @@ format_version: 3.3.2 name: eset_protect title: ESET PROTECT -version: "1.11.0" +version: "1.12.0" description: Collect logs from ESET PROTECT with Elastic Agent. type: integration categories: From 97d727ed339af447776b4d8918b280f330013004 Mon Sep 17 00:00:00 2001 From: ezzamo Date: Fri, 31 Oct 2025 13:59:53 +0100 Subject: [PATCH 2/3] fix versioning in changelog and manifest --- packages/eset_protect/changelog.yml | 4 ++-- packages/eset_protect/manifest.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/eset_protect/changelog.yml b/packages/eset_protect/changelog.yml index fd4b16a4dc4..71ee96e2679 100644 --- a/packages/eset_protect/changelog.yml +++ b/packages/eset_protect/changelog.yml @@ -1,9 +1,9 @@ # newer versions go on top -- version: "1.12.0" +- version: "1.11.1" changes: - description: "Fix 404 Not Found responses caused by a stale cached `response-id` header. Clear `cursor.response_id` on 200 OK and only include the header after 202 Accepted." type: bugfix - link: https://github.com/elastic/integrations/pull/15819 + link: https://github.com/elastic/integrations/pull/15831 - version: "1.11.0" changes: - description: "Add support for a toggle to preserve or drop the HEARTBEAT messages." diff --git a/packages/eset_protect/manifest.yml b/packages/eset_protect/manifest.yml index 144f242c009..6268a93b02a 100644 --- a/packages/eset_protect/manifest.yml +++ b/packages/eset_protect/manifest.yml @@ -1,7 +1,7 @@ format_version: 3.3.2 name: eset_protect title: ESET PROTECT -version: "1.12.0" +version: "1.11.1" description: Collect logs from ESET PROTECT with Elastic Agent. type: integration categories: From 52c7d53bf59e41807b9f2711e6c1dd45f6c067b7 Mon Sep 17 00:00:00 2001 From: ezzamo Date: Sun, 2 Nov 2025 23:07:24 +0100 Subject: [PATCH 3/3] eset protect: clear cursor on 200 OK using empty cursor object --- .../data_stream/device_task/agent/stream/cel.yml.hbs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/eset_protect/data_stream/device_task/agent/stream/cel.yml.hbs b/packages/eset_protect/data_stream/device_task/agent/stream/cel.yml.hbs index 32f16ef736a..a12c43ada55 100644 --- a/packages/eset_protect/data_stream/device_task/agent/stream/cel.yml.hbs +++ b/packages/eset_protect/data_stream/device_task/agent/stream/cel.yml.hbs @@ -71,9 +71,7 @@ program: | ), "want_more": has(body.nextPageToken) && body.nextPageToken != null && body.nextPageToken != "", "page_size": state.page_size, - "cursor": { - "response_id": null - } + "cursor": {} }) : (