From 7d55fe534596a1453dd12eddabe7f2180d6cb0b9 Mon Sep 17 00:00:00 2001 From: Sean Story Date: Fri, 6 Dec 2024 08:41:13 -0600 Subject: [PATCH 1/3] Align native box connector configs --- .../types/native_connectors.ts | 125 ++++++------------ 1 file changed, 42 insertions(+), 83 deletions(-) diff --git a/packages/kbn-search-connectors/types/native_connectors.ts b/packages/kbn-search-connectors/types/native_connectors.ts index c5ef7beab0ba5..b17da7178f92f 100644 --- a/packages/kbn-search-connectors/types/native_connectors.ts +++ b/packages/kbn-search-connectors/types/native_connectors.ts @@ -84,6 +84,8 @@ const ENABLE_DOCUMENT_LEVEL_SECURITY_LABEL = translate( } ); +const; + const getEnableDocumentLevelSecurityTooltip = (serviceName: string) => translate('searchConnectors.nativeConnectors.enableDLS.tooltip', { defaultMessage: @@ -107,6 +109,9 @@ const PERSONAL_ACCESS_TOKEN = 'personal_access_token'; const GITHUB_APP = 'github_app'; +const BOX_FREE = 'box_free'; +const BOX_ENTERPRISE = 'box_enterprise'; + export const NATIVE_CONNECTOR_DEFINITIONS: Record = { azure_blob_storage: { configuration: { @@ -246,31 +251,42 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record Date: Fri, 6 Dec 2024 08:45:25 -0600 Subject: [PATCH 2/3] typo --- packages/kbn-search-connectors/types/native_connectors.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/kbn-search-connectors/types/native_connectors.ts b/packages/kbn-search-connectors/types/native_connectors.ts index b17da7178f92f..96af7ea581e6c 100644 --- a/packages/kbn-search-connectors/types/native_connectors.ts +++ b/packages/kbn-search-connectors/types/native_connectors.ts @@ -84,8 +84,6 @@ const ENABLE_DOCUMENT_LEVEL_SECURITY_LABEL = translate( } ); -const; - const getEnableDocumentLevelSecurityTooltip = (serviceName: string) => translate('searchConnectors.nativeConnectors.enableDLS.tooltip', { defaultMessage: From 295bfcb939447df10d7b2f0f4832e4b02c4bc7f1 Mon Sep 17 00:00:00 2001 From: Sean Story Date: Fri, 6 Dec 2024 15:48:37 -0600 Subject: [PATCH 3/3] remove unused i18n --- .../plugins/private/translations/translations/fr-FR.json | 7 ------- .../plugins/private/translations/translations/ja-JP.json | 7 ------- .../plugins/private/translations/translations/zh-CN.json | 7 ------- 3 files changed, 21 deletions(-) diff --git a/x-pack/platform/plugins/private/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json index 82df2e0b71b51..fc1d5d6cceb2d 100644 --- a/x-pack/platform/plugins/private/translations/translations/fr-FR.json +++ b/x-pack/platform/plugins/private/translations/translations/fr-FR.json @@ -6941,15 +6941,8 @@ "searchConnectors.nativeConnectors.azureBlobStorage.blobEndpointLabel": "Point de terminaison Blob", "searchConnectors.nativeConnectors.azureBlobStorage.containerNameLabel": "Liste des conteneurs", "searchConnectors.nativeConnectors.azureBlobStorage.name": "Stockage Blob Azure", - "searchConnectors.nativeConnectors.box.appKeyLabel": "Clé d’application", - "searchConnectors.nativeConnectors.box.appSecretLabel": "Secret d’application", - "searchConnectors.nativeConnectors.box.includeInheritedUsersLabel": "Inclure les groupes et les utilisateurs hérités", - "searchConnectors.nativeConnectors.box.includeInheritedUsersTooltip": "Incluez les groupes et les utilisateurs hérités lors de l'indexation des autorisations. L'activation de ce champ configurable entraînera une dégradation significative des performances.", "searchConnectors.nativeConnectors.box.name": "Box", - "searchConnectors.nativeConnectors.box.pathLabel": "Chemin permettant de récupérer les fichiers/dossiers", - "searchConnectors.nativeConnectors.box.pathTooltip": "Le chemin est ignoré lorsque des règles de synchronisation avancées sont appliquées.", "searchConnectors.nativeConnectors.box.refreshTokenLabel": "Token d'actualisation", - "searchConnectors.nativeConnectors.boxTooltip.name": "Box", "searchConnectors.nativeConnectors.confluence.indexLabelsLabel": "Activer les étiquettes d'indexation", "searchConnectors.nativeConnectors.confluence.indexLabelsTooltip": "Activer cette option augmentera le nombre d'appels réseau vers la source et peut diminuer les performances", "searchConnectors.nativeConnectors.confluence.name": "Confluence", diff --git a/x-pack/platform/plugins/private/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json index 225937ebae1b4..4a43624c8d7ba 100644 --- a/x-pack/platform/plugins/private/translations/translations/ja-JP.json +++ b/x-pack/platform/plugins/private/translations/translations/ja-JP.json @@ -6820,15 +6820,8 @@ "searchConnectors.nativeConnectors.azureBlobStorage.blobEndpointLabel": "Blobエンドポイント", "searchConnectors.nativeConnectors.azureBlobStorage.containerNameLabel": "コンテナーのリスト", "searchConnectors.nativeConnectors.azureBlobStorage.name": "Azure Blob Storage", - "searchConnectors.nativeConnectors.box.appKeyLabel": "アプリキー", - "searchConnectors.nativeConnectors.box.appSecretLabel": "アプリシークレット", - "searchConnectors.nativeConnectors.box.includeInheritedUsersLabel": "グループと継承されたユーザーを含める", - "searchConnectors.nativeConnectors.box.includeInheritedUsersTooltip": "権限をインデックス化するときに、グループと検証されたユーザーを含めます。この構成可能なフィールドを有効化すると、重大なパフォーマンスの劣化が発生します。", "searchConnectors.nativeConnectors.box.name": "Box", - "searchConnectors.nativeConnectors.box.pathLabel": "ファイル/フォルダーを取得するためのパス", - "searchConnectors.nativeConnectors.box.pathTooltip": "詳細同期ルールが使用されている場合、パスは無視されます。", "searchConnectors.nativeConnectors.box.refreshTokenLabel": "トークンの更新", - "searchConnectors.nativeConnectors.boxTooltip.name": "Box", "searchConnectors.nativeConnectors.confluence.indexLabelsLabel": "ラベルのインデックス化を有効化", "searchConnectors.nativeConnectors.confluence.indexLabelsTooltip": "これを有効化すると、ソースに対するネットワーク呼び出しの回数が増え、パフォーマンスが低下する可能性があります", "searchConnectors.nativeConnectors.confluence.name": "Confluence", diff --git a/x-pack/platform/plugins/private/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json index 1de6205358242..b5fc0cc051940 100644 --- a/x-pack/platform/plugins/private/translations/translations/zh-CN.json +++ b/x-pack/platform/plugins/private/translations/translations/zh-CN.json @@ -6703,15 +6703,8 @@ "searchConnectors.nativeConnectors.azureBlobStorage.blobEndpointLabel": "Blob 终端", "searchConnectors.nativeConnectors.azureBlobStorage.containerNameLabel": "容器列表", "searchConnectors.nativeConnectors.azureBlobStorage.name": "Azure Blob 存储", - "searchConnectors.nativeConnectors.box.appKeyLabel": "应用密钥", - "searchConnectors.nativeConnectors.box.appSecretLabel": "应用机密", - "searchConnectors.nativeConnectors.box.includeInheritedUsersLabel": "包括组和继承的用户", - "searchConnectors.nativeConnectors.box.includeInheritedUsersTooltip": "在索引权限时包括组和继承的用户。启用这个可配置字段会导致性能大幅降级。", "searchConnectors.nativeConnectors.box.name": "Box", - "searchConnectors.nativeConnectors.box.pathLabel": "用于提取文件/文件夹的路径", - "searchConnectors.nativeConnectors.box.pathTooltip": "使用高级同步规则时,将忽略路径。", "searchConnectors.nativeConnectors.box.refreshTokenLabel": "刷新令牌", - "searchConnectors.nativeConnectors.boxTooltip.name": "Box", "searchConnectors.nativeConnectors.confluence.indexLabelsLabel": "启用索引标签", "searchConnectors.nativeConnectors.confluence.indexLabelsTooltip": "启用此项将增加对源的网络调用的数量,并可能会降低性能", "searchConnectors.nativeConnectors.confluence.name": "Confluence",