From ede8b4eabcc972a8eb076ef7c64ff34aeedf8fdf Mon Sep 17 00:00:00 2001 From: Artem Shelkovnikov Date: Fri, 10 Jan 2025 12:51:25 +0100 Subject: [PATCH 1/3] Add new native fields for SPO connector - certificate authenticate (#205337) ## Summary This PR reflects the changes done in https://github.com/elastic/connectors/pull/3064: update of Sharepoint Online native connector configurable fields. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) (cherry picked from commit f612e71452b9f38e84ebe9ee275804624dd6e43e) # Conflicts: # packages/kbn-search-connectors/types/native_connectors.ts --- .../types/native_connectors.ts | 205 +++++++++++++----- 1 file changed, 147 insertions(+), 58 deletions(-) diff --git a/packages/kbn-search-connectors/types/native_connectors.ts b/packages/kbn-search-connectors/types/native_connectors.ts index f9719cb84b801..95ba28fd90e1e 100644 --- a/packages/kbn-search-connectors/types/native_connectors.ts +++ b/packages/kbn-search-connectors/types/native_connectors.ts @@ -4376,6 +4376,45 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record Date: Fri, 10 Jan 2025 14:22:27 +0100 Subject: [PATCH 2/3] Fix variable usage for enums --- .../types/native_connectors.ts | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/kbn-search-connectors/types/native_connectors.ts b/packages/kbn-search-connectors/types/native_connectors.ts index 95ba28fd90e1e..d50baf49a5d2c 100644 --- a/packages/kbn-search-connectors/types/native_connectors.ts +++ b/packages/kbn-search-connectors/types/native_connectors.ts @@ -4379,7 +4379,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record Date: Fri, 10 Jan 2025 15:50:27 +0100 Subject: [PATCH 3/3] Now fix translate --- .../kbn-search-connectors/types/native_connectors.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/kbn-search-connectors/types/native_connectors.ts b/packages/kbn-search-connectors/types/native_connectors.ts index d50baf49a5d2c..0959ca53dd2c7 100644 --- a/packages/kbn-search-connectors/types/native_connectors.ts +++ b/packages/kbn-search-connectors/types/native_connectors.ts @@ -4380,7 +4380,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record