From 53e2c5a42993104e7be301a95dd1191fb8d6d981 Mon Sep 17 00:00:00 2001 From: subham sarkar Date: Sun, 15 Dec 2024 10:53:50 +0530 Subject: [PATCH] packages/salesforce: Fix processor syntax issue when adding new ones (#12097) --- packages/salesforce/changelog.yml | 5 +++++ .../data_stream/apex/agent/stream/salesforce.yml.hbs | 8 ++++---- packages/salesforce/manifest.yml | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/salesforce/changelog.yml b/packages/salesforce/changelog.yml index 554a31f98b8..669f1032933 100644 --- a/packages/salesforce/changelog.yml +++ b/packages/salesforce/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.0.1" + changes: + - description: Remove indentation from processors to avoid syntax error when adding new processors. + type: bugfix + link: https://github.com/elastic/integrations/pull/12097 - version: "1.0.0" changes: - description: GA release of the Salesforce integration. diff --git a/packages/salesforce/data_stream/apex/agent/stream/salesforce.yml.hbs b/packages/salesforce/data_stream/apex/agent/stream/salesforce.yml.hbs index b1a9f7e0e12..80bfdd48f40 100644 --- a/packages/salesforce/data_stream/apex/agent/stream/salesforce.yml.hbs +++ b/packages/salesforce/data_stream/apex/agent/stream/salesforce.yml.hbs @@ -43,10 +43,10 @@ publisher_pipeline.disable_host: true {{/contains}} processors: - - add_fields: - target: salesforce - fields: - instance_url: {{instance_url}} +- add_fields: + target: salesforce + fields: + instance_url: {{instance_url}} {{#if processors}} {{processors}} {{/if}} diff --git a/packages/salesforce/manifest.yml b/packages/salesforce/manifest.yml index 4bc2755f254..1c3c8092075 100644 --- a/packages/salesforce/manifest.yml +++ b/packages/salesforce/manifest.yml @@ -1,7 +1,7 @@ format_version: 3.0.2 name: salesforce title: Salesforce -version: "1.0.0" +version: "1.0.1" description: | Collect logs from Salesforce instances using the Elastic Agent. This integration enables monitoring and analysis of various Salesforce logs, including Login, Logout, Setup Audit Trail, and Apex execution logs. Gain insights into user activity, security events, and application performance. type: integration