From 3f381348cb06243762d7a2c1be9a6f8b4f0260e7 Mon Sep 17 00:00:00 2001 From: Jedr Blaszyk Date: Wed, 18 Dec 2024 13:24:12 +0100 Subject: [PATCH] [Search Connectors] Use policy_templates_behavior option with individual_policies mode (#12115) * [Search Connectors] Use policy_templates_behavior option with individual_policies mode * Update PR in changelog * Re-trigger the build pipeline --- packages/elastic_connectors/changelog.yml | 5 ++++ packages/elastic_connectors/manifest.yml | 28 ++++++++--------------- 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/packages/elastic_connectors/changelog.yml b/packages/elastic_connectors/changelog.yml index 25cce161812..ccc83594ad7 100644 --- a/packages/elastic_connectors/changelog.yml +++ b/packages/elastic_connectors/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: 0.0.5 + changes: + - description: Use individual_policies mode in package policy_templates_behavior + type: enhancement + link: https://github.com/elastic/integrations/pull/12115 - version: 0.0.4 changes: - description: Add connector_id as the input variable, fix display of the connector_name diff --git a/packages/elastic_connectors/manifest.yml b/packages/elastic_connectors/manifest.yml index 8b5e868e717..0d77f865010 100644 --- a/packages/elastic_connectors/manifest.yml +++ b/packages/elastic_connectors/manifest.yml @@ -1,7 +1,7 @@ -format_version: 3.2.3 +format_version: 3.3.1 name: elastic_connectors title: "Elastic Connectors" -version: 0.0.4 +version: 0.0.5 source: license: "Elastic-2.0" description: "Sync data from source to the Elasticsearch index." @@ -23,6 +23,7 @@ icons: title: Connectors Logo size: 32x32 type: image/svg+xml +policy_templates_behavior: individual_policies policy_templates: - name: github title: GitHub & GitHub Enterprise Server Connector @@ -32,7 +33,7 @@ policy_templates: size: 32x32 type: image/svg+xml description: Use a connector to sync data from your GitHub data source. - deployment_modes: + deployment_modes: &connector_deployment_modes default: enabled: false agentless: @@ -45,16 +46,14 @@ policy_templates: - type: connectors-py title: GitHub & GitHub Enterprise Server Connector description: Connectors syncs data from an original data source to an Elasticsearch index. - vars: - - &connector_name - name: connector_name + vars: &connector_input_vars + - name: connector_name type: text title: Connector Name required: false show_user: true description: Connector name to identify the connector in the UI - - &connector_id - name: connector_id + - name: connector_id type: text title: Connector ID required: false @@ -69,22 +68,13 @@ policy_templates: size: 32x32 type: image/svg+xml description: Use a connector to sync from your Google Drive data source. - deployment_modes: - default: - enabled: false - agentless: - enabled: true - organization: elastic - division: engineering - team: search-extract-and-transform + deployment_modes: *connector_deployment_modes multiple: false inputs: - type: connectors-py title: Google Drive Connector description: Connectors syncs data from an original data source to an Elasticsearch index. - vars: - - <<: *connector_name - - <<: *connector_id + vars: *connector_input_vars template_path: google_drive.yml.hbs owner: