Skip to content

Commit

Permalink
[Search Connectors] Use policy_templates_behavior option with individ…
Browse files Browse the repository at this point in the history
…ual_policies mode (#12115)

* [Search Connectors] Use policy_templates_behavior option with individual_policies mode

* Update PR in changelog

* Re-trigger the build pipeline
  • Loading branch information
jedrazb authored Dec 18, 2024
1 parent 201fb65 commit 3f38134
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 19 deletions.
5 changes: 5 additions & 0 deletions packages/elastic_connectors/changelog.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
28 changes: 9 additions & 19 deletions packages/elastic_connectors/manifest.yml
Original file line number Diff line number Diff line change
@@ -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."
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 3f38134

Please sign in to comment.