From dc620d96fd437689c7f1996152db9ccb8e988cc5 Mon Sep 17 00:00:00 2001 From: eset-enterprise-integration Date: Thu, 14 Nov 2024 08:14:51 +0100 Subject: [PATCH] eset_protect: add HTTP header identifying the integration (#11726) The ESET Protect API will be requiring an HTTP header, "3rd-integration", to identify integrations. Documentation for the header is not currently available, but will be at the ESET Elastic integration documentation page[1] in the future. [1]https://help.eset.com/eset_connect/en-US/elastic.html --- packages/eset_protect/changelog.yml | 5 +++++ .../data_stream/detection/agent/stream/cel.yml.hbs | 1 + .../data_stream/device_task/agent/stream/cel.yml.hbs | 1 + packages/eset_protect/manifest.yml | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/eset_protect/changelog.yml b/packages/eset_protect/changelog.yml index e76531a56e1..032b18ccb2f 100644 --- a/packages/eset_protect/changelog.yml +++ b/packages/eset_protect/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.2.0" + changes: + - description: Add 3rd-integration header to API calls. + type: enhancement + link: https://github.com/elastic/integrations/pull/11726 - version: "1.1.1" changes: - description: Remove reference to a Kibana version from the README. diff --git a/packages/eset_protect/data_stream/detection/agent/stream/cel.yml.hbs b/packages/eset_protect/data_stream/detection/agent/stream/cel.yml.hbs index 272acd7c9e2..6bba5ff2157 100644 --- a/packages/eset_protect/data_stream/detection/agent/stream/cel.yml.hbs +++ b/packages/eset_protect/data_stream/detection/agent/stream/cel.yml.hbs @@ -61,6 +61,7 @@ program: | request.with({ "Header":{ "response-id": [state.cursor.response_id], + "3rd-integration": ["Elastic"], } }) : 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 0a5f0c79853..5e2258a95b1 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 @@ -41,6 +41,7 @@ program: | request.with({ "Header":{ "response-id": [state.cursor.response_id], + "3rd-integration": ["Elastic"], } }) : diff --git a/packages/eset_protect/manifest.yml b/packages/eset_protect/manifest.yml index 3ed74fe2ae3..de7f1839168 100644 --- a/packages/eset_protect/manifest.yml +++ b/packages/eset_protect/manifest.yml @@ -1,7 +1,7 @@ format_version: 3.0.3 name: eset_protect title: ESET PROTECT -version: "1.1.1" +version: "1.2.0" description: Collect logs from ESET PROTECT with Elastic Agent. type: integration categories: