From d4a9132ef5e174d4ccba15dcb7800d9f5b2e5302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Efe=20G=C3=BCrkan=20YALAMAN?= Date: Wed, 24 Apr 2024 13:29:13 +0200 Subject: [PATCH] [Search] Update connectors license (#181153) ## Summary Updates various connector configurations. - Box, Notion, Slack, Teams, and Zoom are set to run native. - Oracle, Outlook and Gmail are GA now. - GraphQL and OpenText Documentum added as Tech Preview connector clients. - Fixed a few tooltip issues. - Fixed a Teams `service_type` in integrations page. Note, waiting for icons for GraphQL and OpenText Documentum before merging. Screenshots below will have broken images until they are added. "Select Connector" with basic license: Screenshot 2024-04-18 at 15 33 30 Screenshot 2024-04-18 at 15 33 35 Integrations tiles: Screenshot 2024-04-18 at 14 51 28 Screenshot 2024-04-18 at 14 51 34 Native Upgrades: Screenshot 2024-04-18 at 14 50 12 Screenshot 2024-04-18 at 14 50 21 Screenshot 2024-04-18 at 14 50 32 Screenshot 2024-04-18 at 14 50 36 Screenshot 2024-04-18 at 14 50 40 ### Checklist Delete any items that are not applicable to this PR. - [x] 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 --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../types/native_connectors.ts | 610 +++++++++++++++++- .../apis/custom_integration/integrations.ts | 2 +- .../search_connectors/common/connectors.ts | 57 +- .../public/assets/icons/graphql.svg | 4 + .../translations/translations/fr-FR.json | 1 - .../translations/translations/ja-JP.json | 1 - .../translations/translations/zh-CN.json | 1 - 7 files changed, 652 insertions(+), 24 deletions(-) create mode 100644 x-pack/plugins/search_connectors/public/assets/icons/graphql.svg diff --git a/packages/kbn-search-connectors/types/native_connectors.ts b/packages/kbn-search-connectors/types/native_connectors.ts index 6108280478e2a..a044dd717ef4f 100644 --- a/packages/kbn-search-connectors/types/native_connectors.ts +++ b/packages/kbn-search-connectors/types/native_connectors.ts @@ -73,13 +73,12 @@ const ENABLE_DOCUMENT_LEVEL_SECURITY_LABEL = i18n.translate( } ); -const ENABLE_DOCUMENT_LEVEL_SECURITY_TOOLTIP = i18n.translate( - 'searchConnectors.nativeConnectors.enableDLS.tooltip', - { +const getEnableDocumentLevelSecurityTooltip = (serviceName: string) => + i18n.translate('searchConnectors.nativeConnectors.enableDLS.tooltip', { defaultMessage: - 'Document level security ensures identities and permissions set in Google Drive are maintained in Elasticsearch. This enables you to restrict and personalize read-access users and groups have to documents in this index. Access control syncs ensure this metadata is kept up to date in your Elasticsearch documents.', - } -); + 'Document level security ensures identities and permissions set in {serviceName} are maintained in Elasticsearch. This enables you to restrict and personalize read-access users and groups have to documents in this index. Access control syncs ensure this metadata is kept up to date in your Elasticsearch documents.', + values: { serviceName }, + }); const DATABASE_LABEL = i18n.translate('searchConnectors.nativeConnectors.databaseLabel', { defaultMessage: 'Database', @@ -246,6 +245,177 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record c.id === 'sample_data_all')).to.be.above( diff --git a/x-pack/plugins/search_connectors/common/connectors.ts b/x-pack/plugins/search_connectors/common/connectors.ts index 9ffb1ee82254a..dd96c11487279 100644 --- a/x-pack/plugins/search_connectors/common/connectors.ts +++ b/x-pack/plugins/search_connectors/common/connectors.ts @@ -220,6 +220,24 @@ export const CONNECTOR_DEFINITIONS: ConnectorServerSideDefinition[] = [ }), serviceType: 'google_drive', }, + { + categories: ['enterprise_search', 'elastic_stack', 'custom', 'connector', 'connector_client'], + description: i18n.translate( + 'searchConnectorsPlugin.content.nativeConnectors.graphQL.description', + { + defaultMessage: 'Search over your content with GraphQL.', + } + ), + iconPath: 'graphql.svg', + isBeta: false, + isNative: false, + keywords: ['graphql', 'connector'], + name: i18n.translate('searchConnectorsPlugin.content.nativeConnectors.graphQL.name', { + defaultMessage: 'GraphQL', + }), + serviceType: 'graphql', + isTechPreview: true, + }, { categories: [ 'enterprise_search', @@ -317,7 +335,7 @@ export const CONNECTOR_DEFINITIONS: ConnectorServerSideDefinition[] = [ ), iconPath: 'notion.svg', isBeta: true, - isNative: false, + isNative: true, keywords: ['notion', 'connector'], name: i18n.translate('searchConnectorsPlugin.content.nativeConnectors.notion.name', { defaultMessage: 'Notion', @@ -452,7 +470,7 @@ export const CONNECTOR_DEFINITIONS: ConnectorServerSideDefinition[] = [ } ), iconPath: 'gmail.svg', - isBeta: true, + isBeta: false, isNative: true, keywords: ['gmail', 'connector'], name: i18n.translate('searchConnectorsPlugin.content.nativeConnectors.gmail.name', { @@ -460,6 +478,27 @@ export const CONNECTOR_DEFINITIONS: ConnectorServerSideDefinition[] = [ }), serviceType: 'gmail', }, + { + categories: ['enterprise_search', 'elastic_stack', 'connector', 'connector_client'], + description: i18n.translate( + 'searchConnectorsPlugin.content.nativeConnectors.openTextDocumentum.description', + { + defaultMessage: 'Search over your content on OpenText Documentum.', + } + ), + iconPath: 'connector.svg', + isBeta: false, + isNative: false, + isTechPreview: true, + keywords: ['opentext', 'documentum', 'connector'], + name: i18n.translate( + 'searchConnectorsPlugin.content.nativeConnectors.openTextDocumentum.name', + { + defaultMessage: 'OpenText Documentum', + } + ), + serviceType: 'opentext_documentum', + }, { categories: [ 'enterprise_search', @@ -476,7 +515,7 @@ export const CONNECTOR_DEFINITIONS: ConnectorServerSideDefinition[] = [ } ), iconPath: 'oracle.svg', - isBeta: true, + isBeta: false, isNative: true, keywords: ['oracle', 'sql', 'database', 'connector'], name: i18n.translate('searchConnectorsPlugin.content.nativeConnectors.oracle.name', { @@ -538,7 +577,7 @@ export const CONNECTOR_DEFINITIONS: ConnectorServerSideDefinition[] = [ categories: ['enterprise_search', 'elastic_stack', 'connector', 'connector_client'], iconPath: 'slack.svg', isBeta: false, - isNative: false, + isNative: true, isTechPreview: true, keywords: ['slack', 'connector'], name: i18n.translate('searchConnectorsPlugin.content.nativeConnectors.slack.name', { @@ -578,7 +617,7 @@ export const CONNECTOR_DEFINITIONS: ConnectorServerSideDefinition[] = [ }), iconPath: 'box.svg', isBeta: false, - isNative: false, + isNative: true, isTechPreview: true, keywords: ['cloud', 'box'], name: i18n.translate('searchConnectorsPlugin.content.nativeConnectors.box.name', { @@ -602,7 +641,7 @@ export const CONNECTOR_DEFINITIONS: ConnectorServerSideDefinition[] = [ 'outlook', ], iconPath: 'outlook.svg', - isBeta: true, + isBeta: false, isNative: true, keywords: ['outlook', 'connector'], name: i18n.translate('searchConnectorsPlugin.content.nativeConnectors.outlook.name', { @@ -627,13 +666,13 @@ export const CONNECTOR_DEFINITIONS: ConnectorServerSideDefinition[] = [ ), iconPath: 'teams.svg', isBeta: false, - isNative: false, + isNative: true, isTechPreview: true, keywords: ['teams', 'connector'], name: i18n.translate('searchConnectorsPlugin.content.nativeConnectors.teams.name', { defaultMessage: 'Teams', }), - serviceType: 'teams', + serviceType: 'microsoft_teams', }, { categories: [ @@ -652,7 +691,7 @@ export const CONNECTOR_DEFINITIONS: ConnectorServerSideDefinition[] = [ ), iconPath: 'zoom.svg', isBeta: false, - isNative: false, + isNative: true, isTechPreview: true, keywords: ['zoom', 'connector'], name: i18n.translate('searchConnectorsPlugin.content.nativeConnectors.zoom.name', { diff --git a/x-pack/plugins/search_connectors/public/assets/icons/graphql.svg b/x-pack/plugins/search_connectors/public/assets/icons/graphql.svg new file mode 100644 index 0000000000000..99b540ae7b5a9 --- /dev/null +++ b/x-pack/plugins/search_connectors/public/assets/icons/graphql.svg @@ -0,0 +1,4 @@ + + + + diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index d466b6de05150..38d5b7847a626 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -5619,7 +5619,6 @@ "searchConnectors.nativeConnectors.databaseLabel": "Base de données", "searchConnectors.nativeConnectors.dropbox.name": "Dropbox", "searchConnectors.nativeConnectors.enableDLS.label": "Activer la sécurité au niveau du document", - "searchConnectors.nativeConnectors.enableDLS.tooltip": "La sécurité au niveau du document préserve dans Elasticsearch les identités et permissions paramétrées dans Google Drive. Vous pouvez ainsi restreindre et personnaliser l'accès en lecture des utilisateurs et des groupes pour les documents dans cet index. La synchronisation de contrôle d'accès garantit que ces métadonnées sont correctement actualisées dans vos documents Elasticsearch.", "searchConnectors.nativeConnectors.enableSSL.label": "Activer SSL", "searchConnectors.nativeConnectors.gdrive.label": "Compte de service JSON Google Drive", "searchConnectors.nativeConnectors.gdrive.maxHTTPRequest.label": "Requêtes HTTP simultanées maximales", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index a2b7a4293ffc7..7fe6ca3a6fdf5 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -5612,7 +5612,6 @@ "searchConnectors.nativeConnectors.databaseLabel": "データベース", "searchConnectors.nativeConnectors.dropbox.name": "Dropbox", "searchConnectors.nativeConnectors.enableDLS.label": "ドキュメントレベルのセキュリティを有効化", - "searchConnectors.nativeConnectors.enableDLS.tooltip": "ドキュメントレベルのセキュリティにより、Google Driveで設定されたIDと権限がElasticsearchでも維持されます。これにより、このインデックス内のドキュメントに対するユーザーやグループの読み取りアクセスを制限し、パーソナライズすることができます。アクセス制御の同期により、Elasticsearchドキュメント内のメタデータは常に最新の状態に保たれます。", "searchConnectors.nativeConnectors.enableSSL.label": "SSLを有効にする", "searchConnectors.nativeConnectors.gdrive.label": "Google DriveサービスアカウントJSON", "searchConnectors.nativeConnectors.gdrive.maxHTTPRequest.label": "最大同時HTTPリクエスト数", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 80c2ea8e3fe6c..d57e2b983cd87 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -5623,7 +5623,6 @@ "searchConnectors.nativeConnectors.databaseLabel": "数据库", "searchConnectors.nativeConnectors.dropbox.name": "Dropbox", "searchConnectors.nativeConnectors.enableDLS.label": "启用文档级别安全性", - "searchConnectors.nativeConnectors.enableDLS.tooltip": "文档级别安全性确保在 Elasticsearch 中维护在 Google 云端硬盘中设置的身份和权限。这样,您就可以限制用户和组对此索引中的文档具有的读取访问权限并对其进行个性化。访问控制同步将确保此元数据在 Elasticsearch 文档中保持最新。", "searchConnectors.nativeConnectors.enableSSL.label": "启用 SSL", "searchConnectors.nativeConnectors.gdrive.label": "Google 云端硬盘服务帐户 JSON", "searchConnectors.nativeConnectors.gdrive.maxHTTPRequest.label": "最大并发 HTTP 请求数",